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

Dashboard sharing functionality erroring out #60

Closed
emigre459 opened this issue Jan 11, 2022 · 5 comments
Closed

Dashboard sharing functionality erroring out #60

emigre459 opened this issue Jan 11, 2022 · 5 comments

Comments

@emigre459
Copy link

When I try to share the dashboard via Share from Neo4j, another user I send the link to can't load it (error message attached). It appears to be having issues with the credentials, but I've set Include Connection Details and Standalone Dashboard both to "Yes". Note that I've tested this on both an HTTP-accessible Neo4j server and an HTTPS-accessible one, with the same problem both times. Any ideas on what could be happening? Note that I get the same error as the other user if I try to open the link.

image

@nielsdejong
Copy link
Collaborator

hi @emigre459, thanks for this.
I've seen this issue before myself, but I wasn't able to reproduce it.
My gut feel is that something goes wrong with the URL encoding/decoding of the connection details.

Could you share your Share URL with me so I can check? (possibly in a private message with the password/username removed)

@dbl94
Copy link

dbl94 commented Jan 13, 2022

Hi, I just wanted to leave a comment that I have encountered the same issue, but unfortunately did not manage to figure it out yet, I will update here if I manage to make it work.

In my example, I have created a Neodash dashboard based on my Neo4j Aura database, and when I share it as a standalone non-editable version for others to see the dashboard, it shows the same error upon opening the link.

I'm not sure, maybe it has something to do with the Aura's Neo4j+s:// connection perhaps?

@emigre459
Copy link
Author

@nielsdejong I think I've figured it out. I realized this when I was modifying the URL to remove the password before sharing it with you. It looks like Neodash is automatically lower-casing the letters in the connection credentials. Since my password has a mix of upper and lower case, it was erroring out during authentication.

One other thing I figured I'd flag though: once I corrected the capitalization issue in the URL for my password, it did indeed load the dashboard, but a new error pops up soon after connecting to the dashboard, shown in the screenshot attached here. I think this may have to do with the dashboard tab it's auto-loading to having an unfinished Parameter Select tile, but not sure.

image

@jsuesse
Copy link
Contributor

jsuesse commented Jan 14, 2022

One other thing I figured I'd flag though: once I corrected the capitalization issue in the URL for my password, it did indeed load the dashboard, but a new error pops up soon after connecting to the dashboard, shown in the screenshot attached here. I think this may have to do with the dashboard tab it's auto-loading to having an unfinished Parameter Select tile, but not sure.

This happened to me aswell, but I am unable to reproduce it consistently.

I reckon (not too sure), the error occurred when I accessed neodash again, after previously closing it (same browser session)

Low impact anyway, just close the window and everything is fine.
Might consider opening another issue..

@nielsdejong
Copy link
Collaborator

Thanks @emigre459 @dbl94 @nukerxy ,
I've fixed the incorrect lowercasing of the share URL here: 41e59b1

The error that you both spotted around accessing fields on an undefined object is something that I've seen pop-up in several places. Seems to be a race condition somewhere that I'll need to dig into further. (You can actually produce a similar error by switching pages really fast).

Going to close this issue and look into the other problem further. I'll publish the 2.0.6 release sometime this weekend so you can check if everything works from your side.

Best,
Niels

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

4 participants