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

400 Bad request from handler transport #25

Closed
ndh96coder opened this issue Oct 22, 2019 · 1 comment
Closed

400 Bad request from handler transport #25

ndh96coder opened this issue Oct 22, 2019 · 1 comment

Comments

@ndh96coder
Copy link

Here is my code server:
https://onlinegdb.com/r1gZ6lnFH

After curl localhost:8080 the console show:
call zipkin transport_handler
code = 400, text = Expected value at line 1 column 1 path $ reading List from json , reason = Bad Request

How can i Fixed it. Thanks you

@killpanda
Copy link
Contributor

For current version, please use v1 version API instead of v2 one.

Change DSN from

ZIPKIN_BASE_URL = "http://localhost:9411/api/v2/spans"

To

ZIPKIN_BASE_URL = "http://localhost:9411/api/v1/spans"

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

2 participants