Since I upgraded syncthing to 1.3.3 on archlinux, it is unable to connect to my cntlm socks proxy running locally. The log says repeatedly:
INFO: Listen (BEP/relay): joining session: socks connect tcp localhost:8010->127.0.0.1:443: unknown error general SOCKS server failure
I have configured socks for syncthing via
systemctl edit syncthing@user
[Service]
Environment=all_proxy='socks5://localhost:8010' ALL_PROXY_NO_FALLBACK=1 http_proxy= https_proxy= GOMAXPROCS=1
Downgrading syncthing to 1.3.2 works as a workaround.
Please help me solving this problem. I’m willing to file a bug report if needed, but maybe something has changed in the config?
There has been a change in that area in 1.3.3.
Can you run with STTRACE=dialer on both versions and provide logs?
1 Like
Here are the obfuscated logs:
gistfile1.txt
Jan 22 21:48:29 FrankVM systemd[1]: Started Syncthing - Open Source Continuous File Synchronization for frank.
Jan 22 21:48:30 FrankVM syncthing[755740]: [start] INFO: syncthing v1.3.3 "Fermium Flea" (go1.13.5 linux-amd64) builduser@svetlemodry 2020-01-09 19:13:25 UTC
Jan 22 21:48:30 FrankVM syncthing[755740]: [YSBJ4] INFO: My ID: xxxx
Jan 22 21:48:30 FrankVM syncthing[755740]: [YSBJ4] INFO: Proxy settings detected
Jan 22 21:48:30 FrankVM syncthing[755740]: [YSBJ4] INFO: Proxy fallback disabled
Jan 22 21:48:30 FrankVM syncthing[755740]: [YSBJ4] INFO: Single thread SHA256 performance is 277 MB/s using crypto/sha256 (272 MB/s using minio/sha256-simd).
Jan 22 21:48:31 FrankVM syncthing[755740]: [YSBJ4] INFO: Hashing performance is 236.01 MB/s
Jan 22 21:48:31 FrankVM syncthing[755740]: [YSBJ4] INFO: Detected upgrade from v1.3.2 to v1.3.3
Jan 22 21:48:31 FrankVM syncthing[755740]: [YSBJ4] INFO: Overall send rate is unlimited, receive rate is unlimited
Jan 22 21:48:31 FrankVM syncthing[755740]: [YSBJ4] INFO: Using discovery server https://discovery.syncthing.net/v2/?noannounce&id=xxxx
This file has been truncated. show original
It seems there are problems in both logs.
What’s your scenario, you have a socks proxy but not a https proxy, and http should be routed via socks?
The errors in v1.3.2 log are expected since the firewall after the socks proxy disables all requests to the port 22067. 443 works, and that is enough for syncthing to work.
That still doesn’t answer my question.
Sorry. Your question was actually answered in my first post:
There is no http or https proxy for syncthing, all requests are tunneled through the socks proxy (this is needed because I need ntlm authentication on the corporate proxy behind the local cntlm socks proxy).
I need to look at this in more details in front of a computer. Can you raise an issue on github?
Yes.
opened 11:50AM - 23 Jan 20 UTC
https://forum.syncthing.net/t/general-socks-server-failure-since-syncthing-1-3-3/14375
Syncthing Version: v1.3.3
OS Version: Archlinux
Since I upgraded syncthing to 1.3.3 on archlinux, it is unable to connect to my cntlm socks...
1 Like
system
(system)
Closed
February 22, 2020, 11:54am
10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.