-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Hasura console fails to launch when using --insecure-skip-tls-verify #4926
Comments
@pradyuman this seems to be working on my end 🤔 can you provide a bit more info so that I can reproduce ? |
@scriptonist I get the same as you on the cmd, but then when I go to http://localhost:9695/ in a browser I get this, which sounds like the same thing as @pradyuman |
Yep, this is exactly what happens to me as well. |
Same here all other CLI things work fine only console fails with invalid password no matter what I try. |
same problem here. what could be the problem? |
Same problem here. All commands except |
for me it doesn't even work if I provide the admin secret with my version is:
|
Same problem for me. Doesn't work |
Try removing (or adjusting) the HASURA_GRAPHQL_CORS_DOMAIN env var. I ran into this problem a few moments ago, after playing a bit with the environment variables I found that I had a strict CORS policy. That's what worked for me anyways. |
Same problem here. This is only happening on v2. Have tried many variations. Any ideas? |
For us we had |
Same here. I get this issue when trying to run Complicating matters is the fact there are no logs anywhere with the issue, even when running with At least it'd be nice to get a correct error message. It's clearly not an invalid admin-secret issue... |
Setting |
Just talked about this issue in office hours... Mysteriously my issue went away! Not 100% clear what changed. There were some package upgrades, though they should've been inconsequential. I'll report back if I manage to reproduce the issue! |
... and it's back! No idea what changed. Everything about my environment is the same, running all the same commands the same as I did during office hours... EDIT: did a bit more poking around... I have two machines:
gives me an error when I try to access But
only gives me the "Invalid admin-secret passed from CLI" error. Also, I can be certain that my secret is valid since if I intentionally pass in an incorrect secret via
EDIT EDIT: I think I figured out why it worked in office hours but not otherwise... I believe the difference is that I was accidentally running two hasura instances one on the |
ran into the same issue after migrating from v1.x.x to v2.x.x... what worked for me was setting a different
so i ran |
The below process can act as a workaround solution
The response in #4926 (comment) occurs for the endpoint @samuela (regarding:#4926 (comment)) |
This can be a temporary workaround solution after making the self-signed certificates as trusted and addition of Screen.Recording.2022-01-06.at.5.48.07.PM.mov |
Yeah. For me too, the problem was the disabling cors option. |
I get the error "Invalid admin-secret passed from CLI" when trying to use the console UI with the
--insecure-skip-tls-verify
flag.The other cli commands run just fine (e.g. migrate apply) but I cannot access the console UI.
The text was updated successfully, but these errors were encountered: