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

BUG: no error message displayed at start up #357

Open
bedis opened this issue Jan 22, 2025 · 1 comment
Open

BUG: no error message displayed at start up #357

bedis opened this issue Jan 22, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@bedis
Copy link

bedis commented Jan 22, 2025

I'm trying to start manually the DPAPI and I get no error message telling me what's I'm doing wrong. Version 3.0.4
Here is my command line:

sudo dataplaneapi --port 5555 -b /opt/haproxy/sbin/haproxy -c /home/baptiste/haproxy/cfg/test.cfg  -d 5 -r "service haproxy reload" -s "service haproxy restart"  -t /tmp/haproxy -f /etc/dataplaneapi/dataplaneapi.yml --log-to=stdout --log-level=debug

Having an error message leading me to understand wht's I'm doing wrong would be helpful :)

@bedis bedis added the bug Something isn't working label Jan 22, 2025
@jaitaiwan
Copy link

Hey from what I could tell, it looks like the issue is if port or api_address is empty in the dataplaneapi.yaml file. I found that specifying in the command line what the host is, didn't work and that it still tried to use the dataplaneapi.advertised.api_address which would result in nil or empty string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants