muety / wakapi

๐Ÿ“Š A minimalist, self-hosted WakaTime-compatible backend for coding statistics

Home Page:https://wakapi.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Won't bind

deurk opened this issue ยท comments

2024-03-11T11:59:00.113146515+01:00 [INFO ] scheduling summary aggregation
2024-03-11T11:59:00.113163831+01:00 [INFO ] scheduling total time counting
2024-03-11T11:59:00.113187857+01:00 [INFO ] scheduling first data computing
2024-03-11T11:59:00.113147572+01:00 [INFO ] scheduling report generation
2024-03-11T11:59:00.11322556+01:00 [INFO ] scheduling leaderboard generation
2024-03-11T11:59:00.1131582+01:00 [INFO ] scheduling project stats cache pre-warming
2024-03-11T11:59:00.113158355+01:00 [INFO ] creating job queue 'wakapi.imports' (1 workers)
2024-03-11T11:59:00.113488327+01:00 [INFO ] counting users total time
2024-03-11T11:59:00.113799347+01:00 [INFO ] computing users' first data
2024-03-11T11:59:00.11532681+01:00 [INFO ] ๐Ÿ‘‰ Listening for HTTP on 0.0.0.0:3000... โœ…
2024-03-11T11:59:00.115334296+01:00 [INFO ] ๐Ÿ‘‰ Listening for HTTP on [::1]:3000... โœ…
2024-03-11T11:59:00.115483012+01:00 [ERROR] listen tcp [::1]:3000: bind: cannot assign requested address
panic: listen tcp [::1]:3000: bind: cannot assign requested address
goroutine 77 [running]:
github.com/emvi/logbuch.(*StandardFormatter).Pnc(0x24757c0?, {0xc000f9d200?, 0xc000f9d200?}, {0x0?, 0x0?, 0x0?})
	/go/pkg/mod/github.com/emvi/logbuch@v1.2.0/standard_formatter.go:57 +0x37
github.com/emvi/logbuch.(*Logger).Fatal(0x24757c0, {0xc000f9d200, 0x3c}, {0x0, 0x0, 0x0})
	/go/pkg/mod/github.com/emvi/logbuch@v1.2.0/logger.go:132 +0x72
github.com/emvi/logbuch.Fatal(...)
	/go/pkg/mod/github.com/emvi/logbuch@v1.2.0/funcs.go:55
main.listen.func5()
	/src/main.go:424 +0x47
created by main.listen in goroutine 1
	/src/main.go:422 +0x8a6

This is the error I am getting since 50 days on a setup that was previously working fine and that, I believe, had not seen any change in configuration. Would anyone have an idea of why it can't be bound?

Thanks a lot.

Duplicate of #584.

WAKAPI_LISTEN_IPV6='-' in env file worked for me, thanks.