ibm-mobilefirst - 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."}
请任何人都可以建议
解决方案
mfpclient.plist
请确认您在尝试使用的域中提供了有效端口。
通常,域的默认端口为 80。
如果您提供了错误的端口,这应该可以解决问题。
推荐阅读
- java - 抽象类和接口类
- java - 解析日期列表以在 scala 中列出字符串
- ios - 无法从应用扩展访问本地化资源
- python - 进行多处理时“TypeError:'type' object is not subscriptable”。我究竟做错了什么?
- python - 单击带有硒库的标签的属性
- javascript - 401 Error - Call REST API secured with AZURE Active Directory (JavaScript Client)
- bixby - 如何在 bixby 中将数组项作为循环放入对话驱动程序模板中
- python - 我很困惑为什么这个递归循环不会停止
- augmented-reality - ARKit 相机欧拉角旋转顺序
- oop - 浮动没有正常显示(飞镖语言)