英文:
IBM Worklight Java HTTP Adapters throwing UNEXPECTED_ERROR during Authentication
问题
我们正在为Android和iOS构建应用程序,对于服务器端开发,我正在使用Java HTTP Adapter。客户端应用程序端使用的SDK版本是8.0,服务器端使用的是MobileFirst-8.0.0.0。
在过去的几天里,每当我们启动应用程序时,客户端应用程序未能从服务器获取响应,而是出现以下异常:
WLResponse [invocationContext=null, responseText={"errorCode":"UNEXPECTED_ERROR","errorMsg":"Unexpected error encountered"}, status=500] WLFailResponse [errorMsg=Unexpected error encountered, errorCode=UNEXPECTED_ERROR]
我除此之外没有收到任何更多的信息。没有其他细节可以帮助我理解。
关于服务器端用户身份验证的教程链接如下:
https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/authentication-and-security/user-authentication/security-check/
请问是否有人能够帮我解决这个问题?
英文:
We are building app in android and IOS ,for server-side development, I am using Java HTTP Adapter. The version of SDK used on the client app side is 8.0 and for the server side I am using MobileFirst-8.0.0.0.
From the past few days whenever we launch the app, the client app is not getting a response from the server instead it fails with the following exception
WLResponse [invocationContext=null, responseText={"errorCode":"UNEXPECTED_ERROR","errorMsg":"Unexpected error encountered"}, status=500] WLFailResponse [errorMsg=Unexpected error encountered, errorCode=UNEXPECTED_ERROR]
I am not receiving any more information other than this. There are no other details which can help me understand
For server-side user authentication tutorial used is:
https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/authentication-and-security/user-authentication/security-check/
Could anyone please help me with this issue
答案1
得分: 1
MFP 7.1 SDK与MFP 8.0服务器不兼容。您需要MFP 8.0 SDK才能与MFP 8.0服务器连接。
英文:
MFP 7.1 SDK is not compatible with MFP 8.0 server. You need MFP 8.0 SDK to connect with MFP 8.0 server.
答案2
得分: 1
你提到的错误是来自客户端的。相应地,在服务器端将会有错误被记录。你可以在 mfp 服务器部署位置的日志文件夹下查看这个日志。
英文:
The error that you are mentioning is from client side. Correspondingly in server side there will be error logged. You can view this log under mfp server deployment location under logs folder.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论