Send Multilingual Push Notification Fail

0 votes

While sending message on Roman alphabet messages delivered ok.

  pushnotificationService.sendPushMessageToUser(userName,message);  

If I change alphabet  to other (in my case Cyrillic alphabet) I get 1401 error, why ?

HashMap<String, String> otherMetaHeaders = new HashMap<String, String>();  
otherMetaHeaders.put("dataEncoding", "true");  
pushnotificationService.setOtherMetaHeaders(otherMetaHeaders) ;
 
{"app42Fault":{"httpErrorCode":401,"appErrorCode":1401,"message":"UnAuthorized Access","details":"Client is not authorized"}}
 
I have tested api on Java language. Under eclipse Cyrillic alphabet works ok but executed jar file fails with above reason.
 
Thanks.
 
EDIT
 
I have captured network traffic in case of success push (from eclipse) and fail push (from runnable jar).The difference I have noticed that in success case on of connection is SSL,and in fail case the same connection is TLS. I have attached document with captured traffic - the differnce is in fourth line in success request compare to fail..  http://www.filedropper.com/pushdetails
 
 
asked Jun 16, 2014 in App42 Cloud API-BaaS by aputov (16 points)
edited Jun 17, 2014 by aputov

1 Answer

0 votes
Hi,

Can you provide some more details like which SDK version you are working on.

And the exact code snippet in which you are getting error with logs. So that we can tell you whats going wrong with it.

Thanks.
answered Jun 17, 2014 by hs00105 (517 points)
I have updated question
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...