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: when enable or disable existing ssl certificate, will be error #1034

Closed
idbeta opened this issue Dec 12, 2020 · 0 comments · Fixed by #1064
Closed

bug: when enable or disable existing ssl certificate, will be error #1034

idbeta opened this issue Dec 12, 2020 · 0 comments · Fixed by #1064
Labels
backend bug Something isn't working
Milestone

Comments

@idbeta
Copy link
Contributor

idbeta commented Dec 12, 2020

Bug report

Describe the bug

when enable or disable existing ssl certificate, will be error

$ curl http://127.0.0.1:9000/apisix/admin/ssl/332467865074533428 -d ‘{“status”:1}’ -X PATCH
2020-12-12 11:52:22.052345 I | http: panic serving 127.0.0.1:53773: runtime error: invalid memory address or nil pointer dereference
goroutine 70 [running]:
net/http.(*conn).serve.func1(0xc0003005a0)
	/usr/local/go/src/net/http/server.go:1801 +0x147
panic(0x19a0780, 0x212d5b0)
	/usr/local/go/src/runtime/panic.go:975 +0x3e9
github.com/apisix/manager-api/filter.Authentication.func1(0xc00035e690)
	... ...
curl: (52) Empty reply from server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants