[GH-ISSUE #977] http connection timeout thought the ktcp #777

Closed
opened 2026-05-05 12:29:50 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @happier233 on GitHub (Nov 17, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/977

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

My Issue

IF I use the ktcp, i cannot visit a website thought the http or tcp proxy.
After I change the ktcp to the tcp, it's work.
I don't know whether it is a bug.

What version of frp are you using (./frpc -v or ./frps -v)?
0.21.0

What operating system and processor architecture are you using (go env)?
Server: Centos 7.3
Client: Ubuntu 18.04.1

Configures you used:
Server Configures:
[common]
bind_port = 7000
bind_addr = ******
kcp_bind_port = 7001
dashboard_port = 91
dashboard_user = ******
dashboard_pwd = ******
allow_ports = 7002-8000
vhost_http_port = 8080
subdomain_host = ******
vhost_https_port = 8084
token = ******
max_pool_count = 10
tcp_mux = false

Client Configures:
[common]
server_addr = ******
server_port = 7001
admin_addr = localhost
admin_port = 7000
protocol = kcp
token = ******
pool_count = 5
tcp_mux = false

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 76
remote_port = 7002

[test]
type = tcp
local_ip = 10.21.11.101
local_port = 80
remote_port = 7003

[old_oj]
type = http
local_ip = 10.21.11.101
local_port = 80
subdomain = oj
host_header_rewrite = 10.21.11.101

[new_oj]
type = http
local_ip = 10.21.11.73
local_port = 80
subdomain = noj

Steps to reproduce the issue:

  1. add a new tcp proxy to connect the web
  2. change the ktcp to the tcp and it work

Describe the results you received:
2018/11/17 14:45:15 [E] [control.go:152] [999134c4dc3a69fa] work connection closed, EOF

Describe the results you expected:
Get the result.

Additional information you deem important (e.g. issue happens only occasionally):
I try to crawl network packets, I found the frp client received the right data from the website, the I didn't get the data from the frp server.

Can you point out what caused this issue (optional)
Maybe some bug in the ktcp.

Originally created by @happier233 on GitHub (Nov 17, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/977 Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. (为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。) Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST # My Issue IF I use the ktcp, i cannot visit a website thought the http or tcp proxy. After I change the ktcp to the tcp, it's work. I don't know whether it is a bug. **What version of frp are you using (./frpc -v or ./frps -v)?** 0.21.0 **What operating system and processor architecture are you using (`go env`)?** Server: Centos 7.3 Client: Ubuntu 18.04.1 **Configures you used:** Server Configures: [common] bind_port = 7000 bind_addr = ****** kcp_bind_port = 7001 dashboard_port = 91 dashboard_user = ****** dashboard_pwd = ****** allow_ports = 7002-8000 vhost_http_port = 8080 subdomain_host = ****** vhost_https_port = 8084 token = ****** max_pool_count = 10 tcp_mux = false Client Configures: [common] server_addr = ****** server_port = 7001 admin_addr = localhost admin_port = 7000 protocol = kcp token = ****** pool_count = 5 tcp_mux = false [ssh] type = tcp local_ip = 127.0.0.1 local_port = 76 remote_port = 7002 [test] type = tcp local_ip = 10.21.11.101 local_port = 80 remote_port = 7003 [old_oj] type = http local_ip = 10.21.11.101 local_port = 80 subdomain = oj host_header_rewrite = 10.21.11.101 [new_oj] type = http local_ip = 10.21.11.73 local_port = 80 subdomain = noj **Steps to reproduce the issue:** 1. add a new tcp proxy to connect the web 2. change the ktcp to the tcp and it work **Describe the results you received:** 2018/11/17 14:45:15 [E] [control.go:152] [999134c4dc3a69fa] work connection closed, EOF **Describe the results you expected:** Get the result. **Additional information you deem important (e.g. issue happens only occasionally):** I try to crawl network packets, I found the frp client received the right data from the website, the I didn't get the data from the frp server. **Can you point out what caused this issue (optional)** Maybe some bug in the ktcp.
Author
Owner

@happier233 commented on GitHub (Nov 17, 2018):

Sorry, it's kcp..., I misspelled the word.

<!-- gh-comment-id:439622163 --> @happier233 commented on GitHub (Nov 17, 2018): Sorry, it's kcp..., I misspelled the word.
Sign in to join this conversation.
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/frp#777
No description provided.