jpillora / jpillora/chisel

client: Connection error: read tcp 192.168.124.4:44058->106.9.xxx.xxx:8000: read: connection reset by peer

Open
#308 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
16.6k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

I have two machines, both running Ubuntu 20.04 LTS. Machine A have a PPPoE assigned dynamic public IP address 106.9.xxx.xxx, machine B resides on an intranet with the IP address 192.168.124.4. I installed the latest git master version of chisel on both machines and then do the following test:

On machine A:

$ chisel server -p 8000 --reverse
2021/10/31 14:34:37 server: Reverse tunnelling enabled
2021/10/31 14:34:37 server: Fingerprint ZlIz4ytGpRXNjd7OdOkkbJ/k13Zh2D4lZ534BhVZK2E=
2021/10/31 14:34:37 server: Listening on http://0.0.0.0:8000

On machine B:

$ chisel client 106.9.177.233:8000 R:socks
2021/10/31 14:36:38 client: Connecting to ws://106.9.xxx.xxx:8000
2021/10/31 14:36:38 client: Connection error: read tcp 192.168.124.4:44058->106.9.xxx.xxx:8000: read: connection reset by peer
[...]
^C2021/10/31 14:36:40 client: Cancelled

Any hints for this problem?

Regards,
HZ

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported chisel server -p 8000 --reverse and chisel client 106.9.177.233:8000 R:socks commands on Ubuntu 20.04. No source file or test is named; done means identifying why the connection is reset and recording a verified resolution or actionable diagnosis.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, ubuntu
Domain
cli, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.