[GH-ISSUE #4601] error: context canceled #3636

Closed
opened 2026-05-05 14:20:02 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @loujiaye on GitHub (Dec 19, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4601

Bug Description

error: context canceled

frpc Version

0.61.1. darwin

frps Version

0.61.1. freebsd

System Architecture

server freebs , client darwin

Configurations

bindPort = 3430
vhostHTTPPort = 3430
auth.token = "token"
subDomainHost = "domain"

------frpc
serverAddr = "server ip"
serverPort = 3430

auth.token = "token"

proxies
name = "xian"
type = "http"
localIp = '127.0.0.1'
localPort = 8000
subDomain = "ws"

locations = ["/"]
hostHeaderRewrite = "ws.domain"
requestHeaders.set.x-from-where = "frp"

Logs

2024-12-19 14:41:59.575 [I] [server/service.go:576] [bf50e1bbe6117b99] client login info: ip [111.132.0.105:54421] version [0.61.1] hostname [] os [darwin] arch [amd64]
2024-12-19 14:41:59.974 [I] [proxy/http.go:144] [bf50e1bbe6117b99] [xian] http proxy listen for host [ws.xianfuzhu.lookin.at] location [/] group [], routeByHTTPUser []
2024-12-19 14:41:59.974 [I] [server/control.go:399] [bf50e1bbe6117b99] new proxy [xian] type [http] success
2024-12-19 14:42:22.361 [W] [httputil/reverseproxy.go:486] do http proxy request [host: ws.xianfuzhu.lookin.at] error: context canceled

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @loujiaye on GitHub (Dec 19, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4601 ### Bug Description error: context canceled ### frpc Version 0.61.1. darwin ### frps Version 0.61.1. freebsd ### System Architecture server freebs , client darwin ### Configurations bindPort = 3430 vhostHTTPPort = 3430 auth.token = "token" subDomainHost = "domain" ------frpc serverAddr = "server ip" serverPort = 3430 auth.token = "token" [[proxies]] name = "xian" type = "http" localIp = '127.0.0.1' localPort = 8000 subDomain = "ws" locations = ["/"] hostHeaderRewrite = "ws.domain" requestHeaders.set.x-from-where = "frp" ### Logs 2024-12-19 14:41:59.575 [I] [server/service.go:576] [bf50e1bbe6117b99] client login info: ip [111.132.0.105:54421] version [0.61.1] hostname [] os [darwin] arch [amd64] 2024-12-19 14:41:59.974 [I] [proxy/http.go:144] [bf50e1bbe6117b99] [xian] http proxy listen for host [ws.xianfuzhu.lookin.at] location [/] group [], routeByHTTPUser [] 2024-12-19 14:41:59.974 [I] [server/control.go:399] [bf50e1bbe6117b99] new proxy [xian] type [http] success 2024-12-19 14:42:22.361 [W] [httputil/reverseproxy.go:486] do http proxy request [host: ws.xianfuzhu.lookin.at] error: context canceled ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [X] Performance and Scalability - [ ] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:20:02 -06:00
Author
Owner

@fatedier commented on GitHub (Dec 20, 2024):

The error "context canceled" indicates that the client has canceled the request or the request has timed out.

<!-- gh-comment-id:2556211660 --> @fatedier commented on GitHub (Dec 20, 2024): The error "context canceled" indicates that the client has canceled the request or the request has timed out.
Author
Owner

@loujiaye commented on GitHub (Dec 20, 2024):

I test server in local ip. It run normal.But use frp is raise error.And I also test a simplest nginx server, it raise error again

<!-- gh-comment-id:2556218640 --> @loujiaye commented on GitHub (Dec 20, 2024): I test server in local ip. It run normal.But use frp is raise error.And I also test a simplest nginx server, it raise error again
Author
Owner

@xqzr commented on GitHub (Dec 20, 2024):

域名被🧱

<!-- gh-comment-id:2557670723 --> @xqzr commented on GitHub (Dec 20, 2024): 域名被🧱
Author
Owner

@github-actions[bot] commented on GitHub (Jan 4, 2025):

Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.

<!-- gh-comment-id:2569964994 --> @github-actions[bot] commented on GitHub (Jan 4, 2025): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
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#3636
No description provided.