gotify-desktop icon indicating copy to clipboard operation
gotify-desktop copied to clipboard

Cant receive message since 1.4.3

Open Dreadeath opened this issue 5 months ago • 2 comments

Hi, since 1.4.3 I cannot receive messages in Arch Linux, I got this on message arriving in console:

Error: Failed to get message
Caused by:
io: Connection refused

1.4.2 works

Dreadeath avatar Jun 13 '26 23:06 Dreadeath

Run with environment variables RUST_BACKTRACE=1 and RUST_LOG=debug to get more info. Does your server use self signed or unusual certificate?

desbma avatar Jun 14 '26 14:06 desbma

Letsencrypt cert, properly working in browser. Gotify server 2.9.1, I can receive notifications on my phone without problem.

I'll run app with debug env later.

Dreadeath avatar Jun 15 '26 12:06 Dreadeath

Ok, found it. I have 'https_proxy' environment variable set. So when message is received, here is the log:

DEBUG [gotify_desktop::gotify] GET https://gotify-server/application
DEBUG [ureq_proto::client] Call<Prepare>
DEBUG [ureq::run] GET https://gotify-server/******
WARN  [ureq::unversioned::transport::no_proxy] Enable feature socks-proxy to use proxy
                                configured by environment variables
DEBUG [ureq::unversioned::transport::tcp] Failed to connect to any resolved address
Error: Failed to get message

Caused by:
    io: Connection refused

Stack backtrace:
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: <unknown>
   9: <unknown>
  10: __libc_start_main
  11: <unknown>

If I unset it, then all is good. Maybe it's time to add (socks) proxy support? 😉

Dreadeath avatar Jun 30 '26 02:06 Dreadeath

I removed proxy support, which restores the 1.4.2 behavior.

desbma avatar Jun 30 '26 07:06 desbma