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

Provide a more helpful error if username is misconfigured #56

Open
bohendo opened this issue Jul 26, 2024 · 0 comments
Open

Provide a more helpful error if username is misconfigured #56

bohendo opened this issue Jul 26, 2024 · 0 comments

Comments

@bohendo
Copy link
Collaborator

bohendo commented Jul 26, 2024

 Creating new cloudexec- bucket... 
 Failed to create bucket 'cloudexec-': InvalidRequest: Malformed request
        status code: 400, request id: , host id:  

This error should say something more like "username cannot be empty, reconfigure cloudexec with cloudexec config or edit the file at ~/.config/cloudexec/config.toml manually"

Better username validation will also help us detect & debug difficult-to-reproduce edge-cases. For example, some users have reported that setting the username to cloudexec-myname results in a bucket creation error:

Failed to create bucket 'cloudexec-cloudexec-myname': InternalError: Error processing request
        status code: 500, request id: , host id: 
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