Maximo Anywhere online-offline login issue -


i using maximo anywhere 7.5.2.0 - work execution app

the issue , online - offline login sometime getting failed. first time of app flashed in ipad, can able login in app both mode online , offline. after time cannot able login. got "the user name , password combination entered not valid" error correct credentials.

i have enclosed logs here.

   object {errormsg: "the user name , password combination entered not valid."} "     ----------------------------------------     rejected @ object.<anonymous> (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/js/platform/auth/userauthenticationmanager.js:498:17)     @ http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:285161     @ _7c0 (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:273376)     @ _7ba (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:273240)     @ _7d8.reject (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:274951)     @ _7c6 (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:274017)     @ _7c0 (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:273657)     @ _7ba (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:273240)     @ _7d8.reject (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:274951)     @ abstractchallengehandler.<anonymous> (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/js/platform/auth/customchallengehandler.js:98:18)     ---------------------------------------- error     @ promise.then._7cd.then (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:275189)     @ declare.loginclickhandler (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/js/platform/handlers/loginhandler.js:78:4)     @ null.<anonymous> (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/js/platform/ui/control/userinterface.js:850:47)     @ htmlbuttonelement.<anonymous> (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:285161)     @ function.on.emit (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:557950)     @ null.<anonymous> (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/js/platform/ui/control/userinterface.js:139:12)     @ htmlformelement.<anonymous> (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:285161)"_1047 @ dojo.js:2(anonymous function) @ dojo.js:2_142.filter @ dojo.js:2_1055 @ dojo.js:2 dojo.js:2 object {responsejson: object, status: 401} "     ----------------------------------------     rejected @ abstractchallengehandler.<anonymous> (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/js/platform/auth/customchallengehandler.js:98:18)     @ http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:285161     @ onloginformresponse (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/worklight/worklight.js:9549:5)     @ klass.window.wljsx.ajax.request.wljsx.class.create.respondtoreadystate (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/worklight/worklight.js:1184:28)     @ klass.window.wljsx.ajax.request.wljsx.class.create.onstatechange (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/worklight/worklight.js:1117:9)     @ xmlhttprequest.<anonymous> (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/worklight/worklight.js:958:20)     ---------------------------------------- error     @ promise.then._7cd.then (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:275189)     @ object.<anonymous> (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/js/platform/auth/userauthenticationmanager.js:400:52)     @ http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:285161     @ _7c0 (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:273376)     @ promise.then._7cd.then (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:275270)     @ object.lang.mixin._realmauthentication (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/js/platform/auth/userauthenticationmanager.js:398:4)     @ object.<anonymous> (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/js/platform/auth/userauthenticationmanager.js:343:10)     @ http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:285161     @ _7c0 (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:273376)     @ promise.then._7cd.then (http://11.11.11.11:0989/maximoanywhere/apps/services/preview/workexecution/common/0/default/dojo/dojo.js:2:275270)  different user correct credentials not able login. start working restarted server. faced issue often.  kindly advice. 

any appreciated. in advance

offline login requires have logged in user before. stores information in localstorage of application. if offline login seems breaking on ios, might known issue we've found , fixed ifix.

the first time login, must have server connection download data , validate username/password.

are using embedded worklight or standalone worklight server? should check server logs see if server running while you're trying login second user.

update: thing can think of here, worklight server failing respond initial wl.client.connect somehow. either it's slow, or maybe running out of heap space. when it's time try , wl.login our challenge handler, handshaking has failed..

  1. check heapsize of worklight server make sure it's large enough
  2. check connect timeout in our startup.js file being used wl.client.connect method, , bump way larger , see if fixes problem.

Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -