JetBrains/teamcity-rest-client

Cannot make a new request because the previous response is still open: please call response.close()

xCodiq opened this issue · 0 comments

java.lang.Error: Failed to connect to MY_URL_HERE: cannot make a new request because the previous response is still open: please call response.close()
at org.jetbrains.teamcity.rest.TeamCityInstanceImpl$service$3.handleError(implementation.kt:73)
at org.jetbrains.teamcity.rest.TeamCityInstanceImpl$service$3.handleError(implementation.kt:51)
at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:242)
at jdk.proxy1/jdk.proxy1.$Proxy0.builds(Unknown Source)
at org.jetbrains.teamcity.rest.BuildLocatorImpl.list(implementation.kt:177)
at org.jetbrains.teamcity.rest.BuildLocatorImpl.latest(implementation.kt:151)
at gg.blocky.resourceautomation.paper.PaperAutomationLauncher.checkForUpdates(PaperAutomationLauncher.java:174)
at gg.blocky.resourceautomation.paper.PaperAutomationLauncher.lambda$new$0(PaperAutomationLauncher.java:136)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)

This error occurs whenever I fetch any data using the API, is there a fix for it? I even waited 24+hours, maybe that helped, but it doesn't.

Any help is much appreciated!!