Welcome Guest Search | Active Topics | Sign In | Register

Proxy Not Changing Options
BenjaminSimpson1989
Posted: Tuesday, January 14, 2025 4:26:49 PM
Rank: Advanced Member
Groups: Member

Joined: 1/12/2015
Posts: 88
I'm going to use the following terminology to indicate proxies:
IP1-C1
IP2-C2
IP1-C3
An IP with the same number after it means the IP and port number are the same. C is the credentials (username/password). So IP1-C1 and IP1-C3 have the same IP and port but different credentials. And IP2-C2 is different IP/port and different credentials.

After successfully setting the proxy and browsing to a new page with IP1-C1 and then setting the proxy to IP1-C3 and loading another page, it is still actually using IP1-C1 instead of IP1-C3.

I've also tried the following sequence with the same browser instance:
1. Changing proxy to IP1-C1 loads with IP1-C1 (good)
2. Changing proxy to IP2-C2 loads with IP2-C2 (good)
3. Changing proxy to IP1-C3 loads with IP1-C1 (bad)

I am ensuring that I wait long enough after switching proxies to ensure previous page loads complete. I am currently using build 2023.0.83.
eo_support
Posted: Wednesday, January 15, 2025 4:04:10 PM
Rank: Administration
Groups: Administration

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

This may not be a proxy issue --- it maybe an authentication/caching issue since the lower level connection would be the same for C1 and C3 because C1 and C3 has the same IP and port. After the proxy is changed from C1 to C3 (or C3 to C1) and the page is reloaded, the new user name/password will only be used if the page does indeed requires re-authentication. If that's not the case then the new user name/password would not take effect.

Nevertheless we have sent you a new build that is based on a much newer Chromium engine. You can try that build and see if it works for you. If it still does not work for you, you can PM us with the proxy info and we will try to debug into the browser engine here to see what we can find.

Thanks!
BenjaminSimpson1989
Posted: Wednesday, January 15, 2025 6:50:15 PM
Rank: Advanced Member
Groups: Member

Joined: 1/12/2015
Posts: 88
I agree. I think that is the problem. The new version didn't work. I can't send you the proxy info because I'm using a local proxy. However, I'm pretty sure the issue can be fixed. I know it's been done for CEF browser.
eo_support
Posted: Thursday, January 16, 2025 9:52:03 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,258
Do you have any additional information about this issue in CEF? We can look into their code changes which would help us to identify/resolve this issue.
BenjaminSimpson1989
Posted: Thursday, January 16, 2025 3:09:34 PM
Rank: Advanced Member
Groups: Member

Joined: 1/12/2015
Posts: 88
eo_support
Posted: Sunday, January 19, 2025 8:43:17 PM
Rank: Administration
Groups: Administration

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

We will add WebView.ClearAuthCache in our next build that will eventually call Chromium's NetworkContext::ClearHttpAuthCache method. We will reply here again once the new build is avaiable so that you can try it out. Once the method is added, you would need to call this method explicitly when you change proxy.

Thanks!
BenjaminSimpson1989
Posted: Monday, January 20, 2025 1:06:09 PM
Rank: Advanced Member
Groups: Member

Joined: 1/12/2015
Posts: 88
Thank you for the update. I'm just curious why Chromium's method won't automatically be called when the new proxy is set? Also, do you have a time estimate of when the new build would be ready?
eo_support
Posted: Tuesday, January 21, 2025 11:27:04 AM
Rank: Administration
Groups: Administration

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

NetworkContext and proxy have different scopes. Even though when you set proxy server you would set host:port and username:password together, the internal Chromium structure that maintains the proxy info only keeps host:port information. The username:password is handled by a completely different flow by a different "department". When you call NetworkContext::ClearHttpAuthCache, it clears the entire cache used by that NetworkContext and this does not have any direct relationship with proxy settings. So while changing proxy and clear authentication cache should be done together in your case, we do not believe these two should always be together.

The new build should be out either at the end of this month or early next month.

Thanks!
BenjaminSimpson1989
Posted: Tuesday, January 21, 2025 3:05:10 PM
Rank: Advanced Member
Groups: Member

Joined: 1/12/2015
Posts: 88
Thank you, I truly can not wait until next month. Is there any beta release or hotfix you could send again please?
eo_support
Posted: Friday, January 24, 2025 9:49:20 AM
Rank: Administration
Groups: Administration

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

We have sent a new build through private message. Please take a look and let us know if it works for you.

Thanks!
BenjaminSimpson1989
Posted: Monday, January 27, 2025 12:48:47 PM
Rank: Advanced Member
Groups: Member

Joined: 1/12/2015
Posts: 88
It works great. Thanks so much. Do you get replies to the private messages?
eo_support
Posted: Monday, January 27, 2025 2:49:52 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,258
Yes. We did receive the private message reply. Thanks for confirming that it works!
BenjaminSimpson1989
Posted: Tuesday, January 28, 2025 2:30:09 PM
Rank: Advanced Member
Groups: Member

Joined: 1/12/2015
Posts: 88
Great! Please also let me know when the official build is out.


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.