Hello Milestone Community 
When trying to request a stream via the mobileSDK, I have a longer waiting time since few days, because of a new error :
Response error SecurityError 19
(full error in attachement)
It happens after the login, and it can occurs 2 or 4 times before displaying the stream.
My code hasnât change so maybe it is a configuration on the server side ?
Thanks for your help,
have a nice day,
Jeremy
Hi Jeremy,
There are two scenarios when server will return SecurityError 19.
The first one is in the Connect Command which you seems to have passed successfully so lets look at the second one.
If CHAP is enabled on the server every command send by the integration will contain a challenge that is verified by the server. If a challenge is older than an hour or itâs not valid the error code will be 19.
Something else you might look for in the mobile server logs is âCheckChallengeâ error lines.
What you can do is
- in case your session is longer than our make sure not using old challenges
- disable chap by âsupportsCHAPâ flag described here https://doc.developer.milestonesys.com/mipsdkmobile/reference/WebSDKdoc/XPMobileSDKSettings.html
- make sure no challenge logs in the logs
Hello Stoyan,
disabling supportsCHAP, I donât have any âerror getting challengesâ and âsecurityerror 19â anymore.
thanks !
Just so I understand better, since the begining, I have, after login, an error getting challenge. (even with the MultiplePlayback sample out of the box)
What can explain this error, until now, this error didnât affect us so much, so I admin, I let it go and didnât dig on this.
But why there was an error, as the login was good, and the requestStream give me the video feed ?
Anyway, thanks for the help ! I donât have the error now, and it seems a little faster
Jeremy