question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I get an error after login screen.

Here is the stacktrace :

09:28:48,018 ERROR [org.keycloak.adapters.OAuthRequestAuthenticator] (default task-12) failed to turn code into token: java.net.ConnectException: Connection tim
ed out: connect
        at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)

I’m behind an entreprise proxy so I bet on a proxy configuration problem… But I don’t know how to set up an httpproxy that can be used by keycloak client adapter.

I tried to add this in my standalone-apicurio.xml file

		<property name="http.proxyHost" value="localhost"/>
		<property name="http.proxyPort" value="3129"/>
		<property name="https.proxyHost" value="localhost"/>
		<property name="https.proxyPort" value="3129"/>
    </system-properties>

and to add

set "JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3129 -Dhttps.proxyHost=localhost -Dhttps.proxyPort=3129" 

in the standalone.conf.bat

without success.

Any idea?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
EricWittmanncommented, May 17, 2018

Sorry for the delay on this - I’ve been at a couple of conferences that are getting in the way of making progress. This is still on my radar though.

0reactions
EricWittmanncommented, Jun 4, 2018

Great!

Hopefully this week, assuming I can finish up a few items on the todo list.

Read more comments on GitHub >

github_iconTop Results From Across the Web

LoginException (Java Platform SE 7 ) - Oracle Help Center
Constructs a LoginException with the specified detail message. A detail message is a String that describes this particular exception.
Read more >
LoginException - Android Developers
Constructs a LoginException with the specified detail message. A detail message is a String that describes this particular exception.
Read more >
LoginException Class (Javax.Security.Auth.Login)
Constructs a LoginException with no detail message. LoginException(IntPtr, JniHandleOwnership). A constructor used when creating managed representations of ...
Read more >
LoginException (Java Platform SE 6)
This is the basic login exception. Constructor Summary. LoginException(). Constructs a LoginException with no detail message.
Read more >
javax.jcr Class LoginException - Adobe Developer
Constructs a new instance of this class with the specified detail message. LoginException(java.lang.String message, java.lang.Throwable rootCause) Constructs a ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found