# "general SOCKS server failure" since syncthing 1.3.3

**URL:** https://forum.syncthing.net/t/general-socks-server-failure-since-syncthing-1-3-3/14375
**Category:** Support
**Created:** [January 22, 2020, 4:16pm UTC](https://forum.syncthing.net/t/general-socks-server-failure-since-syncthing-1-3-3/14375 "2020-01-22T16:16:10Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![SanskritFritz](https://forum.syncthing.net/user_avatar/forum.syncthing.net/sanskritfritz/32/7099_2.png) [@SanskritFritz](https://forum.syncthing.net/u/SanskritFritz)
#### Post date: [January 22, 2020, 4:16pm UTC](https://forum.syncthing.net/t/general-socks-server-failure-since-syncthing-1-3-3/14375/1 "2020-01-22T16:16:10Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [January 22, 2020, 4:37pm UTC](https://forum.syncthing.net/t/general-socks-server-failure-since-syncthing-1-3-3/14375/2 "2020-01-22T16:37:16Z")

</div>

There has been a change in that area in 1.3.3.

Can you run with STTRACE=dialer on both versions and provide logs?

---

<div class="post-metadata">

### Author: ![SanskritFritz](https://forum.syncthing.net/user_avatar/forum.syncthing.net/sanskritfritz/32/7099_2.png) [@SanskritFritz](https://forum.syncthing.net/u/SanskritFritz)
#### Post date: [January 22, 2020, 8:51pm UTC](https://forum.syncthing.net/t/general-socks-server-failure-since-syncthing-1-3-3/14375/3 "2020-01-22T20:51:30Z")

</div>

Here are the obfuscated logs:

> <https://gist.github.com/SanskritFritz/3e13c89f00f4f7b857b705a58dcd3d43>

> <https://gist.github.com/SanskritFritz/719eccbd21e29f54a9df844e67f2196f>

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [January 22, 2020, 10:29pm UTC](https://forum.syncthing.net/t/general-socks-server-failure-since-syncthing-1-3-3/14375/4 "2020-01-22T22:29:35Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![SanskritFritz](https://forum.syncthing.net/user_avatar/forum.syncthing.net/sanskritfritz/32/7099_2.png) [@SanskritFritz](https://forum.syncthing.net/u/SanskritFritz)
#### Post date: [January 23, 2020, 8:42am UTC](https://forum.syncthing.net/t/general-socks-server-failure-since-syncthing-1-3-3/14375/5 "2020-01-23T08:42:01Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [January 23, 2020, 8:58am UTC](https://forum.syncthing.net/t/general-socks-server-failure-since-syncthing-1-3-3/14375/6 "2020-01-23T08:58:45Z")

</div>

That still doesn’t answer my question.

---

<div class="post-metadata">

### Author: ![SanskritFritz](https://forum.syncthing.net/user_avatar/forum.syncthing.net/sanskritfritz/32/7099_2.png) [@SanskritFritz](https://forum.syncthing.net/u/SanskritFritz)
#### Post date: [January 23, 2020, 9:23am UTC](https://forum.syncthing.net/t/general-socks-server-failure-since-syncthing-1-3-3/14375/7 "2020-01-23T09:23:18Z")

</div>

Sorry. Your question was actually answered in my first post:

> [@SanskritFritz](#):
>
> ```plaintext
> [Service]
> Environment=all_proxy='socks5://localhost:8010' ALL_PROXY_NO_FALLBACK=1 http_proxy= https_proxy= GOMAXPROCS=1
> 
> ```

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).

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [January 23, 2020, 10:10am UTC](https://forum.syncthing.net/t/general-socks-server-failure-since-syncthing-1-3-3/14375/8 "2020-01-23T10:10:11Z")

</div>

I need to look at this in more details in front of a computer. Can you raise an issue on github?

---

<div class="post-metadata">

### Author: ![SanskritFritz](https://forum.syncthing.net/user_avatar/forum.syncthing.net/sanskritfritz/32/7099_2.png) [@SanskritFritz](https://forum.syncthing.net/u/SanskritFritz)
#### Post date: [January 23, 2020, 11:50am UTC](https://forum.syncthing.net/t/general-socks-server-failure-since-syncthing-1-3-3/14375/9 "2020-01-23T11:50:51Z")

</div>

Yes.

> <https://github.com/syncthing/syncthing/issues/6289>
>
> 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...

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [February 22, 2020, 11:54am UTC](https://forum.syncthing.net/t/general-socks-server-failure-since-syncthing-1-3-3/14375/10 "2020-02-22T11:54:33Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
