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

Wsgate not responding

Open umeshbhatt25 opened this issue 11 years ago • 17 comments

Hi,

I have installed wsgate on Ubuntu 14.04 and initially found it working fine. I am noticing that after some time it is not responding. If I restart wsgate service, it starts working again. Any input will really help on this. Let me know if you need any specific log on this.

Regards, Umesh

umeshbhatt25 avatar Oct 11 '14 09:10 umeshbhatt25

Hi ! Did you compiled it by yourself or did you used a package ?

gslongo avatar Nov 19 '14 13:11 gslongo

Hi,

I compiled it by myself on Ubuntu. What I noticed is if we keep making web server request then after sometime webserver hangs and stops responding.

Regards, Umesh

On Wed, Nov 19, 2014 at 7:21 PM, gslongo [email protected] wrote:

Hi ! Did you compiled it by yourself or did you used a package ?

— Reply to this email directly or view it on GitHub https://github.com/FreeRDP/FreeRDP-WebConnect/issues/80#issuecomment-63641924 .

umeshbhatt25 avatar Nov 20 '14 04:11 umeshbhatt25

I have written a script to check web service status every 10 mins and if service is hang, I shall restart the service. Doing this will solve hang problem to some extent but I have a question on the open RDP connections to the VMs, what will happen to them? Will open connections terminate (to VMs) or they will remain working? I am yet to try it but if someone can confirm on this it will be great help.

Regards, Umesh

umeshbhatt25 avatar Nov 24 '14 16:11 umeshbhatt25

As I thought on wsgate service restart all opened connections are also closed.

Regards, Umesh

umeshbhatt25 avatar Nov 25 '14 05:11 umeshbhatt25

Hi !

Yes I have same issue with the packaged version (linux).

How was you able to compile the sources from trunk ? Do you have a procedure ? After a lot of work, it finally compiled but was not working for me (Ubuntu, also) :-(

I don't know why but CloudBase do not seem to want to support the community about this software. I posted some issues / questions and never got any answer .. I think I will try something else, such as Guacamole : http://guac-dev.org/

Regards,

gslongo avatar Nov 25 '14 07:11 gslongo

Yes I also struggled to compile it on Ubuntu, but finally was able to compile it. It is working fine but service hangs intermittently, I had to write a shell script to check the status and restart it if required.

If you want I can share my binaries with you.

Regards, Umesh

On Tue, Nov 25, 2014 at 1:23 PM, gslongo [email protected] wrote:

Hi !

Yes I have same issue with the packaged version (linux).

How was you able to compile the sources from trunk ? Do you have a procedure ? After a lot of work, it finally compiled but was not working for me (Ubuntu, also) :-(

I don't know why but CloudBase do not seem to want to support the community about this software. I posted some issues / questions and never got any answer .. I think I will try something else, such as Guacamole : http://guac-dev.org/

Regards,

— Reply to this email directly or view it on GitHub https://github.com/FreeRDP/FreeRDP-WebConnect/issues/80#issuecomment-64321864 .

umeshbhatt25 avatar Nov 26 '14 12:11 umeshbhatt25

@umeshbhatt25 how did you manage to compile and build the wsgate? I am not able to that itself.

ganeshsatpute avatar Aug 10 '15 12:08 ganeshsatpute

@ganeshsatpute Are you compiling on Linux or on Windows?

c64cosmin avatar Aug 10 '15 15:08 c64cosmin

@c64cosmin I'm trying to compile on Linux. Ubuntu 14.04 to be specific. Following is the error.

Include dir:
OPENSSL INCLUDE DIR: /usr/include
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find PNG, try to set the path to PNG root folder in the system
  variable PNG_ROOT_DIR (missing: PNG_LIBRARIES PNG_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindMyPNG.cmake:84 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:342 (find_package)


-- Configuring incomplete, errors occurred!

ganeshsatpute avatar Aug 10 '15 15:08 ganeshsatpute

@ganeshsatpute Just run the two .sh.

First : install_prereqs.sh This will install required dependencies

Second : setup-all.sh This will build wsgate and other dependencies.

Keep me posted if there is any problem. The above scripts were tested on Ubuntu 14.04 and they work properly.

c64cosmin avatar Aug 10 '15 15:08 c64cosmin

Thanks @c64cosmin for reply.

I got problem running install_prereqs.h itself

install_prereqs.sh: 6: install_prereqs.sh: [[: not found
install_prereqs.sh: 14: install_prereqs.sh: [[: not found
Distro not found! You shall need git, svn-devel, autotools, gcc, g++, boost, openssl-devel and libpng-devel to successfully build this package.
For tracing to work, libdwarf is also required.

I tried to install those manually. Few are already installed, rest are Unable to locate package

ganeshsatpute avatar Aug 10 '15 16:08 ganeshsatpute

@ganeshsatpute Try to run the scripts with sudo. The setup script might need the -f param Please do a "lsb-release -a" and post me what you get

c64cosmin avatar Aug 10 '15 16:08 c64cosmin

@c64cosmin I'm running those scripts with sudo Tried with -f; didn't work Ouput of lsb-release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:        14.04
Codename:       trusty

ganeshsatpute avatar Aug 10 '15 16:08 ganeshsatpute

@ganeshsatpute Have you did?

sudo install_prereqs.sh
sudo setup-all.sh -f

c64cosmin avatar Aug 10 '15 16:08 c64cosmin

@c64cosmin Problem was execution permission on files after trying

chmod +x install_prereqs.sh
sudo ./install_prereqs.sh
chmod +x setup-all.sh
sudo ./setup-all.sh -f

setup-all.sh result in

---- Building webconnect ----
make: *** No targets specified and no makefile found.  Stop.
Unable to build FreeRDP-WebConnect. Exiting...

Can I consider this as success? If yes, what are next steps? (to run and check if everything is fine) (Sorry if I'm being to naive)

ganeshsatpute avatar Aug 11 '15 05:08 ganeshsatpute

Any luck with running FreeRDP Webconnect service on Windows or Ubuntu platform. I am trying to build it from scratch.

Can someone please provide detailed steps to get it working? for me both install_prereqs.sh && setup-all.sh -f shell scripts not working with sudo privilege.

RohanMohite avatar Nov 30 '17 10:11 RohanMohite

@RohanMohite For Windows you use the built .msi DOWNLOAD HERE

For Linux, can you create a new issue? Adding information like the script's output, that would help me troubleshoot.

c64cosmin avatar Nov 30 '17 22:11 c64cosmin