Debugger to remote linux server

0
I have run enable_debugger on my server and created a password. When I try to connect via the modeler I am unable to connect. I've tried my url: https://myurl.company.com/debugger and get "Unable to connect to debugger at specified location" I also tried using the ip address and port: https://10.10.1.10:5489/debugger and get "An error occurred while communicating with the debugger". Details show "Underlying connection was closed. Handshake failed due to an unexpected error format". Believe I was getting "target machine actively refused connection" in Details before. I'm not sure what changed. Does anyone have any ideas what the problem might be?
asked
4 answers
2

Is the application situated behind a reverse proxy/webserver? If so make sure that the debugger url part is proxied. For a short guide on how to do this in nginx see this

Edit: The https:// protocol probebly means that it is and are you sure that the site has https? If not that could also be the cause of your problem.

answered
0

Sounds to me as though it has something to do with a SSL certificate/some sort of security layer that you can't get passed. Are you working from within the same network as the server? If not, have you tried using a VPN connection?

answered
0

Could it be 'runtime listen port' related? I recently had this issue at a client running in Windows where I could not debug because this was set to 'localhost'. Since in my situation it was 'just' a test server running on an internal network, I could simply set the setting to Public.

In the Linux documentation provided by Mendix I saw that there's a similar setting for the Linux version of the runtime:

runtime_listen_addresses: by default, the application process only listens on the localhost address. set this option to "*" if you want to have the public runtime port accessible from other hosts than localhost

Perhaps that could help you?

answered
0

I got it working.

Using http with ipaddress:port to connect in modeler and ipaddress:port when running in browser. Connected successfully and breakpoints are being hit.

Thank you all for your help.

answered