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

Solve Offline Error #1352

Closed
wants to merge 2 commits into from
Closed

Conversation

vats147
Copy link

@vats147 vats147 commented Jul 24, 2023

Solve #1347
/claim #1347
We are seeing occasional cases where user gets "You're offline" error and after that, they get stuck in that state, even though they are online and have internet connectivity.
image

So if user come online then i add 5 second timer after that page will automatically reload.
image

@algora-pbc algora-pbc bot mentioned this pull request Jul 24, 2023
@vercel
Copy link

vercel bot commented Jul 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
rowy-typedoc ⬜️ Ignored (Inspect) Jul 25, 2023 4:25am

@vercel
Copy link

vercel bot commented Jul 24, 2023

@vats147 is attempting to deploy a commit to the Rowy Team on Vercel.

A member of the Team first needs to authorize it.

@dylanrod21
Copy link

@vats147 Were you able to reproduce this bug at all locally, based on the testing I had done when looking into this issue I'm not sure that this change would resolve the error. I currently in production have not been able to use the service at all, any account I try to sign up with is bringing me right to the 'You're Offline' message with the following errors in the console. In my local build of the app I have no issues using the service. I'm curious to see if anyone has been able to locally reproduce the issue I'm seeing in prod to better diagnose what may be the root cause of the bug.
image

@dylanrod21
Copy link

Just adding for more context on the issue for anyone else trying to resolve. On mobile for the prod site I am also unable to use the service but I do not get a 'You're offline' error. I get the one below and am still unable to use the service.

ROWY TRACING ID: ROWYERR-C880-0B57-030E-925A51052287

image

@vats147
Copy link
Author

vats147 commented Jul 25, 2023

@dylanrod21 Now the issue has been solve kindly check it

@dylanrod21
Copy link

dylanrod21 commented Jul 25, 2023

@vats147 Since I'm unable to reproduce this issue locally I have no good way to test these changes, I only experience this error on the production site. I still don't think this change will resolve the issue I face, the root issue that needs to resolved is the error that sent us into the ErrorFallback. If someone wants to push this change to the main branch I can do some tests in production to see if this has any effect on my end but I'm fairly certain it will not resolve the issue. I'm happy to discuss further if you want, if possibly I am misunderstanding your changes.

@vats147
Copy link
Author

vats147 commented Jul 26, 2023

@dylanrod21 Can you share Screenshot where is error occur ?

@dylanrod21
Copy link

@vats147 Here's a video, I'm off to bed now, let me know if this helps.
Rowy Offline Error_ Jul 26,2023 00_40 AM.webm

@hrutik7
Copy link

hrutik7 commented Aug 3, 2023

hey @vats147 @dylanrod21
any luck to reproduce this bug on local ?

@vats147
Copy link
Author

vats147 commented Aug 3, 2023

@hrutik7 No i don't find any lead untill now

@g1mishra
Copy link

g1mishra commented Aug 8, 2023

> webm

The video clearly shows a problem with the auth/token API, which is causing the issue we're facing.
The ErrorBoundary's Fallback Component is responsible for displaying the "You’re offline" message, determined by whether error.message.includes("Failed to fetch") evaluates to true.

However, it's important to understand that "Failed to fetch" doesn't always mean you're offline; there could be other reasons.

To fix this problem, we need to check the logs to get more information. Unfortunately, we can't reproduce the error locally because it's happening on the API side.

@il3ven
Copy link
Contributor

il3ven commented Aug 21, 2023

This PR doesn't solve the offline issue. The issue is not on the frontend side. The users affected with the offline screen error are seeing it because the API call to Rowy's server fails with ERR_SSL_PROTOCOL_ERROR. The SSL error has been pointed at #1352 (comment) and also over at Rowy's discord. Rowy will be looking at the issue from their backend and infra.

Closing this PR. Thank you everyone.

@il3ven il3ven closed this Aug 21, 2023
@il3ven il3ven mentioned this pull request Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants