[GH-ISSUE #293] centos Server: superfluous response.WriteHeader #73

Closed
opened 2026-03-02 05:18:33 +03:00 by kerem · 2 comments
Owner

Originally created by @xiongdi9456 on GitHub (Feb 20, 2023).
Original GitHub issue: https://github.com/hibiken/asynqmon/issues/293

I run both docker and [asynqmon_v0.7.1_linux_amd64.tar.gz] file in CentOS Server, they all have some message like

Asynq Monitoring WebUI server is listening on port 8080
2023/02/20 12:25:48 http: superfluous response.WriteHeader call from github.com/hibiken/asynqmon.(*uiAssetsHandler).ServeHTTP (static.go:46)
2023/02/20 12:26:05 http: superfluous response.WriteHeader call from github.com/hibiken/asynqmon.(*uiAssetsHandler).ServeHTTP (static.go:46)
2023/02/20 12:26:06 http: superfluous response.WriteHeader call from github.com/hibiken/asynqmon.(*uiAssetsHandler).ServeHTTP (static.go:46)

and the web in browser have nothing show up.
The console had an error like:

Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING

Redis is working well, I tested the port is good.

Do you have any idea?

Originally created by @xiongdi9456 on GitHub (Feb 20, 2023). Original GitHub issue: https://github.com/hibiken/asynqmon/issues/293 I run both docker and [asynqmon_v0.7.1_linux_amd64.tar.gz] file in CentOS Server, they all have some message like ``` Asynq Monitoring WebUI server is listening on port 8080 2023/02/20 12:25:48 http: superfluous response.WriteHeader call from github.com/hibiken/asynqmon.(*uiAssetsHandler).ServeHTTP (static.go:46) 2023/02/20 12:26:05 http: superfluous response.WriteHeader call from github.com/hibiken/asynqmon.(*uiAssetsHandler).ServeHTTP (static.go:46) 2023/02/20 12:26:06 http: superfluous response.WriteHeader call from github.com/hibiken/asynqmon.(*uiAssetsHandler).ServeHTTP (static.go:46) ``` and the web in browser have nothing show up. The console had an error like: ``` Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING ``` Redis is working well, I tested the port is good. Do you have any idea?
kerem closed this issue 2026-03-02 05:18:33 +03:00
Author
Owner

@mikelaowang commented on GitHub (Feb 23, 2023):

It is because your network speed is too low to load the webui js, well the Server blocked your request。
Look at the code ‘cmd/asynqmon/main.go’ at line 179 , change the timeout num
Then Build a docker image yourself

<!-- gh-comment-id:1442037534 --> @mikelaowang commented on GitHub (Feb 23, 2023): It is because your network speed is too low to load the webui js, well the Server blocked your request。 Look at the code ‘cmd/asynqmon/main.go’ at line 179 , change the timeout num Then Build a docker image yourself
Author
Owner

@mikelaowang commented on GitHub (Feb 23, 2023):

I run both docker and [asynqmon_v0.7.1_linux_amd64.tar.gz] file in CentOS Server, they all have some message like

Asynq Monitoring WebUI server is listening on port 8080
2023/02/20 12:25:48 http: superfluous response.WriteHeader call from github.com/hibiken/asynqmon.(*uiAssetsHandler).ServeHTTP (static.go:46)
2023/02/20 12:26:05 http: superfluous response.WriteHeader call from github.com/hibiken/asynqmon.(*uiAssetsHandler).ServeHTTP (static.go:46)
2023/02/20 12:26:06 http: superfluous response.WriteHeader call from github.com/hibiken/asynqmon.(*uiAssetsHandler).ServeHTTP (static.go:46)

and the web in browser have nothing show up. The console had an error like:

Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING

Redis is working well, I tested the port is good.

Do you have any idea?

!!!

<!-- gh-comment-id:1442042417 --> @mikelaowang commented on GitHub (Feb 23, 2023): > I run both docker and [asynqmon_v0.7.1_linux_amd64.tar.gz] file in CentOS Server, they all have some message like > > ``` > Asynq Monitoring WebUI server is listening on port 8080 > 2023/02/20 12:25:48 http: superfluous response.WriteHeader call from github.com/hibiken/asynqmon.(*uiAssetsHandler).ServeHTTP (static.go:46) > 2023/02/20 12:26:05 http: superfluous response.WriteHeader call from github.com/hibiken/asynqmon.(*uiAssetsHandler).ServeHTTP (static.go:46) > 2023/02/20 12:26:06 http: superfluous response.WriteHeader call from github.com/hibiken/asynqmon.(*uiAssetsHandler).ServeHTTP (static.go:46) > ``` > > and the web in browser have nothing show up. The console had an error like: > > ``` > Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING > ``` > > Redis is working well, I tested the port is good. > > Do you have any idea? !!!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynqmon#73
No description provided.