ocsigenserver icon indicating copy to clipboard operation
ocsigenserver copied to clipboard

Unexpected timeout exception

Open bruce-ricard opened this issue 6 years ago • 2 comments

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.

bruce-ricard avatar Mar 07 '18 04:03 bruce-ricard

We known about this issue. It is completely harmless, so we have not yet taken the time to investigate.

vouillon avatar May 28 '18 13:05 vouillon

And thanks for the bug report!

vouillon avatar May 28 '18 13:05 vouillon