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

Panic on failed authorization? #91

Open
voltagex opened this issue Aug 8, 2021 · 0 comments
Open

Panic on failed authorization? #91

voltagex opened this issue Aug 8, 2021 · 0 comments

Comments

@voltagex
Copy link

voltagex commented Aug 8, 2021

latest: Pulling from techknowlogick/drone-b2
Digest: sha256:57140f735e91032511f7cd3a867c8b7a937291f649c28383c8112b3cc808d573
Status: Image is up to date for techknowlogick/drone-b2:latest
time="2021-08-08T08:39:26Z" level=error msg="Could not authenticate to B2" error="b2_authorize_account: 401: "
time="2021-08-08T08:39:26Z" level=info msg="Attempting to upload" bucket=us-east-1
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x789ed7]

goroutine 1 [running]:
github.com/kurin/blazer/b2.(*Client).Bucket(0x0, 0x8f0be0, 0xc00002a028, 0x86e2c6, 0x9, 0x0, 0xc00011a068, 0x1)
	/go/pkg/mod/github.com/kurin/blazer@v0.5.3/b2/b2.go:285 +0x37
main.(*Plugin).Exec(0xc0002216e0, 0x0, 0x0)
	/drone/src/plugin.go:85 +0x2b6
main.run(0xc00013e000, 0x0, 0xc000102550)
	/drone/src/main.go:108 +0x498
github.com/urfave/cli.HandleAction(0x7e8460, 0x88b5e8, 0xc00013e000, 0xc00013e000, 0x0)
	/go/pkg/mod/github.com/urfave/cli@v1.22.4/app.go:526 +0xfd
github.com/urfave/cli.(*App).Run(0xc000136000, 0xc0000201d0, 0x1, 0x1, 0x0, 0x0)
	/go/pkg/mod/github.com/urfave/cli@v1.22.4/app.go:288 +0x655
main.main()
	/drone/src/main.go:84 +0xab0

https://cloud.drone.io/baxterworks-build/qemu-builder/89/1/5

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