Welcome Guest Search | Active Topics | Sign In | Register

connecting to diff proxies in diff app domains Options
impactworks
Posted: Friday, July 24, 2015 4:06:37 AM
Rank: Newbie
Groups: Member

Joined: 7/24/2015
Posts: 1
So i have a task, where i need to browser website using diff proxies, i created a exe file which uses Threadrunner to browse the website, i pass on parameter (read proxy) to the file and runs via proxy, so far so good, once i run the same Executable twice via diff app creating different app domains, with separate proxies per app domain.

for some reason both instances connect to single proxy.

here's my code. i run this in loop changing proxy each time

Code: C#
var setup = new AppDomainSetup();
                setup.ApplicationBase = Path.GetDirectoryName(exePath);
                string[] arguments = { proxy };
                var ad = AppDomain.CreateDomain(string.Format("Domain #{0}", ix + 1), null, setup);
                var t = new Thread(() => {
                    ad.ExecuteAssembly(exePath, arguments);
                    AppDomain.Unload(ad);
                });
                t.Start();

eo_support
Posted: Friday, July 24, 2015 1:46:03 PM
Rank: Administration
Groups: Administration

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

Please check the latest build first. If the problem continues, you might want to debug into the code to see whether you indeed pass the same proxy information to this property:

http://www.essentialobjects.com/doc/eo.webbrowser.runtime.proxy.aspx

We can't really tell you much except that this is the place where you pass your proxy settings to us.

If everything looks good and the problem still occurs, please try to isolate the problem into a test project and send the test project to us. See here for more information about how to send the test project to us:

http://www.essentialobjects.com/forum/test_project.aspx

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.