Search results for

Request failed with http status code 503

190,558 results found

Post

Replies

Boosts

Views

Activity

Reply to Redeem Code
If you're running beta versions of OS X, like 10.10.4, it won't work.Try redeeming the code in a stable version of OS X and then pause the download there. Once it is redeemed, you can download it from any OS X versions in the App Store > Purchased.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Streaming audio with spotty network access
I am working on an iOS app that, among other things, plays streaming audio from an internet source and I am wondering if there are ways to deal with a spotty network that reflects the actual state of the network.Right now, I am using AVPlayer (initialized with the URL of the source). Mostly, it works OK, but it has problems dealing with areas with no network connectivity and transitioning back to areas with connectivity. After entering the area of no network connectivity and then re-entering areas with connectivity, the player does not resume playing. The status of the player remains ReadyToPlay. I have tried toggling pause/play and the player does not resume playing. When I detect that the player gets into this state, I will destroy the AVPlayer object and create a new one.BTW, the Reachability bit in the SCNetworkReachability flag remains set, despite being in a spot with no connectivity.Is there a better way to handle this?alan
2
0
1k
Jun ’15
Application Transport Security ?
When I try to start an URL Request to my website from watchOS 2 the request fail and i get this message :Application Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.what can i do ? All i've found in the doc is :App Transport SecurityApp Transport Security (ATS) lets an app add a declaration to its Info.plist file that specifies the domains with which it needs secure communication. ATS prevents accidental disclosure, provides secure default behavior, and is easy to adopt. You should adopt ATS as soon as possible, regardless of whether you’re creating a new app or updating an existing one.If you’re developing a new app, you should use HTTPS exclusively. If you have an existing app, you should use HTTPS as much as you can right now, and create a plan for migrating the rest of your app as soon as possible.But nothing about the name of th
34
0
289k
Jun ’15
Reply to Redeem Code
Okay, so that honestly is weird.The only way I was able to get my code to redeem was my spam clicking the button once the code is entered. After a while it asked me to login. Did this about 4 times and then it finally redeemed it.My god, that was hard.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Arrays of tuples
In Swift 2, I created an array of tuples and try to append an item such as: var foo = [(Int, String)]() foo.append((400, Bad Request))I get an error:error: missing argument for parameter #2 in call foo.append((400, Bad Request))However, if I do: var foo = [(Int, String)]() let e = (400, Bad Request) foo.append(e)It compiles.This code worked with the previous version of XCode and Swift, and the release notes don't make any mention of changes to tuples.Is this a bug or am I doing something wrong?
4
0
5.2k
Jun ’15
Reply to linker command failed with exit code 1 (use -v to see invocation)
Ld /Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator/ExampleApp.app/ExampleApp normal i386 cd /Users/nathan/Desktop/Xcode App/ExampleApp1/ExampleApp export IPHONEOS_DEPLOYMENT_TARGET=9.0 export PATH=/Volumes/Xcode/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Volumes/Xcode/Xcode-beta.app/Contents/Developer/usr/bin:/Volumes/Xcode/Xcode-beta.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin /Volumes/Xcode/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Volumes/Xcode/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -L/Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator -F/Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator -f
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
UIWebView loadRequest forcing to https?
NSURL *url = [NSURL URLWithString:s]; NSURLRequest *request = [NSURLRequest requestWithURL:url]; [_webView loadRequest:request];Somehow the request is getting converted from http to https in iOS 9 on iPad mini.In my shouldStartLoadWithRequest method, I log the requests and I notice that it starts okay with the requests being http, then it suddenly changes to https without me doing anything.Anyone seeing the same?
3
0
3.7k
Jun ’15