Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Unexpected end of file from server  RSS feed

 
ajse ruku
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am getting (Unexpected end of file from server)this error when I am connecting to my server via proxy server.
I have done the configuration like this

System.getProperties().put("proxySet", "true");
System.getProperties().put("http.proxyPort", "8080");
System.getProperties().put("http.proxyHost", "192.168.1.34");
URL url=new URL("http://192.168.1.45:8657/someapp/somepage");
URLConnection connection = url.openConnection();

Pls help if anybody have any idea.
with regards,
ajse
 
Oricio Ocle
Ranch Hand
Posts: 284
Debian Firefox Browser Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you identifying to the proxy?


or


Regards
[ July 22, 2006: Message edited by: Oricio Ocle ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!