[GH-ISSUE #114] Error suppressing panic for copyResponse error in test; copy error: context canceled #64

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

Originally created by @zoic21 on GitHub (Apr 4, 2020).
Original GitHub issue: https://github.com/mmatczuk/go-http-tunnel/issues/114

Hello

I have some issue with some client, I use http tunnel and when I try to load client url it's infinite load. Only error I found in client log is : suppressing panic for copyResponse error in test; copy error: context canceled

How can I found more information to debug this ?

Thank in advance

Originally created by @zoic21 on GitHub (Apr 4, 2020). Original GitHub issue: https://github.com/mmatczuk/go-http-tunnel/issues/114 Hello I have some issue with some client, I use http tunnel and when I try to load client url it's infinite load. Only error I found in client log is : suppressing panic for copyResponse error in test; copy error: context canceled How can I found more information to debug this ? Thank in advance
Author
Owner

@kevburnsjr commented on GitHub (Nov 20, 2020):

I'm getting the same thing.

When I isolate my binary with its own go.mod, the problem doesn't occur.
Seems like some type of strange package collision. Still investigating.

<!-- gh-comment-id:731456632 --> @kevburnsjr commented on GitHub (Nov 20, 2020): I'm getting the same thing. When I isolate my binary with its own go.mod, the problem doesn't occur. Seems like some type of strange package collision. Still investigating.
Author
Owner

@kevburnsjr commented on GitHub (Nov 20, 2020):

Trace

2020/11/20 23:48:10 level 2 action proxy HTTP identifier 6R3QQKW-FFPHSWI-7EJWVX3-TCKJL77-5W7RBGE-CBO75C5-SNYGCNS-NGA3TA6 ctrlMsg &{proxy device1.example.com:8000 http }
2020/11/20 23:48:10 level 3 action transferred identifier 6R3QQKW-FFPHSWI-7EJWVX3-TCKJL77-5W7RBGE-CBO75C5-SNYGCNS-NGA3TA6 bytes 888 dir user to client dst device1.example.com:8000 src 172.28.128.1:61267
2020/11/20 23:48:10 level 2 action url rewrite from //device1.example.com:8000/ to http://192.168.0.54/
2020/11/20 23:48:10 level 2 action proxy HTTP done identifier 6R3QQKW-FFPHSWI-7EJWVX3-TCKJL77-5W7RBGE-CBO75C5-SNYGCNS-NGA3TA6 ctrlMsg &{proxy device1.example.com:8000 http } status code 200
2020/11/20 23:48:10 level 3 action transferred bytes 1457 dir client to user dst 172.28.128.1:61267 src device1.example.com:8000

2020/11/20 23:48:10 level 2 action proxy HTTP identifier 6R3QQKW-FFPHSWI-7EJWVX3-TCKJL77-5W7RBGE-CBO75C5-SNYGCNS-NGA3TA6 ctrlMsg &{proxy device1.example.com:8000 http }
2020/11/20 23:48:10 level 3 action transferred identifier 6R3QQKW-FFPHSWI-7EJWVX3-TCKJL77-5W7RBGE-CBO75C5-SNYGCNS-NGA3TA6 bytes 754 dir user to client dst device1.example.com:8000 src 172.28.128.1:61267
2020/11/20 23:48:10 level 2 action url rewrite from //device1.example.com:8000/framework/Unified.css to http://192.168.0.54/framework/Unified.css

2020/11/20 23:48:10 level 2 action proxy HTTP identifier 6R3QQKW-FFPHSWI-7EJWVX3-TCKJL77-5W7RBGE-CBO75C5-SNYGCNS-NGA3TA6 ctrlMsg &{proxy device1.example.com:8000 http }
2020/11/20 23:48:10 level 3 action transferred identifier 6R3QQKW-FFPHSWI-7EJWVX3-TCKJL77-5W7RBGE-CBO75C5-SNYGCNS-NGA3TA6 bytes 738 dir user to client dst device1.example.com:8000 src 172.28.128.1:61268
2020/11/20 23:48:10 level 2 action url rewrite from //device1.example.com:8000/framework/Unified.js to http://192.168.0.54/framework/Unified.js

2020/11/20 23:48:11 level 2 action proxy HTTP done identifier 6R3QQKW-FFPHSWI-7EJWVX3-TCKJL77-5W7RBGE-CBO75C5-SNYGCNS-NGA3TA6 ctrlMsg &{proxy device1.example.com:8000 http } status code 200
2020/11/20 23:48:11 suppressing panic for copyResponse error in test; copy error: context canceled

2020/11/20 23:48:11 level 2 action proxy HTTP done identifier 6R3QQKW-FFPHSWI-7EJWVX3-TCKJL77-5W7RBGE-CBO75C5-SNYGCNS-NGA3TA6 ctrlMsg &{proxy device1.example.com:8000 http } status code 200
2020/11/20 23:48:11 suppressing panic for copyResponse error in test; copy error: context canceled
<!-- gh-comment-id:731464747 --> @kevburnsjr commented on GitHub (Nov 20, 2020): Trace ``` 2020/11/20 23:48:10 level 2 action proxy HTTP identifier 6R3QQKW-FFPHSWI-7EJWVX3-TCKJL77-5W7RBGE-CBO75C5-SNYGCNS-NGA3TA6 ctrlMsg &{proxy device1.example.com:8000 http } 2020/11/20 23:48:10 level 3 action transferred identifier 6R3QQKW-FFPHSWI-7EJWVX3-TCKJL77-5W7RBGE-CBO75C5-SNYGCNS-NGA3TA6 bytes 888 dir user to client dst device1.example.com:8000 src 172.28.128.1:61267 2020/11/20 23:48:10 level 2 action url rewrite from //device1.example.com:8000/ to http://192.168.0.54/ 2020/11/20 23:48:10 level 2 action proxy HTTP done identifier 6R3QQKW-FFPHSWI-7EJWVX3-TCKJL77-5W7RBGE-CBO75C5-SNYGCNS-NGA3TA6 ctrlMsg &{proxy device1.example.com:8000 http } status code 200 2020/11/20 23:48:10 level 3 action transferred bytes 1457 dir client to user dst 172.28.128.1:61267 src device1.example.com:8000 2020/11/20 23:48:10 level 2 action proxy HTTP identifier 6R3QQKW-FFPHSWI-7EJWVX3-TCKJL77-5W7RBGE-CBO75C5-SNYGCNS-NGA3TA6 ctrlMsg &{proxy device1.example.com:8000 http } 2020/11/20 23:48:10 level 3 action transferred identifier 6R3QQKW-FFPHSWI-7EJWVX3-TCKJL77-5W7RBGE-CBO75C5-SNYGCNS-NGA3TA6 bytes 754 dir user to client dst device1.example.com:8000 src 172.28.128.1:61267 2020/11/20 23:48:10 level 2 action url rewrite from //device1.example.com:8000/framework/Unified.css to http://192.168.0.54/framework/Unified.css 2020/11/20 23:48:10 level 2 action proxy HTTP identifier 6R3QQKW-FFPHSWI-7EJWVX3-TCKJL77-5W7RBGE-CBO75C5-SNYGCNS-NGA3TA6 ctrlMsg &{proxy device1.example.com:8000 http } 2020/11/20 23:48:10 level 3 action transferred identifier 6R3QQKW-FFPHSWI-7EJWVX3-TCKJL77-5W7RBGE-CBO75C5-SNYGCNS-NGA3TA6 bytes 738 dir user to client dst device1.example.com:8000 src 172.28.128.1:61268 2020/11/20 23:48:10 level 2 action url rewrite from //device1.example.com:8000/framework/Unified.js to http://192.168.0.54/framework/Unified.js 2020/11/20 23:48:11 level 2 action proxy HTTP done identifier 6R3QQKW-FFPHSWI-7EJWVX3-TCKJL77-5W7RBGE-CBO75C5-SNYGCNS-NGA3TA6 ctrlMsg &{proxy device1.example.com:8000 http } status code 200 2020/11/20 23:48:11 suppressing panic for copyResponse error in test; copy error: context canceled 2020/11/20 23:48:11 level 2 action proxy HTTP done identifier 6R3QQKW-FFPHSWI-7EJWVX3-TCKJL77-5W7RBGE-CBO75C5-SNYGCNS-NGA3TA6 ctrlMsg &{proxy device1.example.com:8000 http } status code 200 2020/11/20 23:48:11 suppressing panic for copyResponse error in test; copy error: context canceled ```
Author
Owner

@hons82 commented on GitHub (May 5, 2021):

Did u ever find a solution to this?

<!-- gh-comment-id:832492606 --> @hons82 commented on GitHub (May 5, 2021): Did u ever find a solution to this?
Author
Owner

@kevburnsjr commented on GitHub (May 5, 2021):

@hons82 We gave up and used frp instead.
https://github.com/fatedier/frp

<!-- gh-comment-id:832506092 --> @kevburnsjr commented on GitHub (May 5, 2021): @hons82 We gave up and used frp instead. https://github.com/fatedier/frp
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#64
No description provided.