Skip to content

Freeze after wifi drop #253

@Navarro11

Description

@Navarro11

Hello,

at first I have to say this project is really awesome and I love it!

Unfortunatelly I have one problem. If I open web page on mobile phone and then disable wifi on phone, server hangs and is impossible to open web page from another device.

remi.server INFO Started httpserver http://127.0.0.1:8081/
remi.request INFO Authenticating
192.168.0.59 - - [02/Dec/2018 22:35:59] "GET / HTTP/1.1" 401 -
remi.request INFO built UI (path=/)
remi.request DEBUG get: /
192.168.0.59 - - [02/Dec/2018 22:35:59] "GET / HTTP/1.1" 200 -
remi.server.ws INFO connection established: ('192.168.0.59', 52236)
remi.server.ws DEBUG handle
remi.server.ws DEBUG handshake
remi.server.ws INFO handshake complete
remi.server.ws DEBUG send_message: 0306000353... -> ('192.168.0.59', 52236)
remi.server.ws DEBUG send_message: 3... -> ('192.168.0.59', 52236)
remi.server.ws DEBUG on_message: connected
remi.server.ws DEBUG send_message: 3... -> ('192.168.0.59', 52236)
remi.server.ws DEBUG on_message: callback
remi.request DEBUG App.onload event occurred
remi.server.ws DEBUG send_message: 3... -> ('192.168.0.59', 52236)
remi.server.ws DEBUG on_message: callback
remi.request DEBUG App.onpageshow event occurred
remi.server.ws DEBUG send_message: 1306009182... -> ('192.168.0.59', 52236)
remi.request DEBUG get: /favicon.ico
remi.request DEBUG get: /favicon.ico
remi.server.ws DEBUG send_message: 1306009182... -> ('192.168.0.59', 52236)
remi.server.ws DEBUG send_message: 1306009182... -> ('192.168.0.59', 52236)
remi.server.ws DEBUG send_message: 1306009182... -> ('192.168.0.59', 52236)
remi.server.ws DEBUG send_message: 1306009182... -> ('192.168.0.59', 52236)

Somewhere here I disable wifi on phone.

remi.server.ws DEBUG send_message: 1306009182... -> ('192.168.0.59', 52236)
remi.server.ws DEBUG send_message: 1306009182... -> ('192.168.0.59', 52236)
remi.server.ws DEBUG send_message: 1306009182... -> ('192.168.0.59', 52236)
remi.server.ws DEBUG send_message: 1306009182... -> ('192.168.0.59', 52236)

At this point it hangs forever. Sometimes if I reenable wifi on phone, this line shows up and then server acts normally.

remi.server.ws DEBUG ws ending websocket service

What can be wrong?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions