2
그래서 프록시가 필요한 URL을 실행해야합니다. 이 URL은 프록시 (localhost)가 필요없는 다른 URL로 리디렉션됩니다. 다음을 수행하여 프록시를 설정하십시오.프록시 설정 및 자바 설정 해제
System.setProperty("http.proxyHost",proxyHost) ;
System.setProperty("http.proxyPort",proxyPort) ;
System.setProperty("https.proxyHost",proxyHost) ;
System.setProperty("https.proxyPort",proxyPort) ;
System.setProperty("http.nonProxyHosts", "localhost|127.0.0.1");
System.setProperty("https.nonProxyHosts", "localhost|127.0.0.1");
리디렉션 URL이 내 서버 (로컬 호스트)에 도달하지 않습니다. 그러나 브라우저에서 URL을 실행하면 예상대로 내 서버로 리디렉션됩니다.
프록시 문제가 아닌 것처럼 보입니다. 나는 거의 전체 코드를 여기에 게시했다 [link] (http://stackoverflow.com/questions/23113744/internal-server-error-500-when-i-try-to-automate-login-to-facebook-in- 자바). 어떤 제안? – shrth