First-time setup- unable to connect to API #450
Replies: 2 comments 1 reply
-
Hello. I'm guessing NginxProxyManager is running as a dedicated reverse proxy. So if you want to proxy like this: flowchart LR
npm[NPM]--> ws[BA webserver service] --> ba[BA services]
Then you need to setup your npm to reverse proxy to webserver service. Looking at the screenshots, your source should be |
Beta Was this translation helpful? Give feedback.
-
I’d stop the containers, remove all the containers and volumes, run prune in docker and then restart the stack. Make sure you do actually have space available on your docker volume. I fixed it by using zero trust cloudflare tunnel with 3 subdomains (bar, barapi,& barsearch).mydomain.com and set the environment variables to match (i.e. https://bar.mydomain.com pointed at the http:\dockerhostIP:8080). Clay |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I'm running into a few things here.
First, there's a really annoying bug on the login page I think yall should know about- if you can't connect to the API, the loading overlay gets stuck in place and just blurs out the entire login form, which obscures any error messages.
But my real issue is that for some reason, I can't connect to my API. I'm running bar-assistant behind NginxProxyManager at
bar.example.com
(not the real URL, obviously) which is a domain I set up in Cloudflare. I have multiple other services running behind this NGINX instance and I've set this up the same way, so I'm fairly certain that isn't my problem here.My config files are as follows:
docker-compose:
Environment variables (I use portainer to do my container management, so I just set up the variables):
nginx.conf:
And last, a screenshot of my NGINX proxy manager setup (with the ip address obscured)
Now, some things I notice happening with this setup:
I'm not sure what's wrong in this setup, I'm hoping someone here will spot it. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions