OnDemand User Group

Support Forums => OD/WEK & JAVA API => Topic started by: Andreas Baaserud Hauge on February 01, 2024, 01:58:32 AM

Title: ODWek REST - response HTTP 408 - No availble connections to pool <poolname>
Post by: Andreas Baaserud Hauge on February 01, 2024, 01:58:32 AM
Hi,

In our ODWek REST api we are getting the following response: No availble connections to pool <poolname>

Request
HTTP request to /cmod-rest/v1/ping
Header includes key / pair

Response
HTTP Code = 408
Reponse body = No availble connections to pool <poolname>

I have tried to increase the max poolsize in odwek-rest.war even. Any idea what is going on here?
This happends in our test environment - production is fine.
Title: Re: ODWek REST - response HTTP 408 - No availble connections to pool <poolname>
Post by: Justin Derrick on February 01, 2024, 07:39:32 AM
Do the logs in the web server software give any indication as to where the problem might be?  There should be other error messages around the time of your request that might shine some light on the issue.  :)

-JD.
Title: Re: ODWek REST - response HTTP 408 - No availble connections to pool <poolname>
Post by: rjrussel on February 01, 2024, 09:22:30 AM
My guess is the pool is not starting correctly. Stop and start the REST application and then look at the arsrestapi.log. It will give you the information you need to verify this.
Title: Re: ODWek REST - response HTTP 408 - No availble connections to pool <poolname>
Post by: Andreas Baaserud Hauge on February 12, 2024, 12:54:31 AM
 Hi, thanks for reply

Our problem was firewall related. ODWek REST not able to connect to CMOD Library Server.
Solved by opening in firewall