java.net.SocketTimeoutException: Read timed out


Solutions on the web

Solution icon of stackoverflow
Read timed out

Stack trace

java.net.SocketTimeoutException: Read timed out
	at XXX.YYY.ZZZ.registerApp(GatewayService.groovy:83)
	at XXX.YYY.ZZZ.initApp(GatewayService.groovy:50)
	at XXX.YYY.ZZZ.init(GatewayService.groovy:39)
	at XXX.YYY.ZZZ.slientInit(GatewayService.groovy:30)
	at XXX.YYY.ZZZ.BBB(Initializer.groovy:88)
	at BootStrap$_closure1.doCall(BootStrap.groovy:17)
	at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:327)
	at grails.util.Environment.executeForEnvironment(Environment.java:320)
	at grails.util.Environment.executeForCurrentEnvironment(Environment.java:296)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: com.mashape.unirest.http.exceptions.UnirestException: java.net.SocketTimeoutException: Read timed out
	at com.mashape.unirest.http.HttpClientHelper.request(HttpClientHelper.java:143)
	at com.mashape.unirest.request.BaseRequest.asObject(BaseRequest.java:80)
	at XXX.YYY.ZZZ.registerApp(GatewayService.groovy:71)
	... 12 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago