Gateway v1.0 (deb install): webthings.io 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 webthings.io, 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>.webthings.io. Peer received a valid certificate, but access was denied.

Error code: SSL_ERROR_ACCESS_DENIED_ALERT

    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>.webthings.io**  sent an invalid response.

ERR_SSL_PROTOCOL_ERROR

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/pagekite.py: not found
INFO   : [pagekite] process exited with code 127

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

2 Likes

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/pagekite.py: 1: import: not found
/opt/webthings-gateway/pagekite.py: 2: try:: not found
/opt/webthings-gateway/pagekite.py: 3: import: not found
/opt/webthings-gateway/pagekite.py: 4: import: not found
/opt/webthings-gateway/pagekite.py: 5: sys.modules[thread]: not found
/opt/webthings-gateway/pagekite.py: 6: except: not found
/opt/webthings-gateway/pagekite.py: 7: import: not found
/opt/webthings-gateway/pagekite.py: 8: import: not found
/opt/webthings-gateway/pagekite.py: 9: sys.modules[_thread]: not found
/opt/webthings-gateway/pagekite.py: 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