[GH-ISSUE #102] Error: oversized record received with length 20527 #55

Open
opened 2026-05-05 10:59:00 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @mikolus on GitHub (Sep 3, 2019).
Original GitHub issue: https://github.com/mmatczuk/go-http-tunnel/issues/102

I'm trying to set up tunnel to my machine behind nat. Server that I'm using has external ip and domain name.
On the client I'm getting:

level 0 msg dial failed network tcp addr 10.10.10.10:8000 err tls: oversized record received with length 20527

Where 10.10.10.10 is the server's public ip, port 8000 on the server is open.
On the client, on request I'm getting:

level 0 action round trip failed addr 95.150.97.128:58987 host 10.10.10.10:8000 url / err client not subscribed

95.150.97.128 is the host I'm doing the request from.
My client's tunnel.yml:

server_addr: 10.10.10.10:8000
tunnels:
    djangoapp:
        proto: http
        addr: localhost:8000
        host: my-domain.co.uk
Originally created by @mikolus on GitHub (Sep 3, 2019). Original GitHub issue: https://github.com/mmatczuk/go-http-tunnel/issues/102 I'm trying to set up tunnel to my machine behind nat. Server that I'm using has external ip and domain name. On the client I'm getting: `level 0 msg dial failed network tcp addr 10.10.10.10:8000 err tls: oversized record received with length 20527` Where 10.10.10.10 is the server's public ip, port 8000 on the server is open. On the client, on request I'm getting: `level 0 action round trip failed addr 95.150.97.128:58987 host 10.10.10.10:8000 url / err client not subscribed` 95.150.97.128 is the host I'm doing the request from. My client's tunnel.yml: ``` server_addr: 10.10.10.10:8000 tunnels: djangoapp: proto: http addr: localhost:8000 host: my-domain.co.uk ```
Author
Owner

@bmcgonag commented on GitHub (Oct 2, 2019):

Are you using port 8000 for a reason on the server side? The default server port is usually 5223 I believe.

<!-- gh-comment-id:537455396 --> @bmcgonag commented on GitHub (Oct 2, 2019): Are you using port 8000 for a reason on the server side? The default server port is usually 5223 I believe.
Author
Owner

@zabhi commented on GitHub (Mar 20, 2020):

This might be relevant https://github.com/kubernetes/kubernetes/issues/15839

<!-- gh-comment-id:601494117 --> @zabhi commented on GitHub (Mar 20, 2020): This might be relevant https://github.com/kubernetes/kubernetes/issues/15839
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/go-http-tunnel#55
No description provided.