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] Problem with serviceworker.js of WhatsApp Web #21

Closed
odd22 opened this issue Mar 30, 2020 · 5 comments
Closed

[Bug Report] Problem with serviceworker.js of WhatsApp Web #21

odd22 opened this issue Mar 30, 2020 · 5 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@odd22
Copy link

odd22 commented Mar 30, 2020

Describe the bug
After the initial run, Walc always request to upgrade to latest Google Chrome version

WALC Installation Type: AppImage / Snap

Both AppImage and Snap package give the same error after the initial run

To Reproduce
Steps to reproduce the behavior:

  1. Install walc with AppImage or Snap
  2. Run walc and scan the QR code to initialize walc with your What's App account
  3. Close walc
  4. Re-launch walc and you get the web page requesting to upgrade to latest Google Chrome instead of starting the What'sApp page

Expected behavior
Start What's App web page

Did you try closing and then opening it back?: Yes / No
Yes. Once you felt into the Google Chrome upgrade, you never get back the What's App web page

Screenshots
If applicable, add screenshots to help explain your problem.
image

System Information (please complete the following information):

  • OS/Distro: Ubuntu 18.04 LTS
  • Browsers Installed on your system: Firefox, Chromium, Google-Chrome, all up to date through apt update / apt upgrade
  • Node Version(node --version): v8.10.0
  • NPM version (npm --version): not install
@odd22 odd22 added the bug Something isn't working label Mar 30, 2020
@cstayyab cstayyab changed the title [Bug Report] [Bug Report] Problem with serviceworker.js of WhatsApp Web Mar 31, 2020
@cstayyab
Copy link
Collaborator

Hey @odd22 Thanks for reporting this. Actually the problem is very rare and is not due to a problem in WALC. Usually this problem is solved by clearing the cache inside WALC.

Please follow the following steps to see if it solves the issue:

  1. Open WALC and select "Debug" Tools from "Window" Menu
  2. Select "Application" Tab from "Debug Tools" Window
  3. From the sidebar that appears in "Debug Tools" Select "Clear Storage"
  4. Check All the check boxes from the main window of "Debug Tools" and Click on "Clear site data"
  5. Restart WALC

@cstayyab
Copy link
Collaborator

I still can't exactly figure out what causes this issue because it occurs very rarely so if anyone can help, it would be great.

@cstayyab cstayyab added the help wanted Extra attention is needed label Mar 31, 2020
@odd22
Copy link
Author

odd22 commented Mar 31, 2020

@cstayyab Thanks for you help. It is a safer way to operate that mine (remove the snap/walc directory in my home folder).
Regarding how to reproduce the problem, I've the feeling that this take after the application is disconnected for a certain period of time. Closing walc and re-open it within a minute works. The problem occurs if I close walc for a long period of time e.g. closing it the evening and re-open it the morning. There is perhaps a timeout regarding the QR-Code you scan, because, when it failed, I need to re-scan a new QR-code (i.e. re-initialize walc).

I'll close walc this evening and try you solution tomorrow morning and let you know what's happen.

@odd22
Copy link
Author

odd22 commented Apr 7, 2020

@cstayyab Finally, since one week, I never failed into the mention bug. Last time it occurs, I follow your recommendation, clear the cache and re-scan a new QR code. Now, walc is stable and reconnect fine each time I disconnect, stop or wake-up my computer after being in sleep mode.

I think you could close this bug.

@cstayyab cstayyab closed this as completed Apr 8, 2020
cstayyab added a commit that referenced this issue Apr 27, 2020
This might prevent Issue #21 from happening
@RDKclick
Copy link

Is there a solution to this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants