首页 > 解决方案 > IBM MFP8 服务器使用域名主机响应请求超时

问题描述

移动应用和门户网站成功连接到没有域名主机的 MFP8 服务器(意味着使用 MFP8 实例服务器私有 IP) 注意:门户网站成功连接到有域名主机的 MFP8 服务器([Web 门户] > [反向代理:443] > [web服务器:80] > nodejs 服务器:9090 /MFP] >[mfp 服务器:9080])

移动应用程序未成功连接到具有域主机的 MFP8 服务器([移动应用程序] > [反向代理:443] > [网络服务器:80 /MFP] > [mfp 服务器:9080])

来自移动应用程序的请求可以使用域到达 MFP8 服务器,但来自 MFP8 服务器的响应未到达移动应用程序。

IBM 移动第一台服务器(8.0.0.0-MFPF-IF201909261537)cordova-plugin-mfp 8.0.2019091217

来自移动应用程序的日志:

[ERROR] [WL_REQUEST] -[WLRequest requestFailed:error:] in WLRequest.m:418 :: Status code='0' error='The request timed out.' response='(null)'
2019-10-15 12:58:49.922160+0800 Mfp8UAT[11044:5861071] WL_REQUEST
2019-10-15 12:58:49.925672+0800 UAT[11044:5873886] [] nw_connection_receive_internal_block_invoke [C6] Receive reply failed with error "Operation canceled"
2019-10-15 12:58:49.932423+0800 Mfp8UAT[11044:5861071] {"responseHeaders":{},"status":0,"responseText":"undefined","errorCode":"0","errorMsg":"The request timed out."}

2019-10-15 12:58:49.932596+0800 SebCaresMfp8UAT[11044:5873886] [ERROR] [NONE] WLAuthorizationManager.invokeAuthorizationRequest for scope RegisteredClient failed with error: 
{"responseHeaders":{},"status":0,"responseText":"undefined","errorCode":"0","errorMsg":"The request timed out."}

请任何人都可以建议

标签: ibm-mobilefirstreverse-proxymobilefirst-server

解决方案


mfpclient.plist请确认您在尝试使用的域中提供了有效端口。

通常,域的默认端口为 80。

如果您提供了错误的端口,这应该可以解决问题。


推荐阅读