Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS internal server error 502 #264

Open
vicmasa opened this issue May 28, 2020 · 0 comments
Open

IOS internal server error 502 #264

vicmasa opened this issue May 28, 2020 · 0 comments

Comments

@vicmasa
Copy link

vicmasa commented May 28, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant