kameleo-io / local-api-client-typescript

Official JavaScript/TypeScript library for interacting with Kameleo Client
https://kameleo.io/learn-more/automation
MIT License
45 stars 2 forks source link

BrightData HTTPS proxy connection with Kameleo browser profile #1

Closed Joshua901 closed 3 years ago

Joshua901 commented 3 years ago

I m having issues connecting to my Bright Data DC proxy using kameleo.

.SetProxy("socks5", new Server("zproxy.lum-superproxy.io", 22225, "lum-customer-tinduong-zone-russiashared-ip-179.61.152.69", "pass"))

Is 22225 number the port number of the proxy? If i want to run https instead of socks5, shall i just replace socks5 with https then?

Kameleo starts the browser but all domains I'm visiting gets the connection refused error message. Keep getting this error: ERR_CONNECTION_ABORTED 

kameleo-team commented 3 years ago

Don't get confused based on our example code. We only showcased how to use a SOCKS5 proxy. Actually, you can use HTTP, HTTPS, SOCKS5, and SSH proxies.

Instead of socks5 type http. Not https. It will use the https protocol but to configure you have to type http

.SetProxy("http", new Server("zproxy.lum-superproxy.io", 22225, "lum-customer-tinduong-zone-russiashared-ip-179.61.152.69", "pass"))