Parse-SDK-iOS-OSX icon indicating copy to clipboard operation
Parse-SDK-iOS-OSX copied to clipboard

iOS SDK makes frequent queries to parse-server with a Content-Length and empty POST body

Open woodardj opened this issue 7 years ago • 3 comments

Several times per minute, we see queries to our Parse Server which have non-zero Content-Length headers set, but which have empty body. This causes Parse Server to stall out while waiting for data. I have an issue filed over there as well, in case it's an issue that can be corrected server side. (https://github.com/parse-community/parse-server/issues/4068)

However, these are almost always iOS devices making these bad queries (our iOS and Android apps use different subdomains to reach the same server), and they are always to /parse/classes/:class/:classID queries/routes being requested via the SDK's findInBackground.

We see this on 'X-Parse-Client-Version', 'i1.15.3' and all previous versions.

Anyone else have this experience? Is there a way we could fix this in our App code? I'm sort of at a loss.

woodardj avatar Nov 06 '17 21:11 woodardj

@woodardj can you pinpoint which call in the SDK is doing so and provide steps to reproduce?

flovilmart avatar Jan 21 '18 20:01 flovilmart

I'm afraid I can't at the moment. Is it possible that poor network performance (or carrier drops) could be causing this? It's pretty frequent, and I'd be surprised if it were just us. iOS is also not my specialty, so I'm not even sure what to look for.

But I can say this seems to happen most frequently with _Installation requests.

woodardj avatar Feb 28 '18 22:02 woodardj

This still an issue with the latest version?

noobs2ninjas avatar Mar 10 '20 16:03 noobs2ninjas