Using Domain mfp 8 server return “request time out” using real mobile device?

余生长醉 提交于 2019-12-13 03:10:02

问题


Image of the console error

mobile apps are successfully connected using mfp server IP Address with port 9080 but using instead of IP with Domain the mfp8 server response error msg "The Request time out" and response text "undefined"

Using IP Address: mfpclient properties file: 
wlServerProtocol = http
wlServerHost = **.**.**.78
wlServerPort = 9080
wlServerContext = /mfp/
testWebResourcesChecksum = false
ignoredFileExtensions = png, jpg, jpeg, gif, mp4, mp3
wlPlatformVersion = 8.0.0.00-20190910-142437
wlSecureDirectUpdatePublicKey = 
languagePreferences = en
wlBuildId = 8.0.0.00-20190910-142437

Using Domain: mfpclient properties file:

wlServerProtocol = https
wlServerHost = www.domainname.com
wlServerPort = 443
wlServerContext = /mfp/
testWebResourcesChecksum = false
ignoredFileExtensions = png, jpg, jpeg, gif, mp4, mp3
wlPlatformVersion = 8.0.0.00-20190910-142437
wlSecureDirectUpdatePublicKey = 
languagePreferences = en
wlBuildId = 8.0.0.00-20190910-142437

the output whenever im using domain is request timeout error


回答1:


Please update with which MobileFirst API request is timing out.

REQUEST_TIMEOUT error will come if

i.If the server is not accessible on the IP address/port specified in mfpclient.properties file.

ii.When timeout is set in WLResourceRequest and there is a delay in adapter response that is more than timeout value.

iii.Having said that, the request timeout error occurs when a request made by the device does not get a response from the MobileFirst server within the stipulated timeout period. For OAuth calls, this timeout is 10 seconds.

iv. Server is taking more time to respond. Check your backend logic.

v. Possibilties that DNS resolution is not happening within 10 sec.



来源:https://stackoverflow.com/questions/58213778/using-domain-mfp-8-server-return-request-time-out-using-real-mobile-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!