Search results for

“Request failed with http status code 503”

200,991 results found

Post

Replies

Boosts

Views

Activity

Failed to authorize rights (0x1) with status: -60007.
I found that Xcode 7.3 is no longer able to launch unit tests requiring iOS simulator. Xcode 7.2.1 was able to. I am seeing this with GitLab-CI and using a runner on my iMac where I updated to Xcode 7.3 two days ago:You now get the error message after the unit test build:Failed to authorize rights (0x1) with status: -60007.For some reason OS X now requires some user interaction when launching the simulator which is not possible because there is no interaction allowed, the runner runs as daemon. If you google for this message then you find solutions related to the keychain. But in this case no code signing occurs since this is a simulator build.Anybody know how to work around the issue? Is that an Xcode 7.3 bug?cheersOliver
6
0
1.5k
Mar ’16
ATS HTTP Request using NSURLConnection
Hello, I am well aware from searching and reading other members' posts that NSURLConnection is going to be deprecated starting iOS 9 and replaced with NSURLSession. I am also aware that NSURLSessions cannot make requests to http domains without modifying the info.plist file. However, when I was using the previous version of iOS9 (beta 3), I was able to successfully use NSURLConnections to make requests to http domains without being blocked by ATS. After upgrading to beta 4, even NSURLConnection requests are being blocked.Is this intentional as part of Apple's movement to only support HTTPS requests, or will I be able to make http requests without modifying info.plist as long as I use NSURLConnections?Thanks
1
0
386
Jul ’15
NSURLSessionTask delegate method URLSession:task:didCompleteWithError: returns an NSError for HTTP error status
The documentation says Server errors are not reported through the error parameter. The only errors your delegate receives through the error parameter are client-side errors, such as being unable to resolve the hostname or connect to the host, but on iOS8.3 and 8.4 we're finding that non-successful HTTP status response codes are being translated into NSError objects.For example if the HTTP repsonse is a 404, the error parameter is an instance of:Domain=NSURLErrorDomain Code=-1100 The requested URL was not found on this server. UserInfo=0x17347f0c0 {NSErrorFailingURLKey=..., NSLocalizedDescription=The requested URL was not found on this server., NSErrorFailingURLStringKey=...This does not happen on iOS9. On iOS9 the error parameter is nil for a 404 HTTP response.Is this a bug in NSURLSession on iOS8? Or is there something I'm doing wrong?
4
0
2.2k
Feb ’16
Xcode Cloud build failing with 502 HTTP error at code-signing step
Having an issue today where archives on Xcode Cloud are failing at the Code Signing step. The error reported by Xcode Cloud has been one of the 2 following: 502 error from developerservices2.apple.com Unexpected character 'u' (I assume this is in some way related to the HTTP failure above, but please correct me if I'm wrong) Sometimes they even appear together, with the HTTP error as a warning and the unexpected character as the error I assume this is some kind of Xcode Cloud / developer tools outage. I saw another post on the forum from 3 weeks ago that reported the same errors coming from Xcode Cloud. I also saw that there is a Resolved Outage with Xcode Cloud from 8/19 (maybe that is related)? Has anyone found a way around this? Any updates on when this will be resolved? It has been happening for us consistently since the first Xcode Cloud archive that we ran today (around 10AM EDT).
6
0
999
Aug ’24
Handling receipt validation status code for consumable product
My app has consumable in-app purchase products. The app is using Original API for In-App Purchase. When the user purchase in-app product, the app sends the receipt to our web server which then validates the receipt throw the App Store api. The App Store validates the receipt and gives us the response with a status code. The problem is here. It's obvious how to handle a 'valid receipt' response status code which is 0. But the document is not straight about handling response code which isn't 0. Should we call finishTransaction when the response code isn't 0? or should we not? If we don't call finishTransaction, we are worried that the transaction will stay alive and loop forever. If we call finishTransaction, we are worried that we might ignore a valid purchase and not give the consumable product that user purchased. Is there a right way to handle this? Original API for In-App Purchase: https://developer.apple.com/documentation/storekit/in-app_purch
0
0
811
Mar ’23
Which status codes are conclusive proof of invalidity?
I have my IAP setup all working, but one thing I am not sure about is how to react to each of the status codes that can be generated for Receipt Validation on the server.Status of 0 is success. That is clear, but of the others, which ones say conclusively This is definitely not a valid receipt? Seems like a fundamental question, but it is not clear to me from the docs: https://developer.apple.com/library/content/releasenotes/General/ValidateAppStoreReceipt/Chapters/ValidateRemotely.htmlEg.21002 is clearly a problem with the request, so doesn't necessarily mean the receipt is false.21005 is clearly not a receipt problem.21007 and 21008 are simply asking the wrong server, not a receipt problem.21010 does seem to indicate the receipt is invalid.21003 says the receipt could not be authenticated. Does that mean the user mistyped their password? Or is this, just like 21010, conclusive proof the receipt is invalid?Thanks in advance.Drew
1
0
3.0k
Jan ’18
SKProductsRequest failing because uses http instead https
Hello.I am to use wifi connection without http, https only.My SKProductsRequest failing with error: “Cannot connect to the iTunes Store”description:{ NSErrorFailingURLKey = http://sandbox.itunes.apple.com/bag.xml?ix=6&os=10&locale=en_EN; NSErrorFailingURLStringKey = http://sandbox.itunes.apple.com/bag.xml?ix=6&os=10&locale=en_EN; NSLocalizedDescription = Cannot connect to iTunes Store; NSUnderlyingError = Error Domain=kCFErrorDomainCFNetwork Code=-1001 (null) UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}; _kCFStreamErrorCodeKey = -2102; (long)72057594037925834 _kCFStreamErrorDomainKey = 4;}NSErrorFailingURLKey and NSErrorFailingURLKey contain http host instead https. Why http? How fix it?If switch to wifi connection with http then SKProductsRequest succefully.ipad. sandboxios 10.0.1xcode 8.1Thanks
1
0
1.1k
Jan ’17
code level support case status
I created a code level support request over a month ago and have not heard anything back about it. I am wondering if I missed an email or something. I had thought that the page listing my cases would have a link showing the history of my request including the original request info but all I see is a list containing 2 items:Case ID: 673523773 CREDITRequested by: <email>Created: September 19, 2017Case ID: 673523773 USERequested by: <email>Created: September 18, 2017How do you get more details on your case id?What does 'Credit' and 'Use' mean here?Is there some documetation some where explaining this?
2
0
2.4k
Oct ’17
Reply to Upstream Service Error when using MusicDataRequest
I got a lot these errors when adding tracks/playlists: POST https://api.music.apple.com/v1/me/library/playlists {errors:[{id:INX45ZUMMU3X5IOJXDFSYKMFY4,title:Internal Service Error,status:500,code:50000}]} POST https://api.music.apple.com/v1/me/library/playlists {errors:[{id:X6N5JWHWOPS2XH6Y35AACK4MOU,title:Internal Service Error,status:500,code:50000}]} POST https://api.music.apple.com/v1/me/library/playlists {errors:[{id:EHS25JSUVBQR4Q5MALSZJLQM4Y,title:Internal Service Error,status:500,code:50000}]} POST https://api.music.apple.com/v1/me/library/playlists {errors:[{id:KV4SPLAGH3U7L2O5LAJDXFD3P4,title:Internal Service Error,status:500,code:50000}]} POST https://api.music.apple.com/v1/me/library/playlists {errors:[{id:FOM7LPKXJXXZVNMCF44CCEKTRE,title:Internal Service Error,status:500,code:50000}]}
Topic: Media Technologies SubTopic: General Tags:
Jun ’24
Http Error Code:417, Expectation Failed during merchant validation
I am trying to do merchant validation in Java. Before that, I completed these steps:- Registered Merchant Id, generated CSR, created merchant id and payment processing certificates. Registered and verified domain & allowed Https connection to sandbox IPs on port 443 and whitelisted IPs for domain verification. generated validation Url , using it to create ApplePay Payment Session. Below is a snapshot of my code: String file=classLoader.getResource(/merchant.p12).getFile(); FileInputStream fileN=new FileInputStream(file); clientStore.load(fileN,keyStorePassword.toCharArray()); KeyManagerFactory kmf = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm()); kmf.init(clientStore, keyStorePassword.toCharArray()); KeyManager[] kms = kmf.getKeyManagers(); SSLContext sslContext = null; sslContext = SSLContext.getInstance(TLSv1.2); sslContext.init(kms, null, new SecureRandom()); HttpsURLConnection.setDefaultSSLSocketFactory(sslContext.getSocketFactory()); URL url= new URL(validati
1
0
1.5k
Jul ’20
Reply to Apple Pay for the Web Merchant Validation
A list of status codes would be helpful.I am actually executing the curl request from my development machine, which is from an IP address (not accessible via any domain name) for testing/development purposes. I realize that Apple documentated to make the merchant validation request from the production webserver, but why and how would they enforce that? It seems that all the security checks is in the fact that the SSL certificate passed with every HTTP POST request will be validated and that is all Apple should be relying on (this isn't an oAuth 2.0 callback architecture). The certificate is valid, because if it wasn't I would even get back a HTTP response at all.
Aug ’16
Reply to Thoughts while looking into upgrading from SCNetworkReachabilityGetFlags to NWPathMonitor
When we made this, like back in 2013, we (thought we) had situations where the system killed the geofence trigger before it had a chance to complete its network request. The thought was that if we checked the network status before we do the actual http request, we reduced the risk of the trigger being killed before we had a chance to put up a notification explaining to the user that we failed and why. We do the whole UIBackgroundTaskIdentifier but back then the documentation (we thought at the time) made it a bit uncertain if we could be sure that we'd always get a chance to finish and clean up properly.
Dec ’25
Reply to Cannot download iOS 17.0 Simulator on xcode
Same issue here. For context, I was using the Xcode 15 beta since June and everything worked just fine. However, after Xcode updated through the App Store last night, none of my simulators will download. I get the same Failed with HTTP status 400: bad request error. Removed and re-downloaded Xcode, issue persists. I can't figure out what's going on here.
Sep ’23
Failed to authorize rights (0x1) with status: -60007.
I found that Xcode 7.3 is no longer able to launch unit tests requiring iOS simulator. Xcode 7.2.1 was able to. I am seeing this with GitLab-CI and using a runner on my iMac where I updated to Xcode 7.3 two days ago:You now get the error message after the unit test build:Failed to authorize rights (0x1) with status: -60007.For some reason OS X now requires some user interaction when launching the simulator which is not possible because there is no interaction allowed, the runner runs as daemon. If you google for this message then you find solutions related to the keychain. But in this case no code signing occurs since this is a simulator build.Anybody know how to work around the issue? Is that an Xcode 7.3 bug?cheersOliver
Replies
6
Boosts
0
Views
1.5k
Activity
Mar ’16
ATS HTTP Request using NSURLConnection
Hello, I am well aware from searching and reading other members' posts that NSURLConnection is going to be deprecated starting iOS 9 and replaced with NSURLSession. I am also aware that NSURLSessions cannot make requests to http domains without modifying the info.plist file. However, when I was using the previous version of iOS9 (beta 3), I was able to successfully use NSURLConnections to make requests to http domains without being blocked by ATS. After upgrading to beta 4, even NSURLConnection requests are being blocked.Is this intentional as part of Apple's movement to only support HTTPS requests, or will I be able to make http requests without modifying info.plist as long as I use NSURLConnections?Thanks
Replies
1
Boosts
0
Views
386
Activity
Jul ’15
NSURLSessionTask delegate method URLSession:task:didCompleteWithError: returns an NSError for HTTP error status
The documentation says Server errors are not reported through the error parameter. The only errors your delegate receives through the error parameter are client-side errors, such as being unable to resolve the hostname or connect to the host, but on iOS8.3 and 8.4 we're finding that non-successful HTTP status response codes are being translated into NSError objects.For example if the HTTP repsonse is a 404, the error parameter is an instance of:Domain=NSURLErrorDomain Code=-1100 The requested URL was not found on this server. UserInfo=0x17347f0c0 {NSErrorFailingURLKey=..., NSLocalizedDescription=The requested URL was not found on this server., NSErrorFailingURLStringKey=...This does not happen on iOS9. On iOS9 the error parameter is nil for a 404 HTTP response.Is this a bug in NSURLSession on iOS8? Or is there something I'm doing wrong?
Replies
4
Boosts
0
Views
2.2k
Activity
Feb ’16
Xcode Cloud build failing with 502 HTTP error at code-signing step
Having an issue today where archives on Xcode Cloud are failing at the Code Signing step. The error reported by Xcode Cloud has been one of the 2 following: 502 error from developerservices2.apple.com Unexpected character 'u' (I assume this is in some way related to the HTTP failure above, but please correct me if I'm wrong) Sometimes they even appear together, with the HTTP error as a warning and the unexpected character as the error I assume this is some kind of Xcode Cloud / developer tools outage. I saw another post on the forum from 3 weeks ago that reported the same errors coming from Xcode Cloud. I also saw that there is a Resolved Outage with Xcode Cloud from 8/19 (maybe that is related)? Has anyone found a way around this? Any updates on when this will be resolved? It has been happening for us consistently since the first Xcode Cloud archive that we ran today (around 10AM EDT).
Replies
6
Boosts
0
Views
999
Activity
Aug ’24
Handling receipt validation status code for consumable product
My app has consumable in-app purchase products. The app is using Original API for In-App Purchase. When the user purchase in-app product, the app sends the receipt to our web server which then validates the receipt throw the App Store api. The App Store validates the receipt and gives us the response with a status code. The problem is here. It's obvious how to handle a 'valid receipt' response status code which is 0. But the document is not straight about handling response code which isn't 0. Should we call finishTransaction when the response code isn't 0? or should we not? If we don't call finishTransaction, we are worried that the transaction will stay alive and loop forever. If we call finishTransaction, we are worried that we might ignore a valid purchase and not give the consumable product that user purchased. Is there a right way to handle this? Original API for In-App Purchase: https://developer.apple.com/documentation/storekit/in-app_purch
Replies
0
Boosts
0
Views
811
Activity
Mar ’23
Code signing failed
Every time I try to upload a app to App Store Connect Code signing OSM.app failed. this happens when ever I try to every app
Replies
0
Boosts
0
Views
442
Activity
Jul ’21
Sandbox environment returns 21003 status code for receipt validation
When I test an in-app purchase with the sandbox the post request to the sandbox url https://sandbox.itunes.apple.com/verifyReceipt returns data: { environment: 'Sandbox', status: 21003 } Is this expected? I'd assumed my test receipt would be considered valid for the sandbox environment and return a status of 0.
Replies
1
Boosts
0
Views
4.2k
Activity
Jun ’21
Which status codes are conclusive proof of invalidity?
I have my IAP setup all working, but one thing I am not sure about is how to react to each of the status codes that can be generated for Receipt Validation on the server.Status of 0 is success. That is clear, but of the others, which ones say conclusively This is definitely not a valid receipt? Seems like a fundamental question, but it is not clear to me from the docs: https://developer.apple.com/library/content/releasenotes/General/ValidateAppStoreReceipt/Chapters/ValidateRemotely.htmlEg.21002 is clearly a problem with the request, so doesn't necessarily mean the receipt is false.21005 is clearly not a receipt problem.21007 and 21008 are simply asking the wrong server, not a receipt problem.21010 does seem to indicate the receipt is invalid.21003 says the receipt could not be authenticated. Does that mean the user mistyped their password? Or is this, just like 21010, conclusive proof the receipt is invalid?Thanks in advance.Drew
Replies
1
Boosts
0
Views
3.0k
Activity
Jan ’18
SKProductsRequest failing because uses http instead https
Hello.I am to use wifi connection without http, https only.My SKProductsRequest failing with error: “Cannot connect to the iTunes Store”description:{ NSErrorFailingURLKey = http://sandbox.itunes.apple.com/bag.xml?ix=6&os=10&locale=en_EN; NSErrorFailingURLStringKey = http://sandbox.itunes.apple.com/bag.xml?ix=6&os=10&locale=en_EN; NSLocalizedDescription = Cannot connect to iTunes Store; NSUnderlyingError = Error Domain=kCFErrorDomainCFNetwork Code=-1001 (null) UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}; _kCFStreamErrorCodeKey = -2102; (long)72057594037925834 _kCFStreamErrorDomainKey = 4;}NSErrorFailingURLKey and NSErrorFailingURLKey contain http host instead https. Why http? How fix it?If switch to wifi connection with http then SKProductsRequest succefully.ipad. sandboxios 10.0.1xcode 8.1Thanks
Replies
1
Boosts
0
Views
1.1k
Activity
Jan ’17
code level support case status
I created a code level support request over a month ago and have not heard anything back about it. I am wondering if I missed an email or something. I had thought that the page listing my cases would have a link showing the history of my request including the original request info but all I see is a list containing 2 items:Case ID: 673523773 CREDITRequested by: <email>Created: September 19, 2017Case ID: 673523773 USERequested by: <email>Created: September 18, 2017How do you get more details on your case id?What does 'Credit' and 'Use' mean here?Is there some documetation some where explaining this?
Replies
2
Boosts
0
Views
2.4k
Activity
Oct ’17
Reply to Upstream Service Error when using MusicDataRequest
I got a lot these errors when adding tracks/playlists: POST https://api.music.apple.com/v1/me/library/playlists {errors:[{id:INX45ZUMMU3X5IOJXDFSYKMFY4,title:Internal Service Error,status:500,code:50000}]} POST https://api.music.apple.com/v1/me/library/playlists {errors:[{id:X6N5JWHWOPS2XH6Y35AACK4MOU,title:Internal Service Error,status:500,code:50000}]} POST https://api.music.apple.com/v1/me/library/playlists {errors:[{id:EHS25JSUVBQR4Q5MALSZJLQM4Y,title:Internal Service Error,status:500,code:50000}]} POST https://api.music.apple.com/v1/me/library/playlists {errors:[{id:KV4SPLAGH3U7L2O5LAJDXFD3P4,title:Internal Service Error,status:500,code:50000}]} POST https://api.music.apple.com/v1/me/library/playlists {errors:[{id:FOM7LPKXJXXZVNMCF44CCEKTRE,title:Internal Service Error,status:500,code:50000}]}
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’24
Http Error Code:417, Expectation Failed during merchant validation
I am trying to do merchant validation in Java. Before that, I completed these steps:- Registered Merchant Id, generated CSR, created merchant id and payment processing certificates. Registered and verified domain & allowed Https connection to sandbox IPs on port 443 and whitelisted IPs for domain verification. generated validation Url , using it to create ApplePay Payment Session. Below is a snapshot of my code: String file=classLoader.getResource(/merchant.p12).getFile(); FileInputStream fileN=new FileInputStream(file); clientStore.load(fileN,keyStorePassword.toCharArray()); KeyManagerFactory kmf = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm()); kmf.init(clientStore, keyStorePassword.toCharArray()); KeyManager[] kms = kmf.getKeyManagers(); SSLContext sslContext = null; sslContext = SSLContext.getInstance(TLSv1.2); sslContext.init(kms, null, new SecureRandom()); HttpsURLConnection.setDefaultSSLSocketFactory(sslContext.getSocketFactory()); URL url= new URL(validati
Replies
1
Boosts
0
Views
1.5k
Activity
Jul ’20
Reply to Apple Pay for the Web Merchant Validation
A list of status codes would be helpful.I am actually executing the curl request from my development machine, which is from an IP address (not accessible via any domain name) for testing/development purposes. I realize that Apple documentated to make the merchant validation request from the production webserver, but why and how would they enforce that? It seems that all the security checks is in the fact that the SSL certificate passed with every HTTP POST request will be validated and that is all Apple should be relying on (this isn't an oAuth 2.0 callback architecture). The certificate is valid, because if it wasn't I would even get back a HTTP response at all.
Replies
Boosts
Views
Activity
Aug ’16
Reply to Thoughts while looking into upgrading from SCNetworkReachabilityGetFlags to NWPathMonitor
When we made this, like back in 2013, we (thought we) had situations where the system killed the geofence trigger before it had a chance to complete its network request. The thought was that if we checked the network status before we do the actual http request, we reduced the risk of the trigger being killed before we had a chance to put up a notification explaining to the user that we failed and why. We do the whole UIBackgroundTaskIdentifier but back then the documentation (we thought at the time) made it a bit uncertain if we could be sure that we'd always get a chance to finish and clean up properly.
Replies
Boosts
Views
Activity
Dec ’25
Reply to Cannot download iOS 17.0 Simulator on xcode
Same issue here. For context, I was using the Xcode 15 beta since June and everything worked just fine. However, after Xcode updated through the App Store last night, none of my simulators will download. I get the same Failed with HTTP status 400: bad request error. Removed and re-downloaded Xcode, issue persists. I can't figure out what's going on here.
Replies
Boosts
Views
Activity
Sep ’23