rowyio/rowy

Bug: Offline error

harinij opened this issue ยท 16 comments

Describe the bug
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.

This is a bug we have not been able to actively reproduce but have a bunch of users facing and complaining about here.

Previously this issue was seen here and resolved. However, this need further investigation to resolve the issue completely.

Expected behavior
Check the logic where "You're offline" comes into play and debug if there is any scenario where it is falsely triggered. Remove this logic from places where it is not required. This error should not come in when the user is online and the state should not be stuck there.

Screenshots
image

Additional context
Feel free to discuss any technical details with the team on discord if you want to chat for further clarity as this is an ambitious bug.

/bounty $60

๐Ÿ’Ž $60 bounty created by harinij
๐Ÿ™‹ If you start working on this, comment /attempt #1347 to notify everyone
๐Ÿ‘‰ To claim this bounty, submit a pull request that includes the text /claim #1347 somewhere in its body
๐Ÿ“ Before proceeding, please make sure you can receive payouts in your country
๐Ÿ’ต Payment arrives in your account 2-5 days after the bounty is rewarded
๐Ÿ’ฏ You keep 100% of the bounty award
๐Ÿ™ Thank you for contributing to rowyio/rowy!

Attempt Started (GMT+0) Solution
๐Ÿ”ด @hrutik7 Jul 19, 2023, 3:45:45 AM WIP
๐ŸŸข @vats147 Jul 21, 2023, 5:56:32 PM WIP
๐ŸŸข @Grenish Aug 28, 2023, 6:26:09 PM #1393

/attempt #1347

@harinij
Can we make 5 second timer whenever user again come to online then we automatically reload page after 5 second?
It will decrease with time.
image

/attempt #1347

Note: The user @hrutik7 is already attempting to complete issue #1347 and claim the bounty. If you attempt to complete the same issue, there is a chance that @hrutik7 will complete the issue first, and be awarded the bounty. We recommend discussing with @hrutik7 and potentially collaborating on the same solution versus creating an alternate solution.

can I work on this?

Just for the context
The first priority here is reproduce this bug in local dev .
anyone who want to contribute on this specific issue you can follow the support channel discussion that will be really helpful :)

@feliciien I've added some additional details in the comments on the pull request here #1352

@harinij @BeeBombshell Let me attempt this one if not resolved yet!

@harinij @BeeBombshell Please update me on this so I'll proceed

Hi @ashutosh887 we have an open PR here #1352 however since we have not be able to replicate this fully in local env and the issue seems to happen to only a small set of users we are still having this issue open as there is no complete solution yet.

@vats147 and @dylanrod21 thanks for investigating this and your contribution, we are currently reviewing the PR and will post comments on it soon.

Hey @harinij , I guess #1285 actually solves this issue. Maybe it still occurs because of the way the project is branched. As the branches 'develop' or 'rc' are way ahead of main branch. Like I cloned the main branch, I was able to reproduce the error, then I checked with 'develop' branch, then no such error was there.

I guess #1285 actually solves this issue.

@Anurag00321 The offline error is shown when the user is offline or the user can't connect with rowy's server. The PR that you have mentioned fixes the first problem but still a few offline errors remain due to the second reason.

This issue had been resolved via a backend update on the endpoint URL. Closing this as it out of scope now.