#1 2019-12-31 08:54:34

berocoder
Member
From: Nedervetil, Finland
Registered: 2017-01-13
Posts: 19

Invalid HTTP Upgrade Header

Our team uses Mormot in production now and it works well as the network is fast and reliable.

The problem is when developers work from home over a slower VPN connection.

So the setup is this:

Database and a WindowsService is located on the company network.
Developer runs a client.exe from home and uses a VPN connection to get access to service.

I didn't see how I could attach logfiles with VERBOSE mode here so I upload files on Google drive instead and post links.

Windows service
Client

In this case, the client first failed to connect with error "Invalid HTTP Upgrade Header" but later recover and do a normal connection.
This seems to be random. Sometimes success on the first try but sometimes I have to try several times until I got a connection.
My conclusion is that the slow speed of the network seems to trigger this problem.

Note that this is a multiuser environment so there could be other clients trying to connect to the service.
But to get a cleaner log-file for service I restarted it just for this case.

Please tell me if I can assist further to find the reason for this problem!

Regards
Roland Bengtsson

Last edited by berocoder (2019-12-31 09:02:27)

Offline

#2 2019-12-31 10:24:37

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,666
Website

Re: Invalid HTTP Upgrade Header

In the server logs, we can't see the connection from the client.
Perhaps some network instability, or some anti-virus messing with the network.

First idea could be to upgrade your version of mORMot - you are 300 commits older than current revision.

Offline

Board footer

Powered by FluxBB