Skip to content

bad handshake error while connecting with wstunnel server #47

@ghost

Description

I have requirement to use https://github.com/mhzed/wstunnel server and connect chisel client with it. wstunnel server is running on localhost:8081, getting below error when trying to connect

chisel client 127.0.0.1:8081 127.0.0.1:8086:127.0.0.1:22

2022/02/05 15:29:32 client: Connecting to ws://127.0.0.1:8081
2022/02/05 15:29:32 client: tun: proxy#127.0.0.1:8086=>22: Listening
2022/02/05 15:29:32 client: Connection error: websocket: bad handshake
2022/02/05 15:29:32 client: Retrying in 100ms...
2022/02/05 15:29:32 client: Connection error: websocket: bad handshake (Attempt: 1)
2022/02/05 15:29:32 client: Retrying in 200ms...
2022/02/05 15:29:32 client: Connection error: websocket: bad handshake (Attempt: 2)
2022/02/05 15:29:32 client: Retrying in 400ms...
2022/02/05 15:29:32 client: Connection error: websocket: bad handshake (Attempt: 3)
2022/02/05 15:29:32 client: Retrying in 800ms...
2022/02/05 15:29:33 client: Connection error: websocket: bad handshake (Attempt: 4)
2022/02/05 15:29:33 client: Retrying in 1.6s...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions