-
Notifications
You must be signed in to change notification settings - Fork 18
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 not loading data, Mixed Content error #13
Comments
Thanks for your feedback! |
@dcaputo-harmoni I tried to run quickstart in in secure mode just now, but could not. When attempting to use -i (
That said, I do ultimately want to run in secure mode, not insecure mode - my goal is to get the dashboard making secure requests, including its requests to postgrest. |
@dcaputo-harmoni I edited the services.yml file (for testing purposes), adjusting two env variables to use https rather than http:
Doing this, I was able to load my fleet and device: While this works, I'm clearly not using the services as intended, if I am editing the services.yml file. I do want to run in secure mode, so I want to access https://admin.mydomain.com, not http://admin.mydomain.com, and from the errors I was getting before my edits to the services.yml file, in order to do that, the postgrest url needs to use https, not http. Any ideas? |
@KLForsythe Did you ever come up with a solution for this? I am running into the same issue. |
@tchey290 No, unfortunately I did not find a solution. |
So far I've been able to get around this particular issue using cloudflare tunnel to provide SSL and proxy the requests. But now I am getting a different error:
Which I believe is because with the cloudflare tunnel it should be accessing the url through port 443 (SSL) which all my environment variables are set this way but it still tries to use 8080. I can't figure out where this url is set and how to change the port. @dcaputo-harmoni are you able to direct me to where it can be changed or add this as an environment variable if it's not? |
You need to dited the service.yml here: |
This is a wonderful project, and I am really excited about it. Thank you so much for creating it @dcaputo-harmoni. I'm working now on getting this set up for our systems, so that hopefully we'll be able to use OpenBalena for our device management going forward.
However, I've run into an issue.
The OpenBalena dashboard is unable to load any data:
On inspecting the console, I see the following errors (mydomain is a substitution for my actual domain) (I have one device and one fleet):
Followed by:
It appears that the main problem is that the dashboard is sending the request to postgrest.mydomain.com:8000 over http, not https. Any idea why that is happening, and what needs to be adjusted so that the dashboard knows to send the request to https://postgrest.mydomain.com:8000?
Thanks so much!
The text was updated successfully, but these errors were encountered: