ocsigenserver
ocsigenserver copied to clipboard
Unexpected timeout exception
I was playing with my Eliom server in the train today (with a bad phone based internet), and as I was querying it, I got those logs on the server side:
ocsigenserver: ocsigen:main: While talking to [some ip]:timeout ocsigenserver: main: Unexpected exception in Server.wait_connection (handle connection): (Invalid_argument Lwt.wakeup_result)
ocsigenserver: main: backtrace: ocsigenserver: main: Raised at file "pervasives.ml", line 31, characters 25-45
ocsigenserver: main: Called from file "ocsigen_http_com.ml", line 158, characters 2-33 ocsigenserver: main: Called from file "ocsigen_server.ml", line 835, characters 4-35
ocsigenserver: main: Called from file "src/core/lwt.ml", line 715, characters 66-71
It doesn't seem that there's anything wrong other than that, but the error message suggests that an exception should probably be caught somewhere. It must be quite challenging to reproduce it, you might have to shut down your client side connection at the right moment.
Using ocsigenserver version 2.7.
We known about this issue. It is completely harmless, so we have not yet taken the time to investigate.
And thanks for the bug report!