mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 00:15:51 +03:00
[GH-ISSUE #259] proxyconnect tcp: tls: first record does not look like a TLS handshake #175
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#175
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @seaguest on GitHub (Apr 11, 2019).
Original GitHub issue: https://github.com/snail007/goproxy/issues/259
Hi,
I got this error when I use my https proxy to request a https site, here is the code
Then I got this error:
And here is the outputput from goproxy:
I am using go 1.12, when I used 1.10 I got another error message:
@snail007 commented on GitHub (Apr 11, 2019):
command arguments?
it's seems like you have mistake wiith argument -t tls,if you using
http.ProxyURL(u),uof goproxy , local type must be -t tcp not tls@seaguest commented on GitHub (Apr 11, 2019):
@snail007
I simply use this:
@snail007 commented on GitHub (Apr 11, 2019):
using curl -x http://ip: port -U u:p URL for testing.
@seaguest commented on GitHub (Apr 12, 2019):
@snail007
if I tried www.baidu.com, then sometimes it works, sometimes the above error occurs, from the ip server, I can access both baidu.com and google.com page.
Even I set timeout to 30 second (--connect-timeout 30), I got the same result.
@seaguest commented on GitHub (Apr 12, 2019):
maybe this is due to CONNECT request not handled?
@snail007 commented on GitHub (Apr 12, 2019):
Don't do that in China,read manual about chapter 1.3