I am trying to proxify a connection to an HTTPS URI using HTTP node.
After defining proxy as Options inside node, and trying to do a GET request against the HTTPS URI, I get next result:
ERROR: RequestError: Error: tunneling socket could not be established, cause=Client network socket disconnected before secure TLS connection was established
Is it possible to enable this as an option when using a proxy? Or autodetection could do the trick too.
Do not understand. What option should we be adding exactly? My understanding is that it should already be working. If you add the option “Proxy”, it sets “proxy” on the request that is all. Here the documentation:
If you see there any other option that would be helpful but is currently not exposed simply tell us. Adding it takes just a few minutes.
Additionally, can you also try to remove the “Proxy” option and set the environment variables HTTP_PROXY and HTTPS_PROXY that should as far as I know do the same.
ERROR: RequestError: Error: tunneling socket could not be established, cause=Hostname/IP does not match certificate’s altnames: Host: www.site.fr. is not in the cert’s altnames: DNS:proxysite.com, DNS:*.proxysite.com
Ok thanks for both the explanations and the list !
I tried with several proxys but I always get the same error “ERROR: RequestError: Error: tunneling socket could not be established, statusCode=403”.
(I also tried a flow on n8n cloud and it’s not working, therefore it’s not because I was running n8n localy on my computer)
Indeed I think it’s working now !
But I think that the browser is preventing me from accessing and asking me for a captcha validation or something like that.