cancel
Showing results for 
Search instead for 
Did you mean: 

Exception while synchronizing via http

Former Member
0 Kudos

I were using MI Client successfully for a while, then when I try to install a fresh installation I`m not able to sync and receive Mobile ID.

Traces log:

E Exception while synchronizing via http

com.sap.ip.me.api.services.HttpConnectionException: Exception while synchronizing (java.io.IOException: Server returned HTTP response code: 500 for URL: http://erpg0028:8001/sap/bc/MJC/mi_host?sysid=M01&client=300&~language=PT&ACKNOWLEDGE=&)

When I execute the this URL I receive the following message:

MISYNC c ÿ )User not authorized ("S_ME_SYNC" missing)

MISYNC role (pfcg) has S_ME_SYNC authorization object and Activity 38. But when I try to Test MJC service (sicf) default_host/sap/bc/MJC/mi_host fails. User MI_SERVICE seems to be ok and has S_ME_SYNC autho object either as it belongs to MISYNC role. mi_mds and mi_service connects successfully.

My server seems to be responding requests as I call below URL and it responses ok.

http://erpg0028:50100/meSync/servlet/meSync?sysid=M01&login=MI_SERVICE&password=*****&client=300&language=PT&acknowledge=X&~test=true&

To sum up, I'm not able to sync and receive Mobile ID for new installations, just MI Client that had already received Mobile IDs can sync data and application. Any ideias?

Regards,

Rogério

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Rogério

1. HTTP Response code 500 generally occurs whenever there is a short dump in the middleware or something went wrong in the middleware. So please check for any dumps in the middleware. Since you have mentioned in your last statement that device id is not getting generated, please apply note no. 1001292 and this should ideally solve your problem. Also there is a mandatory note 984207 which is a prerequisite for 1001292. Also check pleae check my reply in the following threads for furhter assistance.

2. The reason for the error message User not authorized ("S_ME_SYNC" missing) to occur despite tha fact that you have assinged this authorization to the user is because the user name you have mentioned when logging in to the URL you had menionted might be in lower case. Please enter the User name all in upper case and retry.

Do let me know if problem persists and hope this helps

Best Regards

Sivakumar

Former Member
0 Kudos

Hi Sivakumar,

1. I've applied note no. 1001292, as I'm using SP10, do not need to apply note no. 984207. Unfortunatelly error while synchronizing continues. Also I have read forum you told but I`ve already done that.

2. in sicf user MI_SERVICE is in upper case. Test Service mi_host is still failling. When I try to sync continues showing the message:

E Exception while synchronizing via http

com.sap.ip.me.api.services.HttpConnectionException: Exception while synchronizing (java.io.IOException: Server returned HTTP response code: 500 for URL: http://erpg0028:8001/sap/bc/MJC/mi_host?sysid=M01&client=300&~language=PT&ACKNOWLEDGE=&)

Calling URL

http://erpg0028:8001/sap/bc/MJC/mi_host?sysid=M01&client=300&~language=PT&ACKNOWLEDGE=&

shows message: MISYNC c ÿ )User not authorized ("S_ME_SYNC" missing)

By the way, I deactivate the mi_host service and I received the message:

Forbidden 403; The request is for something forbidden. Authorization will not help

I suppose that mi_host service is the problem, but I cannot realize why test service it's not working like mi_mds and mi_service as I'm using the same user (MI_SERVICE).

Best Regards,

Rogério

Message was edited by:

Rogério Tambellini

Former Member
0 Kudos

Hi Rogério,

Please, could you tell me how did you solve this issue??

Best regards,

Kings

Former Member
0 Kudos

Hi,

I had the same problem - because it seemed to be an authorisation issue, I used user MI_ADMIN instead of MI_SERVICE. Then it worked fine.

Hope this helps!

Regards,

Oliver