-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Parse - PFFile not accessible even after adding file key to azure settings #2781
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
Hey, thanks for reporting this issue. Can you please add all the info specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported. |
Hello Hramos, Thanks for jumping in. |
The code which i have written to initialise Parse(objective-c) is:
The issue i am facing with the code is:
Here PhotoData is an object of one of my image class in which i have stored image file. I am getting object of PFFile here but with this it also prints a log at console like: [Error]: Response status code was unacceptable: 404 (Code: 1, Version: 1.13.0) And when i check the imageFile.url, it gives me this url: And when i run this URL it says that “This XML file does not appear to have any style information associated with it. The document tree is shown below.” Reproduce the issue: Hope this is the information you need! |
Hello Everyone, I am facing the same concern after migrating my data from parse to back4App. Here is details : I just migration my App data from Parse to Back4App and followed the steps to set up back4App configuration. But now when I hit the Parse API with reference to back4App. It is continuously giving me following error: [Error]: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “files.parsetfss.com” which could put your confidential information at risk. (Code: 100, Version: 1.14.2) Error]: Network connection failed. Making attempt 1 after sleeping for 1.171176 seconds. Can anyone please provide a solution for this kind of error. I have updated Parse SDK in my App as well as ParseFacebook SDK. Hope for reply on this soon. Thanks, |
Hello, Can anyone reply here? |
Hello Satis, I need help on this. Do you have any information regarding this? It will be very helpful. Thanks, |
Hi Ratneshwar, Can you tell me that where did you update _PFFileStateSecureDomain ? Thanks, |
Hey Satis, It is in PFFileState Class of Parse. Thanks. |
Thanks Ratneshwar for the information. But even after changing the _PFFileStateSecureDomain there was no change in my error code. |
@SatishMotif not sure if i understood your issue.. Could you provide total url which you are trying to load. Azure web apps by default doesn't allow few extensions.. check below SO post |
@prashanthmadi below is the URL which I am trying to load: https://iconiqtestnewstr.blob.core.windows.net/parse/tfss-565fa927-8645-469c-93a0-a6e7d73376ea-file |
I worked together with Satish today and found the files, which are currently in an Amazon S3 storage, had not been migrated to Azure blob storage yet. The MongoDB had been migrated, but the files were not yet. That should be the cause of the 404 error from Azure storage blob. We need to migrate all files from https://files.parsetfss.com/0844782c-8340-41f3-8ff6-2bd0c1a39eaa/* to https://iconiqtestnewstr.blob.core.windows.net/parse/* It was confirmed that the storage account iconiqtestnewstr existed. But the "parse" container didn't. |
@SatishMotif you should migrate your old files to your new backend. As @hramos suggested, please fill in the issue correctly. Also, provide the relevant logs when running with VERBOSE=1 |
@flovilmart i tried the below script and please find the below log:
? Rename Parse hosted file names? No Please help its urgent! |
@SatishMotif again, this is not an issue with parse-server. This seems that your files are not accessible anymore, for some reason, you should reach out to |
It seems to be an issue with the parse-files-utils, I suggest you open it on it's repository. |
I know this is an old thread, but I did find a solution to this error thanks to this post: This error is probably happening because you migrated or cloned a database on back4app. FIX:
|
Hello,
I have migrated my iOS app DB from parse to azure successfully.
I found where do I need to add file key and I have added it to azure app settings but still, I am not able to access my old PFFile, when I am trying to get those file I am getting error like:
Response status code was unacceptable: 404 (Code: 1, Version: 1.13.0)
The new files which I have uploaded after migration those are accessible.
Please help my whole is depended on this PFFile data.

The text was updated successfully, but these errors were encountered: