Closed jeromecst closed 3 months ago
I have the exact same issue. No special config. v2.1.4
runtime error: invalid memory address or nil pointer dereference\ngoroutine 2126 [running]:\nnet/http.(*conn).serve.func1()\n\t/usr/local/go/src/net/http/server.go:1903 +0xbe\npanic({0x5571d6fc19c0?, 0x5571d7700c90?})\n\t/usr/local/go/src/runtime/panic.go:770 +0x132\nminiflux.app/v2/internal/ui.(*handler).submitSubscription(0xc00103dea0, {0x5571d70a6fe0, 0xc0018220e0}, 0xc000fa8b40)\n\t/go/src/app/internal/ui/subscription_submit.go:121 +0x8ca\nnet/http.HandlerFunc.ServeHTTP(0xc000fa8a20?, {0x5571d70a6fe0?, 0xc0018220e0?}, 0x5571d6cd7510?)\n\t/usr/local/go/src/net/http/server.go:2171 +0x29\nminiflux.app/v2/internal/ui.(*middleware).handleAppSession-fm.(*middleware).handleAppSession.func1({0x5571d70a6fe0, 0xc0018220e0}, 0xc000fa8a20)\n\t/go/src/app/internal/ui/middleware.go:125 +0x9b4\nnet/http.HandlerFunc.ServeHTTP(0xc000fa8900?, {0x5571d70a6fe0?, 0xc0018220e0?}, 0x5571d6cda668?)\n\t/usr/local/go/src/net/http/server.go:2171 +0x29\nminiflux.app/v2/internal/ui.(*middleware).handleUserSession-fm.(*middleware).handleUserSession.func1({0x5571d70a6fe0, 0xc0018220e0}, 0xc000fa8900)\n\t/go/src/app/internal/ui/middleware.go:59 +0x385\nnet/http.HandlerFunc.ServeHTTP(0xc000ea8450?, {0x5571d70a6fe0?, 0xc0018220e0?}, 0x5571d6cda678?)\n\t/usr/local/go/src/net/http/server.go:2171 +0x29\nminiflux.app/v2/internal/http/server.middleware.func1({0x5571d70a6fe0, 0xc0018220e0}, 0xc000fa87e0)\n\t/go/src/app/internal/http/server/middleware.go:43 +0x351\nnet/http.HandlerFunc.ServeHTTP(0xc000fa8480?, {0x5571d70a6fe0?, 0xc0018220e0?}, 0x1?)\n\t/usr/local/go/src/net/http/server.go:2171 +0x29\ngithub.com/gorilla/mux.(*Router).ServeHTTP(0xc0002246c0, {0x5571d70a6fe0, 0xc0018220e0}, 0xc000fa8360)\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.1/mux.go:212 +0x1e2\nnet/http.serverHandler.ServeHTTP({0x5571d70a5040?}, {0x5571d70a6fe0?, 0xc0018220e0?}, 0x6?)\n\t/usr/local/go/src/net/http/server.go:3142 +0x8e\nnet/http.(*conn).serve(0xc000fb2120, {0x5571d70a8cb0, 0xc000abfdd0})\n\t/usr/local/go/src/net/http/server.go:2044 +0x5e8\ncreated by net/http.(*Server).Serve in goroutine 20\n\t/usr/local/go/src/net/http/server.go:3290 +0x4b4"
RUN_MIGRATIONS=1
DATABASE_URL=postgres://user:passward@192.168.88.10:5442?sslmode=disable
Fix: #2742
Fix available in v2.2.0
I recently updated my miniflux docker container to the latest version and now I get a
502 Bad Gateway nginx
on my web server when adding a YouTube feed. Here's the Miniflux logsI didn't notice this problem when adding other feeds like LeMonde.
My docker compose config:
Nginx config:
edit: adding nginx & docker configs