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] Connection closed. WebSocketError: I/O failure #244

Open
amitnovick opened this issue Sep 22, 2023 · 0 comments
Open

[BUG] Connection closed. WebSocketError: I/O failure #244

amitnovick opened this issue Sep 22, 2023 · 0 comments

Comments

@amitnovick
Copy link

Computer (laptop):

  • Linux Mint 21
  • Weylus 0.11.4 (latest)
  • default settings

Tablet (iPad):

  • iPadOS 16.7 (also tested on 16.6)
  • Safari web browser

Steps to Reproduce:

  • Open the Weylus program on the computer and press Start
  • Open the appropriate URL on the iPad
    // at this point the functionaltity is working as expected
  • Put the iPad on sleep mode (pressing the Power buton, or enter sleep by covering it with a tablet cover)
  • Exit the iPad from sleep mode (pressing the Power button, or exit sleep state by uncovering it with the tablet cover)
    // at this point the canvas on the website is white and frozen
  • Click anywhere on the page
    // at this point a dialog appears "Connection closed. Reload page?"
    // at this point, the Weylus log text area on the computer has a warning message: "WARN Error reading message from websocket, closing (WebSocketError: I/O failure)"

Expected outcome:

  • Exiting sleep mode should not freeze the app on the website

Possible Solution:

  • Implement reconnection to the WebSocket when coming back to the app from sleep mode
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

No branches or pull requests

1 participant