Search results for

Request failed with http status code 503

190,677 results found

Post

Replies

Boosts

Views

Activity

WKWebview proxying HTTP Request
Hello, We have application which should pass traffic through https private proxy server if it needed, but I am find info that is impossible with WKWebView, only if i want send traffic we should use VPN. Is there a way to send traffic trough proxy use WKWebView. From this link I am sure that is impossible: https://stackoverflow.com/questions/41068675/http-proxy-support-with-wkwebview/41268348#41268348 https://stackoverflow.com/questions/55482380/swift-4-5-setting-adding-proxy-to-wkwebview?noredirect=1&lq=1 https://developer.apple.com/forums/thread/110312#337642 https://github.com/react-native-community/react-native-webview/issues/115 https://stackoverflow.com/questions/24208229/wkwebview-and-nsurlprotocol-not-working But in this link I saw a chance create this feature: https://stackoverflow.com/questions/40133512/intercept-request-with-wkwebview I am try many ways, but I can't pass traffic through proxy. Only what i can it is
3
0
3.2k
Sep ’20
iOS10 does not send http request body
Our app is a BI product to analyze data. When run a report, we send a series of Http Requests from mobile client to server, and after upgrading to ios10, it always gets error alert (error code=1005, error domain=KCFErrorDomainCFNetwork). After investigation, we find Xcode does not send last http request's body, which results a bad request to server. Also, if we set a network proxy in device, this error will not happen. All requests could succeed. And when we debug the issue, if we delay to send out the last request for some seconds, it could succeed too. This issue only happen in ios10.I will explain how we investigate the issue.1. Run a report, and the client will send out a series of http requests. And in the end, the mobile client get an error: error code=1005, error domain=KCFErrorDomainCFNetwork.2. Install wireshark on server. Through wireshark, we could see server send a response: 400 Bad Request.
0
0
613
Aug ’16
Problem with js http request on IOS9
Good mornign to all,with the release of ios9 we found a problem with our app.Briefly.. we have an angularjs site and an app built with corcova. Essentially the app is only a web view for our responsive site.We have a login page that calls our backend services through an http get request.Until ios 8 and on android devices or pcs all works fine but on ios 9 the this http request doesn't works and we get this error:{code:12,name:SyntaxError,message:SyntaxError: DOM Exception 12,line:5,column:663,sourceURL:http://172.21.114.93/app/js/app.min.js}The strange thing is that we also have a demo page that makes the same request automatically and this works fine!I really hope that someone can help us 🙂Thank you guysFabrizio
1
0
1.2k
Sep ’15
Reply to Declarations
@OOPer Thank you for your help. I am very new to SwiftUI however really enjoying learning it. I am just currently watching: https://developer.apple.com/videos/play/wwdc2019/503/ Thank you for the link, I shall take a dive into it! 😄💻🖥
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’21
503 Service Unavailable when calling Apple Search Ads API
hi, since yesterday I'm getting 503 error in my process. I'm using API v3: https://api.searchads.apple.com/api/v3/search/apps?returnOwnedApps=true but my cert are not expired yet. Could you please confirm it is still ok to use API v3. API v4 is also based on domain api.searchads.apple.com and on a site which I use to check if url is up or not: https://www.isitdownrightnow.com/ I'm getting response that service is unavailable so even API v4 is affected? Does anyone else is also having problems to connect to API v3 or API v4?
1
0
2k
Jul ’22
HTTP Post Requests in Swift for beginners.
So this is probably annoying, but I know virtually nothing about swift. I'm trying to code an app, and I'm learning pretty well on the UI side of things, mostly because swiftUI makes that excessively easy, but I'm struggling with writing a post request for my sign in page. I'll link the code and the error below. Thanks in advance guard let url = URL(string:https://api.rangouts.com/signin) else{ return } let body: [String: String] = [username: username, password: password] let finalBody = try? JSONSerialization.data(withJSONObject: body) var request = URLRequest(url: url) request.httpMethod = POST request.httpBody = finalBody request.setValue(application/json, forHTTPHeaderField: Content-Type) URLSession.shared.dataTask(with: request){ (data, response, error) in guard let data = data else{ return } print(data) }.resume() } } 2020-11-14 09:14:05.286417-0800 rangouts[1174:110527] [] nwprotocolgetquicimageblockinvoke dlopen libquic failed 2020-11-14 09:15:05.8
1
0
7.6k
Nov ’20
Reply to URLSession for HTTP/2
@eskimo We are having some intermittent and random SSL Handsake Errors with an HTTPS request: Connection 5: received failure notification Connection 5: failed to connect 3:18,446,744,073,709,541,800, reason 18,446,744,073,709,551,615 Connection 5: encountered error(3:18,446,744,073,709,541,800) Task <2B22A105-33BD-4291-8749-40EEF62C50EC>.<1> HTTP load failed, 0/0 bytes (error code: 18,446,744,073,709,550,416 [3:18,446,744,073,709,541,800]) Task <2B22A105-33BD-4291-8749-40EEF62C50EC>.<1> finished with error [18,446,744,073,709,550,416] Error Domain=NSURLErrorDomain Code=-1200 An SSL error has occurred and a secure connection to the server cannot be made. UserInfo={NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, NSErrorPeerCertificateChainKey=( , One of our engineers is seeing TLS 1.0 requests but we are using URLSession with iOS 16 or 17. From what I can se
Apr ’24
Reply to 400 PARAMETER_ERROR.INVALID from the NEXT Link in /v1/devices
I'm experiencing the same issue with analytics endpoints Request: curl --location 'https://api.appstoreconnect.apple.com/v1/analyticsReportRequests/XXXXX/reports?cursor=AQ&limit=1' --header 'Authorization: XXXX' Response { errors: [ { id: a171d897-14cb-40c9-b7a5-9fd35807d752, status: 400, code: PARAMETER_ERROR.INVALID, title: A parameter has an invalid value, detail: 'AQ' is not a valid cursor for this request, source: { parameter: cursor } } ] }
Apr ’25
APNs returning 410 response status code
Hello, On one of our test devices, we stopped receiving push notifications on our app. Upon investigation we noticed that APNs is returning a 410 status code when we try to deliver a notification to this device. In our iOS code, on every launch we call the registerForRemoteNotifications() method of UIApplication to request the device token. Upon successful registration, we receive the token in our app delegate’s application(_:didRegisterForRemoteNotificationsWithDeviceToken:) method. Each time we continue to receive the same token as before, and this token continues to receive a 410 response from APNs. How can we get more info on why this token has been marked as Inactive/Expired by APNs? Why is APNs giving us the same token on device if it has been marked as Inactive/Expired? What is the best way to start receiving push notifications on this device for our app? Is it possible to get a new token without deleting and re-installing the app?
2
0
1.5k
Apr ’23
Reply to HTTP2 NSPOSIXErrorDomain Code=100 "Protocol error”.
The weirdest thing is that on the server side the request’s status code is 200.These values are not in the same namespace. The error you’re getting back from NSURLSession has a domain of NSPOSIXErrorDomain, meaning that it’s EPROTO from <sys/errno.h>. It’s hard to say where this is coming from, but it has nothing to do with HTTP status codes. Please grab a CFNetwork diagnostic log (per QA1887) and see if it offers any insight into the source of the error.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Jul ’18
Reply to Cannot configure Sign in with Apple – Save fails with 501 Not Implemented
I’m facing the same issue when trying to add Website URLs for Sign in with Apple under a Service ID. Each time I try to save, I receive the following error in the network logs: Request URL: https://developer.apple.com/services-account/v1/bundleIds/********* Request Method: PATCH Status Code: 501 Not Implemented Referrer Policy: strict-origin-when-cross-origin And on screen: Unsupported Request PATCH to http://developer.apple.com/services-account/v1/bundleIds/********* not supported. Reference #8.e0e1502.1756116573.39d998e It looks like the portal is rejecting the PATCH request when saving Website URLs. Has anyone else experienced this issue, or is there a workaround to successfully save the configuration?
Aug ’25