Dear Community,
I've been encountering the most curious problem recently. I'm running SMP 3.0 SP06.
My native iOS app is registering as follows:
performing POST request to:
setting content type: application/atom+xml; charset=UTF-8
DEBUG: session headers [Accept: application/json, Accept-Encoding: gzip, deflate]
DEBUG: request headers [Content-Type: application/atom+xml; charset=UTF-8, X-SMP-APPCID: A667E94D-E41C-4AE9-BAFD-A811FE10D6B6-391-0000006C2DB681F0]
DEBUG: request parameters:
<?xml version="1.0" encoding="utf-8"?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"><content type="application/xml"><m:properties><d:DeviceType>iPad</d:DeviceType></m:properties></content></entry>
Now the result I am receiving is most puzzling:
<NSHTTPURLResponse: 0x17462e200> { URL: https://MYURL/ias_relay_server/client/rs_client.dll/MYFARM/odata/applications/latest/MYAPP/Connections }
{ status code: 413, headers {
Connection = close;
"Content-Length" = 0;
Date = "Fri, 27 Mar 2015 01:12:15 GMT";
Server = "Microsoft-IIS/7.5";
} }
I find status code 413 very interesting: http://tools.ietf.org/html/rfc7231#section-6.5.11
413 Payload Too Large
The 413 (Payload Too Large) status code indicates that the server is
refusing to process a request because the request payload is larger
than the server is willing or able to process. The server MAY close
the connection to prevent the client from continuing the request.
If the condition is temporary, the server SHOULD generate a
Retry-After header field to indicate that it is temporary and after
what time the client MAY try again.
Any help would be highly appreciated.
cheers
Ronny