syncthing: "general SOCKS server failure" since syncthing 1.3.3
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 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. Logs of both versions with STTRACE=dialer: https://gist.github.com/SanskritFritz/3e13c89f00f4f7b857b705a58dcd3d43 https://gist.github.com/SanskritFritz/719eccbd21e29f54a9df844e67f2196f
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 24 (12 by maintainers)
Commits related to this issue
- lib/relays: Fix incorrect timeout, bring back logging (ref #6289) — committed to AudriusButkevicius/syncthing by AudriusButkevicius 4 years ago
- lib/relays: Fix incorrect timeout, bring back logging (ref #6289) (#6291) * lib/relays: Fix incorrect timeout, bring back logging (ref #6289) * Fix format strings — committed to syncthing/syncthing by AudriusButkevicius 4 years ago
- Merge branch 'master' into badgermerge * master: (28 commits) gui, man, authors: Update docs, translations, and contributors lib/config, lib/model: Limit concurrent pulls (fixes #5914) (#6290) ... — committed to calmh/syncthing by calmh 4 years ago
- Merge branch 'master' into encryption * master: (32 commits) gui, man, authors: Update docs, translations, and contributors lib/config, lib/model: Limit concurrent pulls (fixes #5914) (#6290) l... — committed to calmh/syncthing by calmh 4 years ago
- lib/relays: Bring back address faking connection (fixes #6289) — committed to AudriusButkevicius/syncthing by AudriusButkevicius 4 years ago
- lib/dailer: Bring back address faking connection (fixes #6289) — committed to AudriusButkevicius/syncthing by AudriusButkevicius 4 years ago
- lib/dialer: Bring back address faking connection (fixes #6289) — committed to AudriusButkevicius/syncthing by AudriusButkevicius 4 years ago
I don’t think there is any applicable policy in this case. Essentially we want to close once we are sure the commit landed in master. In theory it should have asked you to test before merging, but the bug was so obvious that I didn’t bother waiting.
Thanks. I’ve copied the binary over the installed syncthing 1.3.2 and restarted the service. My problem has gone, syncthing works nicely again over my socks proxy. So it seems your fix has fixed this problem as well. Thank you!