-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[CAL-252] Avatar icon not loading properly #5213
Comments
@Udit-takkar Also the avatar is not getting updated from the profile section, I tried it with two accounts. Can you check it on your end? |
Yeah there seem to be some problems with the Avatar updating also. I'll be looking into this. Why is this happening. |
Yeah there seem to be some problems with the Avatar updating also. I'll be looking into it |
@Udit-takkar would you be picking that as well? |
@harshsinghatz yes. the avatar seem to block updating profile. |
Is it fixed? because rn it works fine on prod |
@harshsinghatz no try creating new account and the avatar won't load or try updating the image in /settings. |
Ok let me check |
@Udit-takkar Yeah, i did see and it's working unexpectedly
Can you check the diff between the current main branch and the prod, because this seems like a new issue |
|
Can you compare the main branch with the production? |
@harshsinghatz Wrt your point-1. This seems like a cloudflare caching issue with Wrt Point-2, the issue seems to be happening due to middleware. Deleting the middleware.ts file solves the issue and trpc mutation endpoint responds immediately. |
@hariombalhara It seems both the domains have caching issues because earlier I saw problems with both the domains Can you point out exactly what issue is middleware causing, is it like an infinite loop of redirects? |
Middleware is simply not forwarding the request to next.js endpoint. It seems to be doing some processing of own and it's stuck there. |
Okay, so it's a known Next.js bug. People are reporting it. |
That makes sense because after encryption the avatar data is around 225KB. But this issue wasn't present before, so an RCA would be needed for this (as this issue is only on main) |
@hariombalhara i am not sure if size is the issue here because i tried uploading avatar on prod and it worked fine and it returned a success response but when i tried uploading the same image on dev , the request did not return any response. |
discussion on similar topic here #5164 |
Customers keep reporting this one today @udit |
yeah no idea what's the issue here. |
@leog @alannnc @hariombalhara can you look and help? |
Opened a PR to fix it. Found the root cause for the issue. |
@milospuac can you ask them to try again? |
The text was updated successfully, but these errors were encountered: