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

http: multiple response.WriteHeader calls #48

Open
maximemoreillon opened this issue Mar 8, 2023 · 4 comments
Open

http: multiple response.WriteHeader calls #48

maximemoreillon opened this issue Mar 8, 2023 · 4 comments

Comments

@maximemoreillon
Copy link

maximemoreillon commented Mar 8, 2023

Hello,

I am using the docker-compose.yml file as it is provided in this repository, (using the latest docker image) but I am getting the following error when I access the UI:

ui_1           | 2023/03/08 00:33:29.143 [chartmuseum.go:17]  0x890480
ui_1           | 2023/03/08 00:33:29.143 [C] [asm_amd64.s:522]  the request url is  /
ui_1           | 2023/03/08 00:33:29.143 [C] [asm_amd64.s:522]  Handler crashed with error 0x890480
ui_1           | 2023/03/08 00:33:29.143 [C] [asm_amd64.s:522]  /usr/local/go/src/runtime/asm_amd64.s:522
ui_1           | 2023/03/08 00:33:29.143 [C] [asm_amd64.s:522]  /usr/local/go/src/runtime/panic.go:513
ui_1           | 2023/03/08 00:33:29.143 [C] [asm_amd64.s:522]  /usr/local/go/src/log/log.go:212
ui_1           | 2023/03/08 00:33:29.143 [C] [asm_amd64.s:522]  /go/src/quickstart/controllers/chartmuseum.go:17
ui_1           | 2023/03/08 00:33:29.143 [C] [asm_amd64.s:522]  /go/src/quickstart/controllers/main.go:17
ui_1           | 2023/03/08 00:33:29.143 [C] [asm_amd64.s:522]  /go/src/quickstart/vendor/github.com/astaxie/beego/router.go:829
ui_1           | 2023/03/08 00:33:29.143 [C] [asm_amd64.s:522]  /usr/local/go/src/net/http/server.go:2741
ui_1           | 2023/03/08 00:33:29.143 [C] [asm_amd64.s:522]  /usr/local/go/src/net/http/server.go:1847
ui_1           | 2023/03/08 00:33:29.143 [C] [asm_amd64.s:522]  /usr/local/go/src/runtime/asm_amd64.s:1333
ui_1           | 2023/03/08 00:33:29.143 [server.go:2977]  [HTTP] http: multiple response.WriteHeader calls

Am I doing something wrong?

Best regards

@krikeri
Copy link

krikeri commented Mar 10, 2023

Hello,
I am getting the same error message with the latest tag.

Thanks

@maximemoreillon
Copy link
Author

maximemoreillon commented Mar 12, 2023

While waiting for the official ChartMuseum UI, I put together a simple alternative: ChartMuseum GUI

@busyboy77
Copy link

