Connections to gateway on http through ssh tunnel closed with 8.0.10 update

I noticed when updating from 8.0.7 to 8.0.10 that I can no longer connect to the gateway through an ssh tunnel. That is, I ssh from my local workstation with port forwarding for 8088 to an Ignition server that I cannot connect directly to port 8088 on (ssh me@remote_ign_server -L 8088:localhost:8088) and when I connect to http://localhost:8088 I get a connection refused.

Closer examination reveals that ignition is closing the socket right after it connects - I can telnet to localhost 8088 on the ignition server and have a successful HTTP conversation:

[me@ignition_server ~]$ telnet localhost 8088
Connected to localhost.
Escape character is ‘^]’.

HTTP/1.1 302 Found
Date: Fri, 03 Apr 2020 14:01:47 GMT
Referrer-Policy: strict-origin-when-cross-origin
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block

But when I try to do the same on my workstation the connection closes right after it opens:
me@PC:~$ telnet localhost 8088
Connected to localhost.
Escape character is ‘^]’.
Connection closed by foreign host.

Are you sure nothing about your or the server environment changed?

I was able access a fresh 8.0.10 install over an SSH tunnel with no issues.

Hi Kevin

I just tried to reproduce it again step by step and found the issue - one of my colleagues was working with another machine behind the ssh gateway and was using the same port I was using for tunneling the ignition gateway! I would have had no idea if I hadn’t asked him if he was seeing the same problem.

Thanks for checking on your end.

1 Like