Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRAWLER Error Error: tunneling socket could not be established #342

Open
ariseven opened this issue Mar 13, 2020 · 1 comment
Open

CRAWLER Error Error: tunneling socket could not be established #342

ariseven opened this issue Mar 13, 2020 · 1 comment

Comments

@ariseven
Copy link

Hello,

I get an error message when I start the crawler with a proxy. Without proxy it works and ping on the proxy works.

ts/Nodejs Code:
this._crawler.queue({ callback: cb, preRequest: Http.beforeRequest, uri: url, proxy: "https://80.187.140.26:8080" });

Error:

error: CRAWLER Error Error: tunneling socket could not be established, cause=write EPROTO 4432391616:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:

Thank you very much for the help.

@ariseven ariseven changed the title RAWLER Error Error: tunneling socket could not be established CRAWLER Error Error: tunneling socket could not be established Mar 13, 2020
@mike442144
Copy link
Collaborator

Do not use preRequest, maybe I should hide preRequest in the document, I suggest you to remove the preRequest and retry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants