Hi I am creating an android app where I had used Parse as an cloud server. I have made user to upload there image file to my parse dashboard Viva app developed by me. but while retriving there file they are unable to find there uploaded image.
While I was investigating these problem I found that my user’s file was uploded successfully to parse server
When I double click on Image.png file and selected Download Option as given in the below Image:
Probably your parse server address is wrong on configuration. Change your parse address to your server ip.
Edit: you configured your server to localhost(127.0.0.1) . And if you use docker, docker automatically redirects requests to containers. And docker has its own iptables. You should change your server address to your server ip adress.
Quick example. Copy your image url. And change 127.0.0.1 to your server ip. You should see your image
Edit 2: also why are you loading image like that. There is an Android library for this. Use Glide. Just get url from parse file and load that url with glide
You should change parse server adress not parse-dashboard. But I dont have experience on bitnami parse server or parse in docker. So I cant help you with that
How and where should I configure the publicServerUrl option
I had use Aws E2 compute to launch parse server instance and connected instance through Putty software.
Please help me to dissolve these issue,Now it’s feeling quite frustrating I had tried each and every possible measure that are enclosed under my knowledge but still not able to find desired result. Now I am wating for some who can help me to get out of it.
Hummm may be @davimacedo have a suggestion here…
But be careful, you have shared your mongo db connection and parse master key, don’t forget to change it since their are compromised now .
Just to be sure, can you share your parse dashboard configuration, the parseUrl that you use in your Android app, and your parse server config ?
Additionally it seems that you forget the port on the public server url (it seems that you use a direct ip and do not have a proxy) , try to add publicServerUrl :http://18.220.237.153:1337/parse
If it works, you should check you Amazon config, to set up a proxy with https, that redirect to your parse server, to avoid MITM (man in the middle attack). Your data could be intercepted by an hacker with public communication over http.
Try using Putty to connect to your virtual machine. Go to the respective directory of config.json file using cd command. Than use sudo vim config.json.
sudo command will provide you root rights to make modifications in the json file.
@Moumouls@uzaysan
I have the same problem! The “quick example” worked for me. Thats why i think i configured my server to localhost as well. But even after Studying the whole Thread i am not able to figured out myself how configure my publicServerUrl!