Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connector issue when behind a proxy. #15

Open
clietz opened this issue May 1, 2020 · 0 comments
Open

Connector issue when behind a proxy. #15

clietz opened this issue May 1, 2020 · 0 comments

Comments

@clietz
Copy link

clietz commented May 1, 2020

I have set up my company proxy in the JVM parameters, but the SchemaTool still has a connection failure when trying to make an outbound connection.

Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.waitForConnect (Native Method)
at java.net.PlainSocketImpl.socketConnect (PlainSocketImpl.java:107)
at java.net.AbstractPlainSocketImpl.doConnect (AbstractPlainSocketImpl.java:399)
at java.net.AbstractPlainSocketImpl.connectToAddress (AbstractPlainSocketImpl.java:242)
at java.net.AbstractPlainSocketImpl.connect (AbstractPlainSocketImpl.java:224)
at java.net.SocksSocketImpl.connect (SocksSocketImpl.java:403)
at java.net.Socket.connect (Socket.java:608)
at sun.security.ssl.SSLSocketImpl.connect (SSLSocketImpl.java:285)
at sun.net.NetworkClient.doConnect (NetworkClient.java:177)
at sun.net.www.http.HttpClient.openServer (HttpClient.java:474)
at sun.net.www.http.HttpClient.openServer (HttpClient.java:569)
at sun.net.www.protocol.https.HttpsClient. (HttpsClient.java:265)
at sun.net.www.protocol.https.HttpsClient.New (HttpsClient.java:372)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient (AbstractDelegateHttpsURLConnection.java:191)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0 (HttpURLConnection.java:1227)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect (HttpURLConnection.java:1081)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect (AbstractDelegateHttpsURLConnection.java:177)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0 (HttpURLConnection.java:1362)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream (HttpURLConnection.java:1337)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream (HttpsURLConnectionImpl.java:246)
at com.google.api.client.http.javanet.NetHttpRequest.execute (NetHttpRequest.java:77)
at com.google.api.client.http.HttpRequest.execute (HttpRequest.java:981)
at com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed (TokenRequest.java:283)
at com.google.api.client.auth.oauth2.TokenRequest.execute (TokenRequest.java:307)
at com.google.api.client.googleapis.auth.oauth2.GoogleCredential.executeRefreshToken (GoogleCredential.java:394)
at com.google.api.client.auth.oauth2.Credential.refreshToken (Credential.java:493)
at com.google.api.client.auth.oauth2.Credential.intercept (Credential.java:217)
at com.google.api.client.http.HttpRequest.execute (HttpRequest.java:868)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed (AbstractGoogleClientRequest.java:419)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed (AbstractGoogleClientRequest.java:352)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute (AbstractGoogleClientRequest.java:469)
at com.google.cloudsearch.tutorial.SchemaTool.updateSchema (SchemaTool.java:127)
at com.google.cloudsearch.tutorial.SchemaTool.main (SchemaTool.java:85)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:282)
at java.lang.Thread.run (Thread.java:834)
[ERROR]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant