sebw / pushtify

Listen for Gotify notifications over websocket and forward them to Pushover
30 stars 6 forks source link

[SSL: WRONG_VERSION_NUMBER] with v0.6 #2

Closed CoolWolf69 closed 3 months ago

CoolWolf69 commented 3 months ago

Hello, was anyone able to successfully deploy v0.6?

When I deploy v0.6 I receive following output in the log: pushtify | [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1129) pushtify | ### closed ###

and the container continues rebooting (loop).

v0.5 works flawlessly ... so this is the one I am currently using. Any idea how to get around the SSL issue in v0.6?

Thanks, CoolWolf69

sebw commented 3 months ago

0.6 connects using secure websocket (wss://).

0.5 was not (ws://).

Is your certificate valid? I use let's encrypt myself without issue.

Cheers.

CoolWolf69 commented 3 months ago

Thanks for your feedback and for pointing me in the right direction @sebw !

I previously used an IP address (and Port) for my GOTIFY_HOST env variable. After I switched it to a hostname (with a vaild let's encrypt certificate) there is no SSL error anymore in v0.6 :-)

Closing thread now.

Cheers!

CoolWolf69 commented 3 months ago

THANKS!