This discussion is archived
2 Replies Latest reply: Mar 8, 2013 8:48 AM by 893253 RSS

Program works fine at home, but will not work on my Work domain?

994271 Newbie
Currently Being Moderated
I have a java program that works perfectly with one exception it will not execute within my Work's network domain.
What the program does is login to and download an excel spreadsheet.
Like I mention it works fine except when I try and run it at work.
This is what I get:

connecting to surveymonkey logon page...
Exception in thread "main" peer not authenticated
at s(
at org.apache.http.conn.ssl.AbstractVerifier.verify(A
at org.apache.http.conn.ssl.SSLSocketFactory.connectS ocket(
at com.gargoylesoftware.htmlunit.HtmlUnitSSLSocketFac tory.connectSocket( 71)
at org.apache.http.impl.conn.DefaultClientConnectionO perator.openConnection(DefaultClientConnectionOper
at org.apache.http.impl.conn.ManagedClientConnectionI
at org.apache.http.impl.client.DefaultRequestDirector .tryConnect(
at org.apache.http.impl.client.DefaultRequestDirector .execute(
at org.apache.http.impl.client.AbstractHttpClient.exe cute(
at tResponse(
at com.gargoylesoftware.htmlunit.WebClient.loadWebRes ponseFromWebConnection(
at com.gargoylesoftware.htmlunit.WebClient.loadWebRes ponse(
at com.gargoylesoftware.htmlunit.WebClient.getPage(We
at com.gargoylesoftware.htmlunit.WebClient.getPage(We
at com.gargoylesoftware.htmlunit.WebClient.getPage(We
at surveymonkeytest.Surveymonkeytest.main(Surveymonke
Java Result: 1


  • Correct Answers - 10 points
  • Helpful Answers - 5 points