Search results for

Request failed with http status code 503

190,703 results found

Post

Replies

Boosts

Views

Activity

Reply to Complication stops updating when Apple Watch is on the charger
It appears that when the app resumes the URLSession's download task, less than 50 milliseconds later, the request fails: Error Domain=NSPOSIXErrorDomain Code=1 Operation not permitted UserInfo={NSErrorFailingURLStringKey=https:[my request url], NSErrorFailingURLKey=https:[my request url], _NSURLErrorRelatedURLSessionTaskErrorKey=( BackgroundDownloadTask <UUID1>.<1>, LocalDownloadTask <UUID2>.<1> ), _NSURLErrorFailingURLSessiontaskErrorKey=BackgroundDownloadTask <UUID3>.<1>} How do I determine the reason why the operation is not permitted when the app is launched in the background? This seems to be the reason why my complication can't update when started by WatchOS. Anyone care to take a guess?
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’20
Unable to verify enterprise apps. Service ppq.apple.com return error 503
Today i found that my enterprise apps with valid distribution certificates and provisioning profiles not work at all. In General -> Profiles & Device Management its not verified. When i'm trying to verify apps i'm catching the warning with the following: Unable to Verify iPhone Distribution: My Distribution certificate Apps. A network connection is required to verify iPhone Distribution: My Distribution certificate apps on this iPad. Connect to the Internet and try again. But everything is OK with my internet connection. I found even here: https://support.apple.com/en-gb/HT204460 that there is a service ppq.apple.com, that verifies enterprise apps, but this service is unavailable on link: https://ppq.apple.com , return error 503. Whats happened and how can i fix this issue? And how periodically does the Apple device checks the verification status of the distribution certificates of my app? Am i alone face this issue?
11
0
30k
Jan ’18
Make HTTPS request with client certificate from smartcard
Hello, I have a use case where I want to get the client certificate from my smartcard and use it to make att HTTPS request. In dotnet you can do something like this: /// ... X509Certificate2 cert; X509Store store = new X509Store(StoreName.My, StoreLocation.CurrentUser); store.Open(OpenFlags.ReadOnly | OpenFlags.OpenExistingOnly); cert = store.Certificates.Find( X509FindType.FindByThumbprint, thumbprint, false).First(); var handler = new HttpClientHandler(); handler.ClientCertificateOptions = ClientCertificateOption.Manual; handler.ClientCertificates.Add(cert); var client = new HttpClient(handler); var result = client.GetAsync(https://example.com).GetAwaiter().GetResult(); /// ... The above code will get a certificate from Windows certificate store (the certificate on the smart card is visible in the certificate store on Windows) and make a request using the certificate for authentication. However, in MacOS the certificate is not visible in the Keychain. It is visib
0
0
322
Oct ’23
Reply to background uploads error w/ NSURLErrorCannotParseResponse when concurrent to http2 servers
In our case, these responses our definitely status 200's with json body. It doesn't happen with all requests only a minor but important chunk of users whom, once they received NSURLErrorCannotParseResponse they tend to get a lot of them. We attempt to retry these requests and that helps but does not resolve the issue. I have recently been able to reproduce the issue on iOS Simulator but simulating a transient/dropping Network connection with link conditioner. What I see is also in console reported as.. error 17:51:08.138859-0800 nsurlsessiond Task <86EF8AD5-8532-4D5F-B52F-4462078EA23A>.<525> HTTP load failed, 49316/0 bytes (error code: -1017 [4:-1]) We actually snooped CFNetwork binaries and found this string as _os_log_error_impl(rip - 0x14bb9b, *__os_log_default, 0x10, %{public}@ HTTP load failed, %lld/%lld bytes (error code: %ld [%ld:%d]), &var_70, 0x3a); This may be a transient error leaking through a fall thr
Topic: App & System Services SubTopic: General Tags:
Feb ’22
Reply to tvOS Beta 14 swipe .up gesture no longer working
Custom swipe-up gesture recognizers are only recognized in clients linked to older SDKs. When you update your project for tvOS 14, you'll need to migrate to the customOverlayViewController API. Documentation: https://developer.apple.com/documentation/avkit/avplayerviewcontroller/3229856-customoverlayviewcontroller There's also some discussion of this in the AVKit sessions in 2019 and 2020: WWDC 2019: Delivering Intuitive Media Playback with AVKit https://developer.apple.com/videos/play/wwdc2019/503 Sample Code: https://developer.apple.com/documentation/avkit/adopting_custom_interactive_overlays_channel_flipping_and_parental_controls_in_tvos_video_playback WWDC 2020: Master Picture in Picture on tvOS https://developer.apple.com/videos/play/wwdc2020/10176
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’20
Requesting URL Filter capability
Hello, We're exploring the new URL Filter capability and we managed change the SimpleURLFilter so that it could work on macOS. However, on macOS it won't work as even when signed for debugging it tries to use Apple's OHTTP Relay. Failed to fetch Token Issuer Directory. { URL: https://gateway.icloud.com/pat-issuer-directory?issuer=localhost } { Status Code: 503 So I have two questions: Will it be possible to debug URL Filter locally on macOS? Even more important: how can I send a capability request so that our OHTTP Gateway could be used? I checked everywhere, but it seems there's simply no way to request this capability at this moment.
2
0
139
Aug ’25
Reply to Notary server down - 500 internal server error
Just an FYI that this is occurring once again-- use of notarytool w/ app-specific password is consistently failing today (Error: HTTP status code: 500. Internal server error. Error communicating with authentication service. Please try again at a later time.), whilst altool is still available and working using app-specific password.
Topic: Code Signing SubTopic: Notarization Tags:
Jun ’22
Reply to Anyone gotten SiriKit and INIntent working yet?
Make sure to request Siri authorization in your main app's plist using NSSiriUsageDescription and the following code: [INPreferences requestSiriAuthorization:^(INSiriAuthorizationStatus status) { if (status == INSiriAuthorizationStatusAuthorized) { [[INVocabulary sharedVocabulary] setVocabularyStrings:[NSOrderedSet orderedSetWithArray:workoutModelNames] ofType:INVocabularyStringTypeWorkoutActivityName]; } }];
Topic: App & System Services SubTopic: General Tags:
Jun ’16
How to make 'post' HTTP request in Swift?
hello! I've a log in page in my app in which I'm doing authentication and making a post request.I'll be grabbing the token from the API that I'm provided with.However, my code isn't printing anything on the print log. Please help!! @IBAction func submit(sender: AnyObject) { //creating a function that will connect to API func connectToWebAPI(){ //setting up the base64-encoded credentials let userName = user let password = pass let loginString = NSString(format: %@:%@, userName, password) let loginData: NSData = loginString.dataUsingEncoding(NSUTF8StringEncoding)! let base64LoginString = loginData.base64EncodedStringWithOptions(nil) //creating the request let url = NSURL(string: http://www.telize.com/geoip) var request = NSMutableURLRequest(URL: url!) let config = NSURLSessionConfiguration.defaultSessionConfiguration() let session = NSURLSession.sharedSession() request.addValue(application/json, forHTTPHeaderField: Content-Type) request.addValue(application/json, forHTTPHeade
1
0
12k
Jul ’15