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

[marathon] 404 when the configured URL has a trailing slash #1278

Closed
bspaans opened this issue Jan 5, 2015 · 1 comment · Fixed by #1401
Closed

[marathon] 404 when the configured URL has a trailing slash #1278

bspaans opened this issue Jan 5, 2015 · 1 comment · Fixed by #1401

Comments

@bspaans
Copy link

bspaans commented Jan 5, 2015

The web server powering Marathon apparently doesn't like double slashes, so dd-agent is getting a 404 back when trying to hit the /v2/apps endpoint.

e.g., with this configuration:

instances:
- url: "http://10.0.10.1:8080/"

The agent reports this error:

instance #0 [ERROR]: Exception('Got 404 when hitting http://10.0.10.1:8080/',)

This works fine if you leave off the trailing slash.

@LeoCavaille
Copy link
Member

Thanks for reporting this. Queuing it next, we should add least add something in the YAML comments or ensure that no double slashes are present in the check.

@LeoCavaille LeoCavaille added this to the 5.3.0 milestone Jan 5, 2015
remh pushed a commit that referenced this issue Feb 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants