# Drone-b2 panicking on failed auth?

**URL:** <https://drone.discourse.group/t/drone-b2-panicking-on-failed-auth/8730>\
**Category:** Drone Support\
**Created:** [August 8, 2021, 8:51am UTC](https://drone.discourse.group/t/drone-b2-panicking-on-failed-auth/8730 "2021-08-08T08:51:12Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![voltagex](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/voltagex/32/5623_2.png) [@voltagex](https://drone.discourse.group/u/voltagex)\
**Post date:** [August 8, 2021, 8:51am UTC](https://drone.discourse.group/t/drone-b2-panicking-on-failed-auth/8730/1 "2021-08-08T08:51:12Z")

</div>

Reported upstream at [Panic on failed authorization? · Issue #91 · techknowlogick/drone-b2 · GitHub](https://github.com/techknowlogick/drone-b2/issues/91)

```auto
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](https://cloud.drone.io/baxterworks-build/qemu-builder/89/1/5)

---

_[View the full topic](https://drone.discourse.group/t/drone-b2-panicking-on-failed-auth/8730)._
