go-http-tunnel
go-http-tunnel copied to clipboard
Error suppressing panic for copyResponse error in test; copy error: context canceled
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
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.
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
Did u ever find a solution to this?
@hons82 We gave up and used frp instead.
https://github.com/fatedier/frp