Cant receive message since 1.4.3
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
Run with environment variables RUST_BACKTRACE=1 and RUST_LOG=debug to get more info.
Does your server use self signed or unusual certificate?
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.
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? 😉
I removed proxy support, which restores the 1.4.2 behavior.