2023/04/09 12:42:35.248 [server.go:2977]  [HTTP] http: multiple response.WriteHeader calls
2023/04/09 12:43:44.505 [D] [server.go:2741]  |   192.168.50.6| 404 |    542.493µs| nomatch| GET      /index.yaml
2023/04/09 12:43:49.615 [main.go:16]  I'm alive
2023/04/09 12:43:49.615 [chartmuseum.go:17]  0x890480
2023/04/09 12:43:49.615 [C] [asm_amd64.s:522]  the request url is  /
2023/04/09 12:43:49.615 [C] [asm_amd64.s:522]  Handler crashed with error 0x890480
2023/04/09 12:43:49.615 [C] [asm_amd64.s:522]  /usr/local/go/src/runtime/asm_amd64.s:522
2023/04/09 12:43:49.615 [C] [asm_amd64.s:522]  /usr/local/go/src/runtime/panic.go:513
2023/04/09 12:43:49.615 [C] [asm_amd64.s:522]  /usr/local/go/src/log/log.go:212
2023/04/09 12:43:49.615 [C] [asm_amd64.s:522]  /go/src/quickstart/controllers/chartmuseum.go:17
2023/04/09 12:43:49.615 [C] [asm_amd64.s:522]  /go/src/quickstart/controllers/main.go:17
2023/04/09 12:43:49.615 [C] [asm_amd64.s:522]  /go/src/quickstart/vendor/github.com/astaxie/beego/router.go:829
2023/04/09 12:43:49.615 [C] [asm_amd64.s:522]  /usr/local/go/src/net/http/server.go:2741
2023/04/09 12:43:49.615 [C] [asm_amd64.s:522]  /usr/local/go/src/net/http/server.go:1847
2023/04/09 12:43:49.615 [C] [asm_amd64.s:522]  /usr/local/go/src/runtime/asm_amd64.s:1333
2023/04/09 12:43:49.616 [server.go:2977]  [HTTP] http: multiple response.WriteHeader calls
2023/04/09 12:43:52.171 [main.go:16]  I'm alive
2023/04/09 12:43:52.171 [chartmuseum.go:17]  0x890480
2023/04/09 12:43:52.171 [C] [asm_amd64.s:522]  the request url is  /
2023/04/09 12:43:52.171 [C] [asm_amd64.s:522]  Handler crashed with error 0x890480
2023/04/09 12:43:52.171 [C] [asm_amd64.s:522]  /usr/local/go/src/runtime/asm_amd64.s:522
2023/04/09 12:43:52.171 [C] [asm_amd64.s:522]  /usr/local/go/src/runtime/panic.go:513
2023/04/09 12:43:52.171 [C] [asm_amd64.s:522]  /usr/local/go/src/log/log.go:212
2023/04/09 12:43:52.171 [C] [asm_amd64.s:522]  /go/src/quickstart/controllers/chartmuseum.go:17
2023/04/09 12:43:52.171 [C] [asm_amd64.s:522]  /go/src/quickstart/controllers/main.go:17
2023/04/09 12:43:52.171 [C] [asm_amd64.s:522]  /go/src/quickstart/vendor/github.com/astaxie/beego/router.go:829
2023/04/09 12:43:52.171 [C] [asm_amd64.s:522]  /usr/local/go/src/net/http/server.go:2741
2023/04/09 12:43:52.171 [C] [asm_amd64.s:522]  /usr/local/go/src/net/http/server.go:1847
2023/04/09 12:43:52.171 [C] [asm_amd64.s:522]  /usr/local/go/src/runtime/asm_amd64.s:1333
2023/04/09 12:43:52.172 [server.go:2977]  [HTTP] http: multiple response.WriteHeader calls
2023/04/09 12:44:55.386 [main.go:16]  I'm alive
2023/04/09 12:44:55.386 [chartmuseum.go:17]  0x890480
2023/04/09 12:44:55.386 [C] [asm_amd64.s:522]  the request url is  /
2023/04/09 12:44:55.386 [C] [asm_amd64.s:522]  Handler crashed with error 0x890480
2023/04/09 12:44:55.386 [C] [asm_amd64.s:522]  /usr/local/go/src/runtime/asm_amd64.s:522
2023/04/09 12:44:55.386 [C] [asm_amd64.s:522]  /usr/local/go/src/runtime/panic.go:513
2023/04/09 12:44:55.386 [C] [asm_amd64.s:522]  /usr/local/go/src/log/log.go:212
2023/04/09 12:44:55.386 [C] [asm_amd64.s:522]  /go/src/quickstart/controllers/chartmuseum.go:17
2023/04/09 12:44:55.386 [C] [asm_amd64.s:522]  /go/src/quickstart/controllers/main.go:17
2023/04/09 12:44:55.386 [C] [asm_amd64.s:522]  /go/src/quickstart/vendor/github.com/astaxie/beego/router.go:829
2023/04/09 12:44:55.386 [C] [asm_amd64.s:522]  /usr/local/go/src/net/http/server.go:2741
2023/04/09 12:44:55.388 [C] [asm_amd64.s:522]  /usr/local/go/src/net/http/server.go:1847
2023/04/09 12:44:55.388 [C] [asm_amd64.s:522]  /usr/local/go/src/runtime/asm_amd64.s:1333
2023/04/09 12:44:55.388 [server.go:2977]  [HTTP] http: multiple response.WriteHeader calls
2023/04/09 12:44:56.616 [main.go:16]  I'm alive
2023/04/09 12:44:56.616 [chartmuseum.go:17]  0x890480
2023/04/09 12:44:56.616 [C] [asm_amd64.s:522]  the request url is  /home
2023/04/09 12:44:56.616 [C] [asm_amd64.s:522]  Handler crashed with error 0x890480
2023/04/09 12:44:56.616 [C] [asm_amd64.s:522]  /usr/local/go/src/runtime/asm_amd64.s:522
2023/04/09 12:44:56.616 [C] [asm_amd64.s:522]  /usr/local/go/src/runtime/panic.go:513
2023/04/09 12:44:56.616 [C] [asm_amd64.s:522]  /usr/local/go/src/log/log.go:212
2023/04/09 12:44:56.616 [C] [asm_amd64.s:522]  /go/src/quickstart/controllers/chartmuseum.go:17
2023/04/09 12:44:56.616 [C] [asm_amd64.s:522]  /go/src/quickstart/controllers/main.go:17
2023/04/09 12:44:56.616 [C] [asm_amd64.s:522]  /go/src/quickstart/vendor/github.com/astaxie/beego/router.go:829
2023/04/09 12:44:56.616 [C] [asm_amd64.s:522]  /usr/local/go/src/net/http/server.go:2741
2023/04/09 12:44:56.616 [C] [asm_amd64.s:522]  /usr/local/go/src/net/http/server.go:1847
2023/04/09 12:44:56.616 [C] [asm_amd64.s:522]  /usr/local/go/src/runtime/asm_amd64.s:1333
2023/04/09 12:44:56.617 [server.go:2977]  [HTTP] http: multiple response.WriteHeader calls

any help

@Hexiaopi
Copy link

same issue.
image

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

4 participants