You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I followed the DO guide on others as to how to get the parse server up and running, however i'm having issues registering a user from the android side.
Attachments at the bottom..
For some reason in the error logs , when i enable logging, i immediately get "Request failed" together with a couple of retry's until the request just times out. I have double checked my android permissions and know that the manifest is correct from a standard android setup point of view.
I also telnetted to my server on both the mongo port and the parse port and could connect. Then did the Curl test and managed to generate data (including the get request as well as logging into the db with robomongo and verifying data).
First Question: Are these keys really set in the index.js? appId: 'app-id', masterKey: 'master', fileKey: 'fileKey',
Second thing is that in my setup I did not set the serverUrl in my index.js and it works fine, push notifications also work so perhaps that's not needed?
In your Android code use "http://myserverhostname:9988/parse/" Note the "/" at the end. If you closely look at the index.js you'll see why. This is for sure an issue.
I would definitely use an interceptor to see the network calls and headers to see what's going on. Check out my article on parse-server push notifications for the gradle and configuration you'll need to see what's going on with any mistakes in your network requests. Parse-Server Push Notification Tutuorial
Hi i am facing this same issue, did you get any solution? I haven't tried but this fileKey is what is currently missing in my index.js file, so is it necessary?
Thanks for the update... not sure if this was updated elsewhere and is working with parse example project?
I deleted my parse directory from the server, clone parse example then ran npm install and got it up and running. The auth data thing is still an issue. I can however create Objects without a problem.
Not sure if i am missing something?
raw java code attached. together with the network code and errors.
I wrote a test for this in #863. Not able to reproduce. Make sure you're using the latest version, check your package.json and run npm update. If you have further issues, please open a new issue. Thanks.
Activity
matthewrice345 commentedon Feb 17, 2016
appId: 'app-id', masterKey: 'master', fileKey: 'fileKey',Parse-Server Push Notification Tutuorial
vusimoy0 commentedon Feb 17, 2016
Hi
Thanks - yes i had really put the required parameters... had omitted them here for obvious reasons :)
I did as you suggested by adding a / at the end of the parse path however the connection still fails with the following:
When i debug the app with Stetho, i get the following:
I also deleted the server detail from the index.js. No difference...
KunalKathrotia commentedon Feb 24, 2016
Hi i am facing this same issue, did you get any solution? I haven't tried but this fileKey is what is currently missing in my index.js file, so is it necessary?
Fix for #413 - support empty authData on signup
gfosco commentedon Feb 26, 2016
I just submitted a PR to address this, #679
Merge pull request #679 from ParsePlatform/fosco.empty-authData
vusimoy0 commentedon Feb 27, 2016
Hi
Thanks for the update... not sure if this was updated elsewhere and is working with parse example project?
I deleted my parse directory from the server, clone parse example then ran npm install and got it up and running. The auth data thing is still an issue. I can however create Objects without a problem.
Not sure if i am missing something?
raw java code attached. together with the network code and errors.
android.txt
Test empty authData block on login for #413
gfosco commentedon Mar 6, 2016
I wrote a test for this in #863. Not able to reproduce. Make sure you're using the latest version, check your package.json and run
npm update. If you have further issues, please open a new issue. Thanks.Merge pull request #863 from ParsePlatform/fosco.authData2