blinksocks / blinksocks

A framework for building composable proxy protocol stack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ECONNRESET in ssr presets

KaneGreen opened this issue · comments

commented
  • I'm submitting a...
  • bug report
  • What is the current behavior?

When using ssr-*** presets, there would be a big chance that warn: [tcp:inbound] [127.0.0.1:*] read ECONNRESET occurs.
On the server end, the log shows warn: [tcp:inbound] [*.*.*.*:*] write EPIPE
If you are downloading sth. though Blinksocks, the downloading corrupted.

  • Please tell us about your environment:
  • blinksocks version: [2.8.5]
  • Node.js version: [8.9.4] (server)
  • npm version: [5.6.0] (server)
  • os: [Windows10(client) | Ubuntu 17.10(server)]
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix)
{
  "service": "socks5://127.0.0.1:*",
  "servers": [
    {
      "enabled": true,
      "service": "tcp://*.*.*.*:*",
      "key": "******",
      "presets": [
        {"name": "ss-base"},
        {"name": "ssr-auth-aes128-sha1"},
        {"name": "ss-stream-cipher", "params": {"method": "aes-256-ctr"}}
      ],
      "tls_cert": "cert.pem"
    }
  ],
  "dns": [],
  "dns_expire": *,
  "timeout": *,
  "workers": *,
  "log_path": "*.log",
  "log_level": "*",
  "log_max_days": *
}