JBidwatcher and Proxy server?

Subscribe to JBidwatcher and Proxy server? 6 post(s), 4 voice(s)

 
Avatar (SF) Jeff 3 post(s)

Hi,

I’m having trouble getting JBidwatcher to work with a proxy server or socks server. Here’s the error I get when I try to update the time:

Fri Dec 10 11:05:03 MST 2004: JHTML.loadPage: java.net.UnknownHostException: cgi.ebay.com
java.net.UnknownHostException: cgi.ebay.com
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
at sun.net.www.http.HttpClient.(HttpClient.java:214)
at sun.net.www.http.HttpClient.New(HttpClient.java:287)
at sun.net.www.http.HttpClient.New(HttpClient.java:299)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:784)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:736)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:661)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:905)
at Http.receivePage(Http.java:162)
at JHTML.loadParseURL(JHTML.java:483)
at JHTML.(JHTML.java:510)
at ebayServer.getOfficialTime(ebayServer.java:602)
at AuctionServer.setOfficialTimeDifference(AuctionServer.java:623)
at AuctionServer.reloadTimeNow(AuctionServer.java:347)
at AuctionServerManager.messageAction(AuctionServerManager.java:100)
at PlainMessageQueue.run(PlainMessageQueue.java:29)
at java.lang.Thread.run(Thread.java:595)
Fri Dec 10 11:05:03 MST 2004: ebay: Error, can’t accurately set delta to server’s official time.
Fri Dec 10 11:05:03 MST 2004: JHTML.loadPage: java.net.UnknownHostException: cgi.ebay.com
java.net.UnknownHostException: cgi.ebay.com
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
at sun.net.www.http.HttpClient.(HttpClient.java:214)
at sun.net.www.http.HttpClient.New(HttpClient.java:287)
at sun.net.www.http.HttpClient.New(HttpClient.java:299)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:784)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:736)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:661)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:905)
at Http.receivePage(Http.java:162)
at JHTML.loadParseURL(JHTML.java:483)
at JHTML.(JHTML.java:510)
at ebayServer.getOfficialTime(ebayServer.java:602)
at AuctionServer.setOfficialTimeDifference(AuctionServer.java:623)
at AuctionServer.reloadTimeNow(AuctionServer.java:347)
at AuctionServerManager.messageAction(AuctionServerManager.java:100)
at PlainMessageQueue.run(PlainMessageQueue.java:29)
at java.lang.Thread.run(Thread.java:595)
Fri Dec 10 11:05:03 MST 2004: ebay: Error, can’t accurately set delta to server’s official time.

I can ping the proxy server fine and I’m using it with various browsers and other internet utilities fine. I’m new to JBidwatcher so I’m not sure if I’m missing something. Any thoughts?

 
Avatar Morgan Schweers Administrator 1,204 post(s)

Greetings,
I believe it’s a DNS issue. Someone else mentioned that they had a similar problem, where for some reason they didn’t get DNS to their local computer, because they were behind a corporate firewall of some sort.

While JBidwatcher CAN talk to eBay through a SOCKS proxy, it still requires being able to resolve the IP address of eBay before contacting the SOCKS proxy. This is because it needs to hand an IP address to the SOCKS proxy. (This is all in the Java libraries, not my code, so it’s not something I can change, unfortunately.)

If you go to a command line, and try:
ping cgi.ebay.com
if that works (or more accurately if it at least resolves the IP address for cgi.ebay.com), JBidwatcher should work, even if through a proxy. If it doesn’t, you’ve got to get DNS (host name resolution, translating host names to IP addresses) working on your machine first.

— Morgan Schweers, CyberFOX!

 
Avatar (SF) Jeff 3 post(s)

Hi Morgan,

Actually, that’s not correct. The point of a proxy server is to limit user access to the internet to a single point of contact. That includes DNS lookups. When a proxy server is in use, the entire url is passed to the proxy server for the proxy server to resolve the address and return the requested data. No validation or resolution of the address (name or IP) should be performed by the application.

I use many applications which work just fine with our proxy and socks servers (opera, netscape, firefox, mozilla, bidwatcher, gaim, ayttm, ssh to name a few) and the DNS server my resolv.conf points to does not resolve any addresses on the internet.

I used JBidwatcher over the weekend at home and it’s got a lot of awesome features. I’d like to be able to use it at work as well.

Any other thoughts?

Thanks for the great application!

-Jeff

 
Avatar (SF) Jeff 3 post(s)

Hi,

Interestingly, I’ve left JBidwatcher running for a few hours today and it seems to be working fine through the proxy server. Interestingly, though, it seems to be using the http_proxy/ftp_proxy environment variables because I have “No Proxy” set in the preferences. Hmm…

-Jeff

PS. I just tested bidding on an item but that failed with the error:

“Bidding apparently failed for an unknown reason. Check the auction in the browser, to see if the bid went through anyway.”

—which it didn’t.

 
Avatar (SF) primi 3 post(s)

Hi everyone,
I have the same problems (I put a Request in the Bug-Tracking named:“Bids and snipes are not working (proxy)” opend date: 3.11.04. As the problem seems impossible to be solved in the JBidwatcher, I now linked my Request to this Forum.

I tried ping cgi.ebay.com, and i’m getting no answers (Time-out-Error). But DNS seems to work (an IP-Adress after the cgi.ebay.com is beeing displayed: [216.113.176.10]).

P.S. Thank you Morgan for this great programm

 
Avatar (SF) Frank B... 1 post

Same (?) problem here:

- loading of my items from ebay.de doesn’t work
- bidding fails
- I see a excepting for those tries in the error.log

ping gets an ip but no reply. Is it possible, ebay servers just don’t reply to ping?