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]: Cargo shuttle Error: failed to make get request #779

Closed
1 task done
oxabz opened this issue Apr 3, 2023 · 2 comments · Fixed by #797
Closed
1 task done

[Bug]: Cargo shuttle Error: failed to make get request #779

oxabz opened this issue Apr 3, 2023 · 2 comments · Fixed by #797
Labels
T-Bug Something isn't working

Comments

@oxabz
Copy link

oxabz commented Apr 3, 2023

What happened?

When I try to use any command of cargo shuttle that tries to access shuttle, I get an error.

I took a look at wireshark and it doesn't even get to the point of sending an HTTP request. So the error might be in cargo shuttle.

Version

v0.13.0

Which operating systems are you seeing the problem on?

Linux

Which CPU architectures are you seeing the problem on?

x86_64

Relevant log output

Error: failed to make get request

Caused by:
    0: Request error: builder error: failed to parse header value
    1: builder error: failed to parse header value
    2: failed to parse header value

Duplicate declaration

  • I have searched the issues and there are none like this.
@oxabz oxabz added the T-Bug Something isn't working label Apr 3, 2023
@oxabz
Copy link
Author

oxabz commented Apr 3, 2023

Okay my bad (sort of). I seem to have used ctrl+p instead of ctrl+shift+p to paste my API key while logging in.
After login in again correctly, the error is gone.

I'm still leaving the bug open because it might be useful to add a check on the input of cargo shuttle login or a more expressive error message in a future version.

@oddgrd
Copy link
Contributor

oddgrd commented Apr 4, 2023

Yeah, we should look into improving this error message. Thanks @oxabz!

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

Successfully merging a pull request may close this issue.

2 participants