来自 NSAPI 插件的消息:没有可用于连接的后端服务器:10 秒后超时或幂等设置为 OFF [英] Message from the NSAPI plugin: No backend server available for connection: timed out after 10 seconds or idempotent set to OFF

查看:58
本文介绍了来自 NSAPI 插件的消息:没有可用于连接的后端服务器:10 秒后超时或幂等设置为 OFF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在我的 Web 应用程序上运行一个长时间的等待请求时,我从浏览器收到以下消息:

I got the following message from the browser when I ran a long waiting request on my web application:

来自 NSAPI 插件的消息:

Message from the NSAPI plugin:

没有可用于连接的后端服务器:10 秒后超时或幂等设置为 OFF.

No backend server available for connection: timed out after 10 seconds or idempotent set to OFF.

此外,我从 httpConnection 收到了 503 响应代码.我假设服务器超时,但我找不到任何可以延长超时的东西.上述消息大约在发送请求 5 分钟后显示.服务器正在 WebLogic 上运行.有谁知道我可以在哪里更改超时持续时间或无论如何解决?

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?

推荐答案

根据我的经验,很可能与超时设置无关.根据 http://docs.oracle.com/cd/E13222_01/wls/docs81/plugins/plugin_params.html,参数ConnectTimeoutSecs默认值为10秒,通常是绰绰有余.关于如何配置插件的说明在这里 http:///docs.oracle.com/cd/E13222_01/wls/docs81/plugins/nsapi.html#110496.您没有指定您使用的是哪个版本的 WLS,但该说明几乎没有因版本而异.

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.

但在您开始操作此参数之前,我建议,首先,请确保您的 WLS 域已启动并正在运行.其次,请检查您的 NSAPI 插件以确保您尝试连接的 WLS 服务器 DNS 名称和端口都配置正确.第三,与您的网络管理员核对以确保您的 Web 服务器和 WLS 服务器之间没有防火墙.如果有这样的防火墙,请确保防火墙允许两者之间的连接流量.

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.

这篇关于来自 NSAPI 插件的消息:没有可用于连接的后端服务器:10 秒后超时或幂等设置为 OFF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