Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Cannot establish connection

Open
#68 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
rust, shell

Research direction

The report names the remote and local init.sh entry points and shows client, server, TLS, WebSocket, relay, and shell-server errors, but no source files or tests. Reproduce the connection using the shown commands, then trace the authentication and direct-connection handshake from the client and server logs. Done means the peers connect without the authentication or unexpected-close errors.

Written by the indexing model from the issue text.

Description

On the server (remote):

wget https://lets.tunshell.com/init.sh -O - 2> /dev/null | sh -s -- T XXXX XXXX eu.relay.tunshell.com

cut: the delimiter must be a single character
Try 'cut --help' for more information.
Installing client...
Connecting to relay server...
[2026-07-28T08:41:39Z ERROR tunshell_client::server::dual_stream] Failed to connect via TLS, falling back to websocket: deadline has elapsed
Waiting for peer to join...
XX.XX.XX.XX joined the session
Negotiating connection...
Attempting direct connection to XX.XX.XX.XX
[2026-07-28T08:42:38Z ERROR client] Error occurred: Unexpected response returned by server: Close

On the client (local):

curl -sSf https://lets.tunshell.com/init.sh -o ${TMPDIR:=/tmp}/tunshell.sh && sh ${TMPDIR:=/tmp}/tunshell.sh L XXXX XXXX eu.relay.tunshell.com

Client already installed...
Connecting to relay server...
Waiting for peer to join...
XX.XX.XX.XX joined the session
Negotiating connection...
Attempting direct connection to XX.XX.XX.XX
Direct connection to peer established
[2026-07-28T08:40:15Z ERROR client] Error occurred: Error while authenticating with shell server
Dominant language
Rust
Stars
818
Forks
58
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from TimeToogo/tunshell

All issues in TimeToogo/tunshell

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.