Gateway v1.0 (deb install): stunnel SSL error

I just migrated from a v0.12 gateway to a v1.0 (deb install on raspbian). Everything works locally, including my extensions under development (POC for now).

The gateway offered me to migrate my stunnel sub-domain over to, I accepted & clicked on the link provided by email.

Now the stunnel sub domain yields an SSL error.

With firefox on ubuntu 18.04, I get:

Secure Connection Failed

An error occurred during a connection to <subdomain> Peer received a valid certificate, but access was denied.


    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the web site owners to inform them of this problem.

With chromium-browser, I get:

# This site can’t provide a secure connection

**<subdomain>**  sent an invalid response.


What is my next step to fix this?

Are there any lines in the log file containing [pagekite]?

Yes, indeed:

INFO   : [pagekite] stderr: /bin/sh: 1: /opt/webthings-gateway/ not found
INFO   : [pagekite] process exited with code 127

If you download this file to that path and make it executable, things should work.


Yes it does, thank you very much.

1 Like

I’m getting the same error but I’m running the Linux version on Linux mint. I followed those steps but it didn’t do anything. I’m guessing in need to reboot it?

If my memory serves me right, restarting the gateway should be sufficient.

Yea I did that right after I posted it. Now I’m getting a different error.
[pagekite] stderr: /opt/webthings-gateway/ 1: import: not found
/opt/webthings-gateway/ 2: try:: not found
/opt/webthings-gateway/ 3: import: not found
/opt/webthings-gateway/ 4: import: not found
/opt/webthings-gateway/ 5: sys.modules[thread]: not found
/opt/webthings-gateway/ 6: except: not found
/opt/webthings-gateway/ 7: import: not found
/opt/webthings-gateway/ 8: import: not found
/opt/webthings-gateway/ 9: sys.modules[_thread]: not found
/opt/webthings-gateway/ 10: Syntax error: “(” unexpected (expecting “then”)

2021-03-14 23:20:57.825 INFO : [pagekite] process exited with code 2

so im at a complete loss

Wow, that is strange - it looks like it does not recognize python code.
How did you install the gateway (accurate steps would help us help you, including any corrective action you may have taken)?
Did you have a successful installation with a prior version?
Is python installed on your system? What version are you running?

im running 1.0 on linux mint. The install was fine i did in through the ubuntu focal build. Only issue i had was missing some dependencies for the package installer. i installed them and it went fine. I set up the subdomain before i set up the account but they are linked. No previous versions. I have python3 3.8.5 and python2 2.7.18