-
-
Notifications
You must be signed in to change notification settings - Fork 875
PFFile TLS Download Support #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Good to read it is being worked on. |
A bit hacky but I've found that replacing "http://files.parsetfss.com" with "https://s3.amazonaws.com/files.parsetfss.com" does the trick for full SSL support on my website. |
This doesn't appear to be working for me. I have a bit of code that looks like this:
And my Info.plist is as so:
But still no bueno. The findObjectsInBackgroundWithBlock block doesn't trigger at all. No success. No error. Any ideas? Thanks! |
Hey @chasing, the Can you please confirm the version of the SDK you are using, as well as what is the |
I upgraded to Parse 1.8.1 just now (still doesn't work). Was using 1.8 previously. I'm not getting back any errors. The method doesn't call the block at all. |
I put a breakpoint on the "findObjectsInBackgroundWithBlock" line and -- weirdly -- when I resumed, the block did get called. With these errors:
But then "findObjectsInBackgroundWithBlock" fails the next time it's called elsewhere in the code. |
I just wanted to say that I just updated to the current versions and I could only pass the errors by adding the following:
|
Can you post an error here? |
2015-09-20 16:51:32.605 Gossip[969:457124] [Error]: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection. (Code: 100, Version: 1.8.1) This is the error while I load PFFiles. I also recognized that the following needs also to be added:
but see my full example from my previous post. |
The issue was resolve in 1.8.2 version of the SDK. From the error message it seems that you are still using 1.8.1 (1.8.5 is current latest). Any chance you can upgrade and try again? |
I was going to write as you wrote that... I'm using cocoapods and it loads only 1.8.1 ... Any way to load the current version without loosing all dependencies FBUtilsV4 etc.? |
'pod update'? |
my bad I was limiting pods to iOS 8.0 <.< |
iOS 9 and OS X 10.11 has a requirement that any network connection, unless added to exceptions is done via TLS. Apple Tech Note.
We have full support right now for API server, as announced in the blog post.
The only piece left is file downloads, which are still being served from S3 via
http
and we are working on getting support forTLS
for them shortly.The current workaround for this issue is to add the following section to
Info.plist
of your app:Please comment on this issue if there is anything we can help you with regarding PFFile TLS support.
The text was updated successfully, but these errors were encountered: