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

Failed to parse URL with authentication data inside #11

Open
kivagant-ba opened this issue Aug 30, 2019 · 0 comments
Open

Failed to parse URL with authentication data inside #11

kivagant-ba opened this issue Aug 30, 2019 · 0 comments

Comments

@kivagant-ba
Copy link

If URL contains username and password inside, burrow.py raises InvalidURL exception.

# burrow_uri: https://user:abcd^efgh324@somehost.local/

 in _check_burrow\n    response = requests.get(url, timeout=CHECK_TIMEOUT)\n
  File \"/opt/datadog-agent/embedded/lib/python2.7/site-packages/requests/api.py\", line 75, in get\n    return request('get', url, params=params, **kwargs)\n  File \"/opt/datadog-agent/embedded/lib/python2.7/site-packages/requests/api.py\", line 60, in request\n    return session.request(method=method, url=url, **kwargs)\n  File \"/opt/datadog-agent/embedded/lib/python2.7/site-packages/requests/sessions.py\", line 519, in request\n    prep = self.prepare_request(req)\n  File \"/opt/datadog-agent/embedded/lib/python2.7/site-packages/requests/sessions.py\", line 462, in prepare_request\n    hooks=merge_hooks(request.hooks, self.hooks),\n  File \"/opt/datadog-agent/embedded/lib/python2.7/site-packages/requests/models.py\", line 313, in prepare\n    self.prepare_url(url, params)\n  File \"/opt/datadog-agent/embedded/lib/python2.7/site-packages/requests/models.py\", line 381, in prepare_url\n    raise InvalidURL(*e.args)\nInvalidURL: Failed to parse:...
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

1 participant