Re: [xSocket-develop] xSocket-develop post from simon@spamato.net requires approval
Status: Inactive
Brought to you by:
grro
|
From: <gre...@we...> - 2008-06-06 15:05:11
|
Hi Simon, connections through a proxy server hasn't yet implemented for xSocket-http. It's on the roadmap Gregor > -----Ursprüngliche Nachricht----- > Von: <xso...@li...> > Gesendet: 06.06.08 13:34:50 > An: xso...@li... > Betreff: xSocket-develop post from si...@sp... requires approval > As list administrator, your authorization is requested for the > following mailing list posting: > > List: xSo...@li... > From: si...@sp... > Subject: Connecting to web-server through Proxy using xsocket > Reason: Post by non-member to a members-only list > > At your convenience, visit: > > https://lists.sourceforge.net/lists/admindb/xsocket-develop > > to approve or deny the request. > > > <hr> > Hey all, > > I have the following problem: > > I want to connect to a webserver using the following snippet: > > IHttpClientEndpoint httpClientConnection = new > HttpClientConnection("www.google.com", 80); > HttpRequest httpRequest= new GetRequest(query); > HttpResponse response = httpClientConnection.call(httpRequest); > > The snippet hangs on the first line already - probably because I am > behind a web-proxy. > The exception: > > java.net.ConnectException: java.net.NoRouteToHostException: No route > to host: no further information > > > Setting the respective System Properties > -Dhttp.proxyHost=myproxy.xyz.com -Dhttp.proxyPort=3128 > doesn't help. > > Am I doing something wrong or is this a problem with xsocket? > > Thanks for your help, > Simon > > > > <hr> > If you reply to this message, keeping the Subject: header intact, > Mailman will discard the held message. Do this if the message is > spam. If you reply to this message and include an Approved: header > with the list password in it, the message will be approved for posting > to the list. The Approved: header can also appear in the first line > of the body of the reply. > -- Gregor Roth |