FreeRDP / FreeRDP-WebConnect

A gateway for seamless access to your RDP-Sessions in any HTML5-compliant browser
519 stars 1.62k forks source link

Wsgate not responding #80

Open umeshbhatt25 opened 10 years ago

umeshbhatt25 commented 10 years ago

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

gslongo commented 10 years ago

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

umeshbhatt25 commented 10 years ago

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 notifications@github.com 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 commented 9 years ago

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 commented 9 years ago

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

Regards, Umesh

gslongo commented 9 years ago

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,

umeshbhatt25 commented 9 years ago

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 notifications@github.com 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 .

ganeshsatpute commented 9 years ago

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

c64cosmin commented 9 years ago

@ganeshsatpute Are you compiling on Linux or on Windows?

ganeshsatpute commented 9 years ago

@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!
c64cosmin commented 9 years ago

@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.

ganeshsatpute commented 9 years ago

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

c64cosmin commented 9 years ago

@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

ganeshsatpute commented 9 years ago

@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
c64cosmin commented 9 years ago

@ganeshsatpute Have you did?

sudo install_prereqs.sh
sudo setup-all.sh -f
ganeshsatpute commented 9 years ago

@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)

RohanMohite commented 6 years ago

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.

c64cosmin commented 6 years ago

@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.