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

ListenBucketNotification doesn't show any error when wrong information are provided #725

Closed
vadmeste opened this issue Jun 23, 2017 · 5 comments

Comments

@vadmeste
Copy link
Member

If the server address or access or secret keys or bucket name is wrong. ListenBucketNotification doesn't return any error. This is a confusing behavior for users.

@vadmeste vadmeste changed the title ListenBucketNotification doesn't show any error with wrong provided information ListenBucketNotification doesn't show any error when wrong information are provided Jun 23, 2017
@harshavardhana
Copy link
Member

If the server address or access or secret keys or bucket name is wrong. ListenBucketNotification doesn't return any error. This is a confusing behavior for users.

Yes there is sort of infinite loop of sort.

@rio
Copy link

rio commented Jun 29, 2017

This is also the case if tls is turned on while the server doesn't serve tls or vise versa.

@harshavardhana
Copy link
Member

This is also the case if tls is turned on while the server doesn't serve tls or vise versa.

Understood 👍 all errors..

@harshavardhana
Copy link
Member

i see that listenbucket fails properly .. there is one error that needs to be fixed.

go run listenbucketnotification.go 
2017/11/01 01:17:49 The access key ID you provided does not exist in our records.
exit status 1
go run listenbucketnotification.go 
2017/11/01 01:22:32 Bucket name contains invalid characters
exit status 1

@harshavardhana
Copy link
Member

fixed by #861

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

No branches or pull requests

4 participants