Skip to content

Unexpected timeout exception #143

Open
@bruce-ricard

Description

@bruce-ricard

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions