Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Possible proxy problem
New Topic New Poll Post Reply
Poster Message
Stephen4Louise
Level: Smitemaster
Avatar
Rank Points: 548
Registered: 04-06-2005
IP: Logged

File: banner.jpg (57.9 KB)
Downloaded 38 times.
License: Public Domain
icon Possible proxy problem (+1)  
When I tried to open JTRH this morning I was having some problems getting connected to CaravelNet. I noticed that my usual proxy is down, so I switched to an alternative and things started to go a bit strange...

I seem to be connected ok, because I am getting a red X. When I try to request a new key, nothing happens, I don't get confirmation that it has been sent. And finally the attached file shows the banner text, which doesn't seem right.

The proxy I am connected to is defiately up because, well, I can post this. Any ideas what could be causing this?

Steve.
10-23-2006 at 09:53 AM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
NiroZ
Level: Smitemaster
Rank Points: 1302
Registered: 02-12-2006
IP: Logged
icon Re: Possible proxy problem (+1)  
If you need proxy settings for web browsing, then DROD will also need
them to make a CaravelNet connection. Find out your proxy server
settings for HTTP port 80 traffic, including the IP address of the proxy
server, the port it uses for HTTP traffic, and possible
username/password. For a Windows installation of DROD, create a batch
file named "DROD.BAT" in the same directory as DROD.EXE. It will contain
the following lines:

set http_proxy=10.0.0.1:80
drod.exe

Note that the text following the equal sign will be different and depend
on your proxy settings. When you start DROD, run the new DROD.BAT file
instead of DROD.EXE. You can modify DROD's start menu or desktop
shortcut to do this.

For Linux, set this environment variable as follows:

export http_proxy=10.0.0.1:80 (bourne shells)
or
setenv http_proxy 10.0.0.1:80 (non-bourne shells)
found here

[Last edited by NiroZ at 10-23-2006 10:01 AM]
10-23-2006 at 09:58 AM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Stephen4Louise
Level: Smitemaster
Avatar
Rank Points: 548
Registered: 04-06-2005
IP: Logged
icon Re: Possible proxy problem (0)  
Thanks NiroZ, but I already have that part sussed. I did have it set up for the old proxy which is now down, but it was when I swapped the new proxy in that I started having the problems.

Steve.
10-23-2006 at 10:01 AM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
NiroZ
Level: Smitemaster
Rank Points: 1302
Registered: 02-12-2006
IP: Logged
icon Re: Possible proxy problem (0)  
Well looking at the picture, it looks exactly the same as when I mistyped my IP address in the batch file.

Perhaps you could tell us exactly what has changed between the old IP and the new IP?
10-23-2006 at 11:36 AM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Stephen4Louise
Level: Smitemaster
Avatar
Rank Points: 548
Registered: 04-06-2005
IP: Logged
icon Re: Possible proxy problem (+1)  
The old batch file contained this...

set http_proxy=194.129.67.157:80
drod.exe

It is now...

set http_proxy=194.129.67.161:80
drod.exe

The IP is definately correct, however, there may be some additional restrictions on this new proxy that I am unaware of.

Edit : Solved it! The second proxy uses authentication, so I had to edit the second batch file to...

set http_proxy=domain\username:password@194.129.67.161:80
drod.exe

Steve.




[Last edited by Stephen4Louise at 10-24-2006 09:13 AM]
10-23-2006 at 04:42 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5056
Registered: 02-04-2003
IP: Logged
icon Re: Possible proxy problem (0)  
Stephen4Louise wrote:
The IP is definately correct, however, there may be some additional restrictions on this new proxy that I am unaware of.

Edit : Solved it! The second proxy uses authentication, so I had to edit the second batch file to...

set http_proxy=domain\username:password@194.129.67.171:80
drod.exe
Thanks, Steve. I think I'll document this possibility in our troubleshooting doc.

____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.
10-23-2006 at 05:50 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
Briareos
Level: Smitemaster
Avatar
Rank Points: 3516
Registered: 08-07-2005
IP: Logged
icon Re: Possible proxy problem (0)  
mrimer wrote:
Thanks, Steve. I think I'll document this possibility in our troubleshooting doc.
By the way, while we're on the topic of proxies...

As far as I know CURL supports SOCKS, but not via an environment variable - any chance of getting support for us "tunneling over SSH" folks in there?

(On the other hand, you can just add a local SSH tunnel to forum.caravelgames.com port 80 and pretend it's an HTTP proxy. I just hope further installments of the game don't want to access multiple servers...)

np: Fat Jon The Ample Soul Physician - Fly Away (Afterthought)

____________________________
"I'm not anti-anything, I'm anti-everything, it fits better." - Sole
R.I.P. Robert Feldhoff (1962-2009) :(
10-23-2006 at 06:13 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5056
Registered: 02-04-2003
IP: Logged
icon Re: Possible proxy problem (0)  
Briareos wrote:
As far as I know CURL supports SOCKS, but not via an environment variable - any chance of getting support for us "tunneling over SSH" folks in there?
Sorry, I'm not versed in how to do that at all. Maybe someone could help me with that.
(On the other hand, you can just add a local SSH tunnel to forum.caravelgames.com port 80 and pretend it's an HTTP proxy. I just hope further installments of the game don't want to access multiple servers...)
Maybe Matt knows how to do that.

____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.
10-23-2006 at 06:38 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
Briareos
Level: Smitemaster
Avatar
Rank Points: 3516
Registered: 08-07-2005
IP: Logged
icon Re: Real proxy problem (0)  
Sorry for the threadnomancy, but I just noticed that if you have your http_proxy set to some non-existant proxy (like http_proxy="foo"), all you get is the gray concentric circles below the version number while it really should display a broken server connection (i.e. the red cross).

Unless that would be by design? O:-

np: Autechre - Autechre Remix Of Spangle By Seefeel (Spangle)

____________________________
"I'm not anti-anything, I'm anti-everything, it fits better." - Sole
R.I.P. Robert Feldhoff (1962-2009) :(
12-15-2006 at 04:55 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts Quote Reply
Alneyan
Level: Smitemaster
Rank Points: 622
Registered: 07-06-2004
IP: Logged
icon Re: Real proxy problem (0)  
For what it's worth, there is a difference between "no proxy living at that address" and "the extreme power of Web 2.0 has fried your DSL line", so the former problem isn't quite as annoying.

When the connection fails because of a bad proxy, the game seems to give up connection attempts pretty quick. You don't need to manually cancel connection attempts to CaravelNet once you start playing, and the game doesn't freeze while trying to contact CaravelNet.

So, it seems non-existant proxies are handled appropriately by the game, except for that little grey icon that isn't particularly informative. A more explicit message could help here (what sort of Arnold are you? The kind who makes typoes while entering an IP address?).
12-15-2006 at 05:05 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : Possible proxy problem
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.