Skip to content

IOS internal server error 502 #264

Description

@vicmasa

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions