Search results for

Request failed with http status code 503

190,710 results found

Post

Replies

Boosts

Views

Activity

WeatherKit API: Getting random [503] Service Unavailable and [504] Gateway Time-out errors
Apple, Ya'll forced us off DarkSky today in favor of Apple WeatherKit. This is a not a very good introduction because our web applications are currently not displaying current weather conditions. When I dig into it I see random [503] Service Unavailable and [504] Gateway Time-out errors. Sometimes it works and sometimes it doesn't. DarkSky never had an issue like this for years. It's looking like WeatherKit is having a problem even though your system status page seems to think everything is normal. https://developer.apple.com/system-status/. How do I know if I am being blocked or rate limited? I'd expect to see 429 response codes if this were the case.
4
0
994
Mar ’23
Reply to Error 57 : "Socket is not connected" since iOS 10 - 2
Hey deltaposter,I opened a thread about the same issue about 3 weeks ago, and I was just about to write a new post in it (url is https://forums.developer.apple.com/thread/67606 ).I did not manage to resolve the issue yet, however, I'm able to reproduce it in a new project by sending requests to my server.I know that the system logs you're seeing (Connection is not ready, Socket is not connected..) do not necessarily mean that the request will fail.However, I get an error callback when the issue happens, either in connection:DidFailWithError: or in the URLSessionDataTask completion handler when using URLSession, saying that The network connection was lost.In my case, it only happens over Wifi, never over cellular connection. It seems that the request fails even though it actually received data ; the response status code is 200, and received data may be incomplete, but the connection was terminated before receiving all of the data.
Nov ’16
In-App Purchase failing with no status after payment method update
We have implemented the non-renewable subscription but in-app purchase is not working properly when payment methods not added or trying to purchase using expired credit after update the payment methods at purchase time. We have had many users reporting that they have paid our product via in-app but we have failed to give him any status about the content because we haven't any purchase status after updating her payment methods. We have found that the issue occurred when the customer prompted to update their app store payment information during the IAP process. Any help that can be offered would be appreciated.
0
0
313
Jul ’20
Reply to Swift - Http get request to class
This is what I am trying to do: struct shellyProperties : Codable { let device_id: String let name: String let app: String let model: String let stock_fw_model: String let host: String let version: String let fw_build: String let uptime: Int let failsafe_mode: Bool let auth_en: Bool } func GetShellyProp(ip : String)-> shellyProperties{ var shelly_dev = shellyProperties(device_id: , name: , app: , model: , stock_fw_model: , host: , version: , fw_build: , uptime: 0, failsafe_mode: false, auth_en: false) // Create URL let url = URL(string: http:// + ip + /rpc/Shelly.GetInfo) //let url = URL(string: http:// + 10.0.1.6 + /rpc/Shelly.GetInfo) guard let requestUrl = url else { fatalError() } // Create URL Request var request = URLRequest(url: requestUrl) // Specify HTTP Method to use request.httpMethod = GET // Send HTTP Request let task = URLSession.shared.dataTask(with: request) { (data, response, error) in // Check if Error took place if l
Jun ’21
Reply to Notary tool returns status: Invalid
[09:28:18.369Z] Info [API] Initial status: In Progress) [09:28:18.371Z] Info [API] Waiting 5 seconds before next poll... [09:28:23.374Z] Info [API] Preparing GET request to URL: https://appstoreconnect.apple.com/notary/v2/submissions/75b7dc7b-364b-4929-a6f1-184bf3fd830d?, Parameters: [:] [09:28:23.377Z] Debug [AUTHENTICATION] Using cached token value for app-specific password request: MYTEAMID:MYAPPLEID [09:28:23.379Z] Debug [AUTHENTICATION] Authenticating request with App Specific Password credentials. AppleID: MYAPPLEID, Password: private, Team ID: MYTEAMID [09:28:23.381Z] Debug [TASKMANAGER] Starting Task Manager loop to wait for asynchronous HTTP calls. [09:28:23.867Z] Debug [API] Received response status code: 200, message: no error, URL: https://appstoreconnect.apple.com/notary/v2/submissions/75b7dc7b-364b-4929-a6f1-184bf3fd830d?, Correlation Key: LCSKFK6SWNEQAYSLKCBQM2TBVM [09:28:23.870Z] Debug [TASKMANAGER] Completed Task
Topic: Code Signing SubTopic: Notarization Tags:
May ’24
Receipt Validation Failing with Status 21002 in Sandbox – Valid Receipt from purchaseUpdatedListener.
Hi Apple Developer Support, We're currently implementing auto-renewable subscriptions in a React Native app using the react-native-iap library. The subscription purchases are working as expected in Sandbox. We receive the transaction and purchaseUpdatedListener gives us a valid-looking transactionReceipt However, when we attempt to validate this receipt with Apple's servers, the response consistently returns status code 21002, indicating that the receipt data is either malformed or missing. We’ve confirmed the receipt is well-formed, properly passed as received, and well above the minimum size expected. The shared secret is correctly configured and matches the subscription group. We're using the correct sandbox endpoint and ensuring no modification is done to the receipt before validation. Despite this, validation fails every time. We are looking for guidance or clarification on what might cause this status, especially when the receipt is coming directly from the system aft
1
0
88
Jun ’25
"code signing swiftkeychainwrapper.framework failed"
Hello there,When I want to distribute my .ipa file, I'm getting code signing failed error at the end of process.The distribution standard log: code = 306; description = Failed to resolve rpath for Alamofire: Could not resolve @executable_path for @executable_path/Frameworks from Alamofire; info = { }; level = WARN; }, { code = 306; description = Failed to resolve rpath for SwiftKeychainWrapper: Could not resolve @executable_path for @executable_path/Frameworks from SwiftKeychainWrapper; info = { }; level = WARN; }, { code = 330; description = Failed to resolve linkage dependency SwiftKeychainWrapper i386 -> @rpath/libswiftCore.dylib: Unknown arch i386; info = { }; level = WARN; },The distribution pipeline log:2018-09-22 21:17:51 +0000 /var/folders/tm/1dmb5cd92zx5txhhfz_5jbpm0000gn/T/XcodeDistPipeline.gwn/Root/Payload/MyApp.app/Frameworks/SwiftKeychainWrapper.framework: code object is not signed at all2018-09-22 21:17:51 +0000
0
0
850
Sep ’18
Can I send a http request in iPhone Safari extension?
func itemLoadCompletedWithPreprocessingResults(_ javaScriptPreprocessingResults: [String: Any]) { let configuration = URLSessionConfiguration.background(withIdentifier: com.wdy.backgroundsession) configuration.sharedContainerIdentifier = group.com.joe.WebSiteTranslator let session = URLSession(configuration: configuration, delegate: self, delegateQueue: nil) var request = URLRequest(url: URL(string: http://fanyi.sogou.com/reventondc/api/sogouTranslate)!) request.setValue(application/x-www-form-urlencoded, forHTTPHeaderField: Content-Type) request.httpMethod = POST let postString = params.compactMap({ (key, value) -> String in return (key)=(value) }).joined(separator: &) request.httpBody = postString.data(using: .utf8) let _ = session.dataTask(with: request) self.doneWithResults([newURL: ]) }This is the error message I received2019-11-25 17:41:38.646931+0800 Extension[13136:457276] Task <A8690996-9E59-43DB-B8CB-24EEBD75BB5A>.<1> load failed with error Erro
0
0
462
Nov ’19
Reply to Swift Post request ,Django backend
what should I do? Provide more information about your problem. 😉 What is that “result” string: the body of the server response, something in the server log, something else? Assuming you get a valid HTTP response (though not shown in your code), what is the status code: 200? 4XX? What is the body of the response? You don’t set a Content-Type: application/json header. Does your server require that header in order to handle the request?
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’22
Reply to Notary tool returns status: Invalid
[09:28:34.849Z] Info [API] Received new status: In Progress Current status: In Progress.....[09:28:34.851Z] Info [API] Waiting 5 seconds before next poll... [09:28:39.853Z] Info [API] Preparing GET request to URL: https://appstoreconnect.apple.com/notary/v2/submissions/75b7dc7b-364b-4929-a6f1-184bf3fd830d?, Parameters: [:] [09:28:39.854Z] Debug [AUTHENTICATION] Using cached token value for app-specific password request: MYTEAMID:MYAPPLEID [09:28:39.856Z] Debug [AUTHENTICATION] Authenticating request with App Specific Password credentials. AppleID: MYAPPLEID, Password: private, Team ID: MYTEAMID [09:28:39.858Z] Debug [TASKMANAGER] Starting Task Manager loop to wait for asynchronous HTTP calls. [09:28:40.254Z] Debug [API] Received response status code: 200, message: no error, URL: https://appstoreconnect.apple.com/notary/v2/submissions/75b7dc7b-364b-4929-a6f1-184bf3fd830d?, Correlation Key: GTFTIB7L665HT574EVFF5FZ7DM [09:2
Topic: Code Signing SubTopic: Notarization Tags:
May ’24
kextload failed "Authenticating extension failed: Bad code signature."
I get this error when loading kext. Authenticating extension failed: Bad code signature. The MacBook system status is as follows. There are a few points to illustrate. This kext file works fine with SIP turned off in MacBook 2018 (MacOS 10.14.6). This kext will not be released, it will only be used for debugging within our own group. This kext has been compiled into the arm64 version. The SIP option has been turned off in recovery mode and the option to reduce security has been checked for kext testing. I want to use this kext (and not distribute) if I have to use the Apple Developer program for authentication and signing and authentication. What should I do if I don't need to? Or is it not caused by certified signatures?
0
0
1.1k
Mar ’23
Validating receipt comes back with status code 21002
Problem I'm having when validating auto-renewable receiptStatus code: status code 21002Apple said: The data in the receipt-data property was malformed or missing.Trying to validate receipt server side to prevent hacks. In app purchases for auto-renewable subscription. I had converted this code from Swift 1 to Swift 3 so maybe the code is old and apple changed its ways so maybe someone can help me.Every time I run the validateReceipt() function in viewDidLoad and before I show my content. The validateReceipt() is supposed to update a isValidated bool to true when correct and false to when not validated, to continue to MainController.Using the sandbox url https://sandbox.itunes.apple.com/verifyReceiptHere is the validateReceipt() functionfunc validateReceipt() { let receiptUrl = Bundle.main.appStoreReceiptURL do { let receipt: Data = try Data(contentsOf:receiptUrl!) let receiptdata: NSString = receipt.base64EncodedString(options: NSData.Base64EncodingOptions
0
0
4.4k
Aug ’17
Apple Search Ads - 503 service unavailable error on fetching “acls” endpoint.
Hi team, Kirill Zharskii from Fivetran engineering team is here with a question related to Search Ads API. Several of our connectors are facing an issue trying to fetch acls endpoint: curl -X GET -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'Authorization: Bearer ' -H 'X-AP-Context: orgId=null' -A 'Jersey/2.45' 'https://api.searchads.apple.com/api/v5/acls?limit=1000&offset=0' the response is 503 service unavailable, but the request for token works fine. the issue started about 12 hours ago and going on. could you please share some input? TIA
0
0
170
Aug ’25