Welcome Guest Search | Active Topics | Sign In | Register

Proxy Error Options
huseyin
Posted: Thursday, December 1, 2022 6:09:22 PM
Rank: Newbie
Groups: Member

Joined: 12/1/2022
Posts: 1
Hello, I'm Hussein.
I am trying to use EO.WEB with visual studio c#.
I've had a few Problems.
I want to surf sites like google or youtube with a proxy ip. my problem is that
ProxyInfo proxy = new ProxyInfo(ProxyType.HTTP, "101.52.251.186", 8080);
Sites I want to browse
Supports ProxyType.HTTPS.
LoadUrl("https://google.com")
when i try to login
I'm getting the error (The connection was reset.) or it's accessing the site by chance. So it is not stable. If I edit it as ProxyType.HTTPS, it gives me the following error. (Could not create a connection to the proxy server). Can you give me a code directory to fix these errors? note/ I couldn't find enough resources, please do not scroll page by page. Thank you.


Code: C#
EO.WebEngine.Engine engine1 = EO.WebEngine.Engine.Create("test");

 ProxyInfo proxy = new ProxyInfo(type: ProxyType.HTTP,host: "34.140.197.165",port: 8080);
 engine1.Options.Proxy = proxy;

 EO.WebBrowser.WebView webView1 = new EO.WebBrowser.WebView();
 webView1.Engine = engine1;

 webControl1.WebView = webView1;
 webControl1.WebView.LoadUrl("https://google.com");
eo_support
Posted: Friday, December 2, 2022 1:22:00 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

This has to do with your proxy server. Most proxy server would not allow you to use it for Google or YouTube (probably due to the amount of traffic). So the problem is not you have to get the right code. The problem is you need to get a functioning proxy server that allows you to visits those sites.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.