Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: Images for Different Regions Not Displaying During Project Creation #1387

Open
2 tasks done
gurjeetsinghvirdee opened this issue Oct 2, 2024 · 6 comments
Labels
bug Something isn't working question Further information is requested

Comments

@gurjeetsinghvirdee
Copy link

gurjeetsinghvirdee commented Oct 2, 2024

👟 Reproduction steps

  • Go to the console
  • Create a new project
  • Enter the project name
  • Choose a region: The image associated with the selected region does not display properly.

👍 Expected behavior

The images associated with different regions should display correctly on the project creation page.

👎 Actual Behavior

  • The images for the selected regions do not display on the project creation page, even though they appear in the Inspect Element

Screenshot 2024-10-02 152653

  • Attempt to access the following image URL:
https://cloud.appwrite.io/v1/avatars/flags/de?width=80&height=60&quality=100&mode=admin664c96be001819f493da&width=80&height=60&quality=100&project=664c96be001819f493da
  • The error message returned:
{
  "message": "Project with the requested ID could not be found. Please check the value of the X-Appwrite-Project header to ensure the correct project ID is being used.",
  "code": 404,
  "type": "project_not_found",
  "version": "1.6.0"
}

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Windows

🧱 Your Environment

Appwrite version: 1.6.0
Browser: Brave Browser v1.70.119

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@gurjeetsinghvirdee gurjeetsinghvirdee added the bug Something isn't working label Oct 2, 2024
@docimin
Copy link

docimin commented Oct 10, 2024

Hey, they seem to work fine for me. Any adblockers or such?
Image

@gurjeetsinghvirdee
Copy link
Author

Hey, they seem to work fine for me. Any adblockers or such?

I don't have any ad blockers, but I use the Brave browser, which has its own built-in blockers. I also cleared my cache yesterday, so I don't think anything else is blocking it

@docimin
Copy link

docimin commented Oct 10, 2024

Could you try using a different browser and see if that works? Or disable the built-in blockers?

@gurjeetsinghvirdee
Copy link
Author

Could you try using a different browser and see if that works? Or disable the built-in blockers?

I've found that there's an issue with Brave Shield, though it doesn’t always occur. When accessing the console multiple times, the bug appears 1-2 times out of 10. I might need to disable Brave Shield for the Appwrite console.

@DH-555
Copy link
Member

DH-555 commented Dec 12, 2024

@gurjeetsinghvirdee Is this still happening?
Can you check next time the browser network logs and check if the images are being blocked and the reason if possible?

@DH-555 DH-555 added the question Further information is requested label Dec 12, 2024
@gurjeetsinghvirdee
Copy link
Author

gurjeetsinghvirdee commented Dec 17, 2024

@gurjeetsinghvirdee Is this still happening? Can you check next time the browser network logs and check if the images are being blocked and the reason if possible?

Image

General

Request URL:
https://cloud.appwrite.io/v1/avatars/flags/de?width=80&height=60&quality=100&mode=admin6761c6c100211ada6554
&width=80&height=60&quality=100&project=6761c6c100211ada6554
Request Method:
GET
Status Code:
404 Not Found (from service worker)
Referrer Policy:
strict-origin-when-cross-origin

Response-Headers

access-control-allow-credentials:
true
access-control-allow-headers:
Origin, Cookie, Set-Cookie, X-Requested-With, Content-Type, Access-Control-Allow-Origin, 
Access-Control-Request-Headers, Accept, X-Appwrite-Project, X-Appwrite-Key, X-Appwrite-Locale, 
X-Appwrite-Mode, X-Appwrite-JWT, X-Appwrite-Response-Format, X-Appwrite-Timeout, X-SDK-Version, 
X-SDK-Name, X-SDK-Language, X-SDK-Platform, X-SDK-GraphQL, X-Appwrite-ID, 
X-Appwrite-Timestamp, Content-Range, Range, Cache-Control, Expires, Pragma, 
X-Forwarded-For, X-Forwarded-User-Agent
access-control-allow-methods:
GET, POST, PUT, PATCH, DELETE
access-control-allow-origin:
https://cloud.appwrite.io
access-control-expose-headers:
X-Appwrite-Session, X-Fallback-Cookies
cache-control:
no-cache, no-store, must-revalidate
cf-cache-status:
DYNAMIC
cf-ray:
8f39127c7c167e6d-MAA
content-encoding:
br
content-type:
application/json; charset=UTF-8
date:
Tue, 17 Dec 2024 18:45:47 GMT
expires:
0
pragma:
no-cache
server:
cloudflare
strict-transport-security:
max-age=10886400
x-content-type-options:
nosniff
x-debug-fallback:
true
x-debug-speed:
0.0076680183410645

Preview/Response

{
    "message": "Project with the requested ID could not be found. Please check the value of the X-Appwrite-Project header to ensure the correct project ID is being used.",
    "code": 404,
    "type": "project_not_found",
    "version": "1.6.1"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants