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

cli fails with https hosts #174

mmollaverdi opened this Issue Apr 30, 2017 · 1 comment


None yet
2 participants

mmollaverdi commented Apr 30, 2017

toxiproxy-cli --host create toxi_name -l localhost:8000 -u my-upstream-host
Failed to create proxy: Post http://https// dial tcp: lookup https: no such host

For some reason, the --host value is appended with http:// (http://https// It works fine if it already starts with http:// though.

@jpittis jpittis added the bug label May 13, 2017


This comment has been minimized.


jpittis commented May 13, 2017

Hey there! Thanks for reporting the issue.

Unrelated to the bug you described, the Toxiproxy HTTP API does not support HTTPS.

An easy fix for this bug would be to only append http to the host if another protocol isn't specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment