Skip to content
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

not able to save document, JS errors #3

Closed
demarant opened this issue Mar 6, 2018 · 11 comments
Closed

not able to save document, JS errors #3

demarant opened this issue Mar 6, 2018 · 11 comments

Comments

@demarant
Copy link

demarant commented Mar 6, 2018

OS: Ubuntu 17.10
Browser: Version 64.0.3282.186 (Official Build) (64-bit)

I installed blockstack and managed to log in, but not documents are saved...it says "saving" constantly.

Looking at the Chrome console I see the following JS errors:

Uncaught Error: Private key must be less than the curve order
at new ECPair (index_bundle.js:1)
at t.getPublicKeyFromPrivate (index_bundle.js:1)
at t.value (index_bundle.js:1)
at index_bundle.js:1
at o (index_bundle.js:1)
at index_bundle.js:1
at e.notifyAll (index_bundle.js:1)
at r.close (index_bundle.js:1)
at r.closeAll (index_bundle.js:1)
at r.perform (index_bundle.js:1)
at a (index_bundle.js:1)
at r.perform (index_bundle.js:1)
at Object.batchedUpdates (index_bundle.js:1)
at Object.batchedUpdates (index_bundle.js:1)
at Object._renderNewRootComponent (index_bundle.js:1)
at Object._renderSubtreeIntoContainer (index_bundle.js:1)
documents:1

graphite

not sure if the above is related to the issue that no documents are saved.

@polluterofminds
Copy link
Contributor

@demarant Is this while running locally or while accessing the app at app.graphitedocs.com?

@demarant
Copy link
Author

demarant commented Mar 7, 2018

@jehunter5811 it is while accessing the app at app.graphitedocs.com

@polluterofminds
Copy link
Contributor

@demarant That's not good! In your console screenshot, you see that Object toward the top? Can you expand that and see if there is an appPrivateKey present? Don't send a screenshot of that since, you know, it's a private key. But my guess is something is preventing that key from being generated. But I want to confirm.

@demarant
Copy link
Author

demarant commented Mar 8, 2018

@jehunter5811

yes there is an appPrivateKey:

graphite-docs-save-issue

if you need other debug info, just let me know

@polluterofminds
Copy link
Contributor

Thanks for this. I'm trying to get a sense of what browser you're using from that screenshot. It looks like Firefox, but the inspector on top looks like Chrome's. Can you tell me?

@demarant
Copy link
Author

demarant commented Mar 8, 2018

It was in the issue description already :D

OS: Ubuntu 17.10
Browser: Version 64.0.3282.186 (Official Build) (64-bit)

@demarant
Copy link
Author

demarant commented Mar 8, 2018

I would like to add additional info that may help.

For me the experience is as following:

In Chrome i open app.graphitedocs.com
When I click sign in with Blockstack it open a dialogue box where it suggest to open link with Blockstack browser (which I previously installed following official documentation for Ubuntu). I login and from there I was redirected to app.graphitedocs.com. But once logged in, I never managed to save a document and therefore I looked at the js console.

In Firefox it is not possible to login at all, because when clicking the sign in with Blockstack it opens a dialog box but without the option to open with Blockstack browser. I am a bit confused on how this Blockstack works.... I guess it is quite early in development.

Hopes this helps.

@polluterofminds
Copy link
Contributor

@demarant This is really helpful. I assume you are on the most recent version of the Blockstack Browser, but you might just want to try downloading again from here.

In Firefox, what does that dialog boxy say?

@demarant
Copy link
Author

demarant commented Mar 8, 2018

@jehunter5811

sorry, my mistake, it is in Chrome that I get the login dialog box saying "Open xdg-open, see below
graphite-docs-login-issue-chrome
In firefox, when I log in I get the dialog box with the proper association label "Blockstack browser".

now when I confirm, it opens another chrome window pointing to http://localhost:8888, my local blockstack browser server I guess, but the page is now blank and cannot authenticate there. I would expect an error message on that page instead of just a blank page.

I did install blockstack browser via the shell script provided at https://blockstack.org/install

I can try to uninstall blockstack browser and install again, starting with Chrome. Maybe it got messed up as in my first attempt to login to the graphitedocs, I didn't have blockstack browser installed.

@polluterofminds
Copy link
Contributor

Give that a shot and let me know if that works. If it doesn't we may need to open an issue with Blockstack. I think the fact that your Chrome dialog has the wrong text and that it opens to a blank page is an issue Blockstack will want to know about as well. Their issues for browser related items can be opened here.

@polluterofminds
Copy link
Contributor

This appears to be a Blockstack specific issue if an issue still exists. Closing for now. Feel free to open if there is more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants