FreeRDP-WebConnect icon indicating copy to clipboard operation
FreeRDP-WebConnect copied to clipboard

Service Freezes

Open MostafaElbaz opened this issue 11 years ago • 5 comments

Hello Mr. @alexpilotti ,

I'm using the FreeRDP HTML5 proxy on Windows downloaded from here http://www.cloudbase.it/freerdp-html5-proxy-windows/

and after a little usage it freeze and I cannot open the website again and I cannot stop the service manually too. it just Freezes service

I've to restart the server to use it again!!

Please I need a help ASAP

MostafaElbaz avatar Jul 12 '14 01:07 MostafaElbaz

Hello !!! Can anybody answer this Question!!?

MostafaElbaz avatar Jul 18 '14 20:07 MostafaElbaz

Hi,

I am also seeing similar issue in wsgate for Ubuntu 14.04. wsgate service doesn't respond after some time.

Regards, Umesh

umeshbhatt25 avatar Oct 13 '14 16:10 umeshbhatt25

We're doing a rewrite of the server side service, unfortunately the current wsgate does not scale very well due to issues with the underlying EHS project to begin with.

alexpilotti avatar Oct 13 '14 16:10 alexpilotti

I am running only one VM remote console and not multiple so don't feel it is scalability issue. Strangely it is giving this issue after few hours. Can you suggest the possible work around for this issue? It is already deployed in our environment and every time restarting service is not a workable solution.

umeshbhatt25 avatar Oct 14 '14 16:10 umeshbhatt25

Based on my experience and the issues reported by the wsgate users in the past year, the server unstable issue is caused by EHS (embeded HTTP server) server.

(1) If we look at the source code of wsgate_main.cpp, we can find that WsGate leverages EHS server instead of Apache or Nginx by inheritance of EHS class. // subclass of EHS that defines a custom HTTP response. class WsGate : public EHS

(2) Let us look at EHS server again. http://ehs.fritz-elfert.de/ 04/10/2005 - New version coming today. It's been a while.. 05/20/2010 - I (Fritz Elfert) found EHS at Zac's site and decided to adapt it to my needs. I realized, that since 2005 the project has be on hold.

Fritz Elfert made the last commit on Webconnect-FreeRDP (wsgate) in October 2012. https://github.com/FreeRDP/FreeRDP-WebConnect/graphs/contributors

Probably Fritz Elfert has recognized that the wsgate server unstable issue is caused by EHS(embeded HTTP server) server, he continue to work on EHS.

Fritz Elfert made the last commit on EHS server in April 2013. ehs-1.5.0.164.tar.gz 2013-04-11 http://sourceforge.net/projects/ehs/files/CI/

Unfortunately EHS server still can NOT support a stable Webconnect-FreeRDP (wsgate) server. This means that Webconnect-FreeRDP (wsgate) service may freeze arbitrarily.

Restarting service is a simple solution available now.

Another two potential solutions require time-consuming process.

(1) Replace EHS with Apache. This requires a fundamental modification of wsgate.

(2) Activate the obsolete EHS project. This requires a community support.

Note that this issue is a duplicate of ISSUE #80

winstonhong avatar Oct 14 '14 18:10 winstonhong