Search results for

Request failed with http status code 503

190,879 results found

Post

Replies

Boosts

Views

Activity

App Clip Keychain Access Fails with App Group, status -34018
We're developing our first App Clip, and having issues with accessing the keychain. At the moment, we've been running the App Clip from Xcode with the environment variable, _XCAppClipURL, set to a URL the app clip responds to. This is the failing call: var addquery: [CFString: Any] = [ kSecClass: kSecClassGenericPassword, kSecAttrLabel: secretKey, kSecAttrAccount: userID] if let accessGroup = accessGroup { addquery[kSecAttrAccessGroup] = accessGroup } SecItemDelete(addquery as CFDictionary) addquery[kSecAttrAccessible] = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly addquery[kSecUseDataProtectionKeychain] = true addquery[kSecValueData] = key let status = SecItemAdd(addquery as CFDictionary, nil) guard status == errSecSuccess else { throw MercuryError(message: Failed storing db encryption key: (status)) } The status that is reported has the value -34018, which I haven't tried to compare to the massive list of constants. The trouble seems to be kSecAttrAc
3
0
798
Apr ’24
Reply to Upstream Service Error when using MusicDataRequest
I'm getting a similar issue when I trying to add a track to one of my playlists. Failed to perform MusicDataRequest.Context( url: https://api.music.apple.com/v1/me/library/playlists/p.8Wx63rZTVm1RAxY/tracks, currentRetryCounts: [.other: 1] ) with MusicDataRequest.Error( status: 500, code: 50001, title: Upstream Service Error, detailText: Unable to update tracks, id: LE36LDFW4BHXYHU3GGQPSF563Y, originalResponse: MusicDataResponse( data: 146 bytes, urlResponse: ) ).
Topic: Media Technologies SubTopic: General Tags:
Jan ’24
Use proxy for http request from iOS device
I'm simply trying to use a proxy to route a http request in Swift to measure the average round trip time of a list of proxies. I've went through multiple Stack Overflow threads on this topic but they are all super old / outdated. format:host:port:username:password I also added the info.plist entry: NSAllowsArbitraryLoads -> NSExceptionDomains When I call the function below I am prompted with a menu that says Proxy authentication required. Enter the password for HTTP proxy ... in settings I closed this menu inside my app and tried the function below again and it worked without giving me the menu a second time. However even though the function works without throwing any errors, it does NOT use the proxies to route the request. Why does the request work (throws no errors) but does not use the proxies? I'm assuming it's because the password isn't entered in the settings as the alert said. My users will want to test proxy speeds for many different Hosts/Ports, it doe
2
0
462
Feb ’25
Can't find Jupyter Notebook for WWDC 2018 Session 503
In the WWDC 2018 Session 503 Creating Photo and Video Effects Using Depth, it mentions that the Jupyter Notebook used for the demos would be available, but I can't find it anywhere.In the session, it is stated:You can go to the webpage anddownload the Jupiter [sic] NotebookTrueDepth Streamer and Backdropand we hope it inspires you as astarting point to many new coolvideo effects to create in yourapplications.Can anyone inform me where the notebook may be downloaded from? It looks like an ideal way to develop CI filters...
1
0
1k
Sep ’18
How to specify server IP for a HTTP request instead of DNS
***What I want***:Specify server IP for NSMutableURLRequest to avoid localDNS query.***Common method***:Replace host field in URL and specify the HOST Header field for the HTTP request. request = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:@https://1.1.1.1/path]]; [request setValue:@www.a.com forHTTPHeaderField:@host];***Problem***:If my server serves several domains, then the server will return a default certificate for my request. SNI only works when it finds host in url.So any suggestion if I wanna achieve ***What I want*** in ***Problem*** scene.
Topic: UI Frameworks SubTopic: AppKit Tags:
1
0
428
Apr ’16
Reply to Desktop Widget can not be found in Widget Center
SendProcessControlEvent:toPid: encountered an error: Error Domain=com.apple.dt.deviceprocesscontrolservice Code=8 Failed to show Widget 'com.jiduauto.iphone.jdcomiphoneWidget' error: Error Domain=FBSOpenApplicationServiceErrorDomain Code=5 The request to open com.apple.springboard failed. UserInfo={NSLocalizedDescription=The request to open com.apple.springboard failed., NSLocalizedFailureReason=Unexpected error type., NSUnderlyingError=0x600001ae0c90 {Error Domain=BSServiceConnectionErrorDomain Code=3 XPC error received on message reply handler UserInfo={BSErrorCodeDescription=OperationFailed, NSLocalizedFailureReason=XPC error received on message reply handler}}, BSErrorCodeDescription=InvalidResponse}. UserInfo={NSLocalizedDescription=Failed to show Widget 'com.jiduauto.iphone.jdcomiphoneWidget' error: Error Domain=FBSOpenApplicationServiceErrorDomain Code=5 The request to open com.apple.springboard failed
Topic: App & System Services SubTopic: General Tags:
Feb ’24
Predictive code completion download failed
Hi! Predictive code completion once worked, but on Xcode relaunch another download got issued and it's failing. Anybody can help? The operation couldn’t be completed. (ModelCatalog.CatalogErrors.AssetErrors error 1.) Domain: ModelCatalog.CatalogErrors.AssetErrors Code: 1 User Info: { DVTErrorCreationDateKey = 2024-10-27 17:00:22 +0000; } -- Failed to find asset: com.apple.fm.code.generate_small_v1.base - no asset Domain: ModelCatalog.CatalogErrors.AssetErrors Code: 1 -- System Information macOS Version 15.0.1 (Build 24A348) Xcode 16.0 (23051) (Build 16A242d) Timestamp: 2024-10-27T19:00:22+02:00
1
0
504
Oct ’24
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)
Hi All,I have been facing an issue related to the google map integration on iOS application.I have prepared an iOS application with Google API and Directions API. It was working fine till last month and now it is not working as expected. It says “NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)” on loading the application with directions API request and the map also not loading. I have tried with App Transport Security settings, still I found no luck.But if am pasting the same API request in the browser, I am getting the JSON response.Any quick help would be greatly appreciated.Thanks
0
0
1.2k
Jan ’17
Reply to AppStoreConnect API - How to set pricing
As a follow up to the post above linking to the documentation for the appPriceSchedules API, a request that follows the documentation as written results in the following response: { errors: [{ status: 405, code: METHOD_NOT_ALLOWED, title: The request method is not valid for the resource path., detail: The request method used for this request is not valid for the resource path. Please consult the documentation. }] }
Jan ’24
Network extension - Blocking an https request on Safari and Chrome
Hi, I am trying to write an app for macOS which will allow or drop a potential upload request, e.g. PUT or PATCH http request. For example, I would like to block uploading of a file to Google drive. I was looking into the 'SimpleFireWall' app sample provided within (https://developer.apple.com/videos/play/wwdc2019/714) but AFAIU this cannot be done due to limitations of NEFilterDataProvider and its flow (NEFilterFlow) objects, i.e. one limitation is that this would only be supported on Safari (WebKit based browsers) and secondly there is no option to peek and analyze which http request is represented by the flow in case of a TLS connection (HTTPS) as data is obviously encrypted. What would be the recommended way of achieving this? Thanks, Doron.
2
0
830
Feb ’23