Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > Proxy problems
 

Proxy problems

Hi guys,

Every time I use the Internet, a dialog appears asking for proxy authentication before I can do anything.

That's not a problem but when I first tried to use Terrarium, I got an error saying that proxy needed a username/password - but I can't find anywhere to enter it.  Now I just get the standard "The .NET Terrarium is unable to connect to the Terrarium server".

Any ideas?
MigrationUser 1  Thursday, July 01, 2004 8:40 AM
The Terrarium doesn't really have good proxy support built in.  Normally, if IE can log in, so can the Terrarium, since we should be using the .NET classes default proxy which cracks the IE registry settings.

If your IE is configured to use dynamic settings, then the .NET classes don't crack the registry correctly and so you can't authenticate and connect properly.

Now, there are a number of ways to better crack the proxy settings or allow explicit proxy settings, but the number of users requesting the feature versus the amount of extra code and testing simply wasn't very positive. The Terrarium is a true P2P application and most often a proxy won't allow allow bidirectional communications without a bunch of extra setup. If you can do the extra setup then you can most likely work by your authentication issues as well at the proxy level through some sort of app/computer/mac configuration that doesn't require authentication.

To point out, there are a number of proxy issues that you can't work around in the current Terrarium. Users of various ISPs in the UK end up sharing IP's and are never given the opportunity to play Terrarium because they can't set up bidirectional communication in a disconnected manner (disconnected in that the Terrarium uses an HTTP style protocol for all communications).

The creation of an application I call TerrariumProxy will help solve these additional problems as well as many other Proxy style problems by having an Internet facing machine with a public IP that is capable of acting as a Terrarium client on behalf of a user. The user is able to establish a persistent outgoing connection (this is always possible), to the special TerrariumProxy, and then the TerrariumProxy acts as a basic forwarding server by performing the Terrarium communications protocol on one side and forwarding the information back and forth over the persistent connection to the client on the other side.

This requires some client changes that won't be possible until the Terrarium source is fully released, namely allowing for the same IP to host multiple clients, each on a different port. By allowing a Terrarium client to set it's connection port users can make use of already configured ports such as port 80 for gameplay rather than having to set up 50000 through their NAT device. This should make it quite a bit easier to get up and running.
MigrationUser 1  Monday, July 05, 2004 7:09 PM
Justin,

Thanks for your help.  I'll hold off until I can find a setup without dynamic settings.

In the meantime I'll keep an eye out for TerrariumProxy in case that helps!

Thanks again,
Ratboy
MigrationUser 1  Tuesday, July 06, 2004 2:33 AM

You can use google to search for other answers

Custom Search

More Threads

• Reporting service for Terrarium is not working again
• dataservice.asmx
• Server Downtime Part II - 1.2 Client Release Draws Near!
• Problems User LocalSystem
• C#: DataGridView: Primary Key Column (varchar): On Insert, Column Does Not Allow Nulls
• Installation not working
• Install Sheild
• svhost.exe
• Terrarium Server problems
• Terrarium Servers Back Up!