nativescript-background-http icon indicating copy to clipboard operation
nativescript-background-http copied to clipboard

IOS internal server error 502

Open vicmasa opened this issue 5 years ago • 0 comments

Hello, we created a service in AWS Lambda, which works fine on Android, but not on IOS (The request does not leave the device). Returns the following message:

responseCode: 502
message: Internal Server Error

We have placed the following settings in info.plist

<key>NSAppTransportSecurity</key>
	<dict>
		<key>NSAllowsArbitraryLoads</key>
		<true/>
		<key>NSExceptionDomains</key>
		<dict>
			<key>example.com</key>
			<dict>
				<key>NSExceptionAllowsInsecureHTTPLoads</key>
				<true/>
				<key>NSIncludesSubdomains</key>
				<true/>
			</dict>
		</dict>
	</dict>

Which platform(s) does your issue occur on?

  • iOS emulator (13.4.1)
  • CLI: 6.5.0

Please, tell us how to recreate the issue in as much detail as possible.

Select the blue "Obtener Imagen" button, and choose an image.

Code project vanilla:

https://github.com/vicmasa/ns-background-http-vanilla.git

Image Bug:

https://github.com/vicmasa/ns-background-http-vanilla/blob/master/app/images/bug_ios.png?raw=true

vicmasa avatar May 28 '20 21:05 vicmasa