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

Error occurred while proxying request #18

Open
tchey290 opened this issue Apr 28, 2023 · 1 comment
Open

Error occurred while proxying request #18

tchey290 opened this issue Apr 28, 2023 · 1 comment

Comments

@tchey290
Copy link

Hi I have open balena and open balena admin installed and running on the same server and I have confirmed all my DNS entries are forwarded to the correct ip but I am getting this error in the browser console when creating a device:

GET http://postgrest.SERVER_DOMAIN:8000/application?is%20for-device%20type=eq.undefined&is%20host=eq.1&is%20of-class=eq.app&limit=1000&offset=0&order=id.asc 400 (Bad Request) fetchJ

Doing some more digging if I manually get that url I will get this error:

Error occurred while trying to proxy: postgrest.BALENA_DOMAIN:8000

and this error in the postgrest docker container:

[HPM] Error occurred while proxying request SERVER_IP:8000/ to http://127.0.0.1:3000/ [ECONNRESET]

There doesn't appear to be any issue connecting to the database as I see this in the logs as well:

Attempting to connect to the database...
Connection successful
@luisgs7
Copy link

luisgs7 commented Dec 13, 2023

Hi I have open balena and open balena admin installed and running on the same server and I have confirmed all my DNS entries are forwarded to the correct ip but I am getting this error in the browser console when creating a device:

GET http://postgrest.SERVER_DOMAIN:8000/application?is%20for-device%20type=eq.undefined&is%20host=eq.1&is%20of-class=eq.app&limit=1000&offset=0&order=id.asc 400 (Bad Request) fetchJ

Doing some more digging if I manually get that url I will get this error:

Error occurred while trying to proxy: postgrest.BALENA_DOMAIN:8000

and this error in the postgrest docker container:

[HPM] Error occurred while proxying request SERVER_IP:8000/ to http://127.0.0.1:3000/ [ECONNRESET]

There doesn't appear to be any issue connecting to the database as I see this in the logs as well:

Attempting to connect to the database...
Connection successful

I'm having the same problem, did you manage to solve it, if so, could you share the solution?

Thanks

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