问题
I got the following message from the browser when I ran a long waiting request on my web application:
Message from the NSAPI plugin:
No backend server available for connection: timed out after 10 seconds or idempotent set to OFF.
Also, I got a 503 response code from httpConnection. I assume the server was timeout, but I could not find anything to extend the timeout. The above message was approximately shown after 5 minutes the request was sent. The server is running on WebLogic. Does anyone know where I can change the timeout duration or anyway to work around?
回答1:
From my experince, most likely it is not related to timeout settings. According to http://docs.oracle.com/cd/E13222_01/wls/docs81/plugins/plugin_params.html, the parameter ConnectTimeoutSecs default value is 10 seconds, which is usually more than enough. The instruction on how to configure the plugin is here http://docs.oracle.com/cd/E13222_01/wls/docs81/plugins/nsapi.html#110496. You did not specify which version of WLS you are using, but the instruction barely changes from version to version.
But before you start to manipulate this parameter, I would suggest, first of all, please make sure your WLS domain is up and running. Secondly, please check your NSAPI plugin to make sure the WLS server DNS name and port you try to connect to are all configured correctly. Third, check with your network admin to make sure there is no firewall between your web server and WLS server. If there is such firewall, make sure the firewall allows your connection traffic between the two.
来源:https://stackoverflow.com/questions/15117775/message-from-the-nsapi-plugin-no-backend-server-available-for-connection-timed