jcrodriguez-dis / vpl-jail-system

Execution/jail server for VPL
GNU General Public License v3.0
21 stars 21 forks source link

BUG port missing #34

Open alphonse92 opened 4 years ago

alphonse92 commented 4 years ago

The latest version does not set the jail por to the jail url monitor:

Screen Shot 2019-11-19 at 12 23 04 PM Screen Shot 2019-11-19 at 12 24 32 PM
alphonse92 commented 4 years ago

i tried with another port, but i cant connect to it via WS to the monitor. But the same

jcrodriguez-dis commented 4 years ago

I have not been able to reproduce the problem. One question: have you set the PORT and SECURE_PORT parameters to the correct values that must match the one used from the browser?

alphonse92 commented 4 years ago

Of course. I tested it using the browse ip:host/OK

alphonse92 commented 4 years ago

I have been using moodle 3.4 and the last version of VPL.

jcrodriguez-dis commented 4 years ago

I tried to reproduce the issue using VPL 3.3.5 and get not succeed. I think that the version of Moodle does not influence the problem. The problem may be related to a network configuration not compatible with VPL, are you using a proxy or NAT with port forwarding to reach the jail server?

alphonse92 commented 4 years ago

Not really, the jail is in another machine, to avoid the complexity to configure DNS and networking stuff like i described here: https://github.com/jcrodriguez-dis/vpl-xmlrpc-jail/issues/33

That jail is public

alphonse92 commented 4 years ago

I "resolved" just confinguring the JAIL to listen at 80 instead of a custom port. But the bug remains. I tested on local kubernetes and google kubernetes engine

jcrodriguez-dis commented 4 years ago

Then, please, let me know how to replicate your installation to reproduce the problem.