forked from davidallendj/opaal
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The HTML pages from the repository are not present in the container. Opaal cannot deliver the index.html for login.
To Reproduce
- Start the released container in the deployment-recipes.
- Attempt to navigate to opaal for login http://localhost:3333/login
- Look for this line in logs:
http: panic serving 192.168.65.1:39179: stat /opaal/pages: no such file or directory - See the traceback that follows
2024-04-11 16:42:25 goroutine 359 [running]:
2024-04-11 16:42:25 net/http.(*conn).serve.func1()
2024-04-11 16:42:25 /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/net/http/server.go:1898 +0xbe
2024-04-11 16:42:25 panic({0xb1e9c0?, 0xc0004f1170?})
2024-04-11 16:42:25 /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/runtime/panic.go:770 +0x132
2024-04-11 16:42:25 davidallendj/opaal/internal/server.(*Server).Start.func3({0xcbe348, 0xc00026e460}, 0x0?)
2024-04-11 16:42:25 /home/runner/work/opaal/opaal/internal/server/server.go:79 +0x237
2024-04-11 16:42:25 net/http.HandlerFunc.ServeHTTP(0xc0001d0000?, {0xcbe348?, 0xc00026e460?}, 0xc00062607c?)
2024-04-11 16:42:25 /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/net/http/server.go:2166 +0x29
2024-04-11 16:42:25 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc000282840, {0xcbe348, 0xc00026e460}, 0xc0002c19e0)
2024-04-11 16:42:25 /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:459 +0x2e6
2024-04-11 16:42:25 net/http.HandlerFunc.ServeHTTP(0xc0004f1110?, {0xcbe348?, 0xc00026e460?}, 0x110cc40?)
2024-04-11 16:42:25 /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/net/http/server.go:2166 +0x29
2024-04-11 16:42:25 github.com/go-chi/chi/v5/middleware.RedirectSlashes.func1({0xcbe348, 0xc00026e460}, 0xc0002c19e0)
2024-04-11 16:42:25 /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/middleware/strip.go:59 +0x22b
2024-04-11 16:42:25 net/http.HandlerFunc.ServeHTTP(0xcbf8f0?, {0xcbe348?, 0xc00026e460?}, 0x10a8f00?)
2024-04-11 16:42:25 /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/net/http/server.go:2166 +0x29
2024-04-11 16:42:25 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc000282840, {0xcbe348, 0xc00026e460}, 0xc0002c17a0)
2024-04-11 16:42:25 /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:90 +0x2ee
2024-04-11 16:42:25 net/http.serverHandler.ServeHTTP({0xc0004f1020?}, {0xcbe348?, 0xc00026e460?}, 0x6?)
2024-04-11 16:42:25 /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/net/http/server.go:3137 +0x8e
2024-04-11 16:42:25 net/http.(*conn).serve(0xc00013e900, {0xcbf8b8, 0xc0004f0fc0})
2024-04-11 16:42:25 /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/net/http/server.go:2039 +0x5e8
2024-04-11 16:42:25 created by net/http.(*Server).Serve in goroutine 1
2024-04-11 16:42:25 /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/net/http/server.go:3285 +0x4b4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working