When I am trying to fetch jwt tokens using API key exchange with very minimal load conditions, I am getting lots of java.net.SocketTimeoutException: connect timed out. Full stack trace is as follows. Would appreciate any directions on where to look. Is there any timeout setting on the API proxy or is the client application is the source of this error ?
"java.net.SocketTimeoutException: connect timed out
at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
at java.base/java.net.Socket.connect(Socket.java:609)
... 94 common frames omitted
Wrapped by: org.apache.http.conn.ConnectTimeoutException: Connect to **host:443 [**host] failed: connect timed out
Provide little more information with the flow but in general if you want to more information on timeout properties check this link https://docs.apigee.com/how-to-guides/configuring-io-timeout-best-practices
Where are you seeing this stacktrace?
What version of Apigee are you using?
What do you mean by "trying to fetch jwt tokens using API key exchange"? Can you elaborate on what you have configured specifically?