on 03-04-2014 3:06 PM
Hello!
2 days ago I can register users for some SAP app (Employee lookup, Learning Assistant). But yesterday I found that cant do it!
I use "basic" security profile (as before) with NoSecAuthorizer and NoSecLoginModule (control flag = required) :
I use template with right proxy settings:http://<servername>:8000/sap/opu/sdata/MIVE/EMPLOYEELOOKUP/
the service in GW is active.
But then i try to register a new user I get a user activation error : "Error occurred during user activation: check your login credebtials and try again" (For Employee Lookup) and "Underlying Error Occured!Check NSError structure ti find Underlying NSError object" (for Learning Assistant)
In domain logs I see error like this:
Subsystem=Error Application ID=, Application Connection ID=, User=, Correlation ID=, Package=, MBO=, Operation=, Thread ID=1281, Node ID=OWNR-SHJTPM5, Error=test end point failed!
In server logs (Messaging server) I see many errors:
In DeviceManagment Module:
1) AddDeviceRegistration: SendCommadToMMS - register - http status = BadRequest User: susov@basic Device: e56fbab65df32547b34bc44b2f1756751ba782e0__com.sap.meps.employeelookup
2) AddDeviceRegistration: MMS authentication failed. User: susov@basic Device: e56fbab65df32547b34bc44b2f1756751ba782e0__com.sap.meps.employeelookup
3) AddDeviceRegistration: User: susov@basic MMS Authenticate returned 4, requestId=<none set>
In InboxMultiplexer Module:
1) Cannot connect to POP server - ChilkatLog:__ Pop3BeginSession:__ DllDate: Dec 11 2008__ UnlockPrefix: SYBASEMAILQ__ Username: SYSTEM__ Component: Visual C++ 8.0__ Pop3Connect:__ Connecting to POP3 server__ hostname: localhost__ port: 110__ ssl: 0__ connectTimeoutMs: 30000__ heartbeatMs: 0__ socket is not ready for writing__ ConnectTimeoutMs: 30000__ Connect function failed.__ SocketError: WSAEWOULDBLOCK The socket would block.__ For more information see http://www.chilkatsoft.com/p/p_172.asp__ Failed to connect to POP3 server.__ Failed to start POP3 session__
2) Inbox Multiplexer unable to connect to server: Cannot connect to POP server - Log:__ Pop3BeginSession:__ DllDate: Dec 11 2008__ UnlockPrefix: SYBASEMAILQ__ Username: SYSTEM__ Component: Visual C++ 8.0__ Pop3Connect:__ Connecting to POP3 server__ hostname: localhost__ port: 110__ ssl: 0__ connectTimeoutMs: 30000__ heartbeatMs: 0__ socket is not ready for writing__ ConnectTimeoutMs: 30000__ Connect function failed.__ SocketError: WSAEWOULDBLOCK The socket would block.__ _ Failed to connect to POP3 server.__ Failed to start POP3 session__
In MO Module: No auth request
In TM Module: Unauthenticated request for MO allowed.
In Domaim Connections I have ping failed for proxy connection:
But i can get xml from Rest client: http://<backendname>:8000/sap/opu/sdata/MIVE/EMPLOYEELOOKUP/EmployeeCollection(1)?=
But I still can register user for SAP Learning Assistant, but i have to fill activation code and mobile user while fist time logging in app. I didn't fill these fields later and it worked good, but now i have activation error if leave these fiels empty.
Please, Can anyone help me with something?
Since you are using NoSecLoginModule you need to pass the newly created user credentials in SCC (user and activation code) along with Gateway credentials. You can take the end point url and test it from SUP server web browser to check whether its accessible. Also you can try using IP of gateway server instead of using hostname while configuring end point/proxy.
Midhun VP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank you for reply!
really, I must use manual login type (for employee lookup) and use sup login and GW login credentials.it works!
how can i confige basic security profile to use simplified (SSO2) login type (when I use only GW credentials for login)?
I try to test availability of service and create new connection in Connection pool with type = proxy, Pool size = 25, User = gw user, Password = gw password? adresss = http://<gw ip>:8000/sap/opu/sdata/MIVE/EMPLOYEELOOKUP/ (I have no property "allow anonymous access" in SUP 2.1.3. and SCC 3.2.2) But "Endpoint test result: Unauthorized". I think i miss some server configuration.
For automatic login you have to create a new security profile with httpauthenticationLoginModule. When creating an application in SCC you have to use the newly created login instead of admin. Hence when you login from app with Gateway credentials a user will be automatically created in SCC with same user as Gateway username that you given from device.
Similar discussions are here,
http://scn.sap.com/thread/3205550
http://scn.sap.com/thread/3436603SAP user Authentication into SUP Application
Midhun VP
i found ping service, it work good
i create new security profile proxyTest:
and i use it while register Sap Employee Lookup. in SSO2 login type i use my GW credentials and this security profile. And I have activation error again =(
But i can register with Manual login type: use SUP and GW credentials and it works! it semms like my security profile doesn't affect on something at all
thank you for trying to help!
here is my server logs:
2014-03-06 08:49:45.535 INFO Other Thread-460 [org.exolab.castor.xml.Marshaller]Marshaller called using one of the *static* marshal(Object, *) methods. This will ignore any mapping files as specified. Please consider switching to using Marshaller instances and calling one of the marshal(*) methods.
2014-03-06 08:49:45.463 INFO Other Thread-460 [org.exolab.castor.xml.Marshaller]Marshaller called using one of the *static* marshal(Object, *) methods. This will ignore any mapping files as specified. Please consider switching to using Marshaller instances and calling one of the marshal(*) methods.
2014-03-06 08:49:43.656 DEBUG MMS MboChangeDetection [com.sybase.sup.server.sis.MboChangeDetection]going to sync changed MBO detection with Cdb
in errrorlog.txt:
I. 03/06 08:58:16. Starting checkpoint of "default" (default.db) at Thu Mar 06 2014 08:58
I. 03/06 08:58:16. Finished checkpoint of "default" (default.db) at Thu Mar 06 2014 08:58
I. 03/06 08:58:33. Starting checkpoint of "monitordb" (monitordb.db) at Thu Mar 06 2014 08:58
I. 03/06 08:58:33. Finished checkpoint of "monitordb" (monitordb.db) at Thu Mar 06 2014 08:58
I. 03/06 09:04:16. Starting checkpoint of "clusterdb" (clusterdb.db) at Thu Mar 06 2014 09:04
I. 03/06 09:04:17. Finished checkpoint of "clusterdb" (clusterdb.db) at Thu Mar 06 2014 09:04
in mlsrv_err.log I have no any logs today
in servername:-server-.log:
2014-03-06 09:30:04.344 DEBUG MMS MboChangeDetection [com.sybase.sup.server.sis.MboChangeDetection] going to sync changed MBO detection with Cdb
2014-03-06 09:30:14.347 DEBUG MMS MboChangeDetection [com.sybase.sup.server.sis.MboChangeDetection] going to sync changed MBO detection with Cdb
2014-03-06 09:30:24.350 DEBUG MMS MboChangeDetection [com.sybase.sup.server.sis.MboChangeDetection] going to sync changed MBO detection with Cdb
2014-03-06 09:30:32.366 INFO Other Thread-536 [org.exolab.castor.xml.Marshaller] Marshaller called using one of the *static* marshal(Object, *) methods. This will ignore any mapping files as specified. Please consider switching to using Marshaller instances and calling one of the marshal(*) methods.
2014-03-06 09:30:32.423 INFO Other Thread-536 [org.exolab.castor.xml.Marshaller] Marshaller called using one of the *static* marshal(Object, *) methods. This will ignore any mapping files as specified. Please consider switching to using Marshaller instances and calling one of the marshal(*) methods.
i have no error in server logs.
but in messaging server logs:
1) 2014-03-06 09:30:21 Module=InboxMultiplexer, Description=Inbox Multiplexer unable to connect to server: Cannot connect to POP server - Log:__ Pop3BeginSession:__ DllDate: Dec 11 2008__ UnlockPrefix: SYBASEMAILQ__ Username: SYSTEM__ Component: Visual C++ 8.0__ Pop3Connect:__ Connecting to POP3 server__ hostname: localhost__ port: 110__ ssl: 0__ connectTimeoutMs: 30000__ heartbeatMs: 0__ socket is not ready for writing__ ConnectTimeoutMs: 30000__ Connect function failed.__ SocketError: WSAEWOULDBLOCK The socket would block.__ _ Failed to connect to POP3 server.__ Failed to start POP3 session__, Level=ERROR, User=, Application Connection ID=, Thread ID=0, Node=OWNR-SHJTPM5, Trace file name=OWNR-SHJTPM5_InboxMultiplexer_InboxMultiplexer_20140305T045650.txt, File attachment=, File name=, Line number=
2) 2014-03-06 09:30:21 Module=InboxMultiplexer, Description=Cannot connect to POP server - ChilkatLog:__ Pop3BeginSession:__ DllDate: Dec 11 2008__ UnlockPrefix: SYBASEMAILQ__ Username: SYSTEM__ Component: Visual C++ 8.0__ Pop3Connect:__ Connecting to POP3 server__ hostname: localhost__ port: 110__ ssl: 0__ connectTimeoutMs: 30000__ heartbeatMs: 0__ socket is not ready for writing__ ConnectTimeoutMs: 30000__ Connect function failed.__ SocketError: WSAEWOULDBLOCK The socket would block.__ For more information see http://www.chilkatsoft.com/p/p_172.asp__ Failed to connect to POP3 server.__ Failed to start POP3 session__, Level=ERROR, User=, Application Connection ID=, Thread ID=0, Node=OWNR-SHJTPM5, Trace file name=OWNR-SHJTPM5_InboxMultiplexer_InboxMultiplexer_20140305T045650.txt, File attachment=, File name=, Line number=
3) 2014-03-06 09:32:01 Module=TM, Description=Unauthenticated request for MO allowed., Level=ERROR, User=, Application Connection ID=, Thread ID=0, Node=OWNR-SHJTPM5, Trace file name=OWNR-SHJTPM5_OBMO_TM_20120629T135630.txt, File attachment=, File name=, Line number=
4) 2014-03-06 09:32:01 Module=MO, Description=No auth request, Level=ERROR, User=, Application Connection ID=, Thread ID=3352, Node=OWNR-SHJTPM5, Trace file name=OWNR-SHJTPM5_OBMO_MO_20140221T125616.txt, File attachment=, File name=, Line number=
5) 2014-03-06 09:32:02 Module=DeviceManagement, Description=AddDeviceRegistration: SendCommadToMMS - register - http status = BadRequest User: susov@proxyTest Device: e56fbab65df32547b34bc44b2f1756751ba782e0__com.sap.meps.employeelookup, Level=ERROR, User=, Application Connection ID=, Thread ID=0, Node=OWNR-SHJTPM5, Trace file name=OWNR-SHJTPM5_OBMO_DeviceManagement_20120620T145633.txt, File attachment=, File name=, Line number=
6) 2014-03-06 09:32:02 Module=DeviceManagement, Description=AddDeviceRegistration: User: susov@proxyTest MMS Authenticate returned 4, requestId=<none set>, Level=ERROR, User=, Application Connection ID=, Thread ID=0, Node=OWNR-SHJTPM5, Trace file name=OWNR-SHJTPM5_OBMO_DeviceManagement_20120620T145633.txt, File attachment=, File name=, Line number=
7) 2014-03-06 09:32:02 Module=DeviceManagement, Description=AddDeviceRegistration: MMS authentication failed. User: susov@proxyTest Device: e56fbab65df32547b34bc44b2f1756751ba782e0__com.sap.meps.employeelookup, Level=ERROR, User=, Application Connection ID=, Thread ID=0, Node=OWNR-SHJTPM5, Trace file name=OWNR-SHJTPM5_OBMO_DeviceManagement_20120620T145633.txt, File attachment=, File name=, Line number=
I am listing the steps you need to double check since the error say MMS authentication failed. User: susov@proxyTest. MMS authentication error sometimes happen when you are passing wrong credentials.
Midhun VP
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.