Skip to content

Instantly share code, notes, and snippets.

@thiskevinwang
Created November 14, 2022 06:00
Show Gist options
  • Save thiskevinwang/f75314e45f4852ce589dac1ddf96ca4e to your computer and use it in GitHub Desktop.
Save thiskevinwang/f75314e45f4852ce589dac1ddf96ca4e to your computer and use it in GitHub Desktop.
Waypoint UI crashing when clicking into project deployed/released via apprunner)
2022-11-14T05:56:48.787Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/UI_GetProject request
2022-11-14T05:56:48.789Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/UI_GetProject response: error=<nil> duration=2.324584ms
2022-11-14T05:56:48.790Z [INFO] waypoint.server.http: HTTP request: POST /grpc/hashicorp.waypoint.Waypoint/UI_GetProject: ln=[::]:9702 date=2022-11-14T05:56:48.786647255Z http.host=localhost:9702 http.method=POST http.request_path=/grpc/hashicorp.waypoint.Waypoint/UI_GetProject http.remote_addr=172.18.0.1 http.response_size=76 http.scheme="" http.scheme_forwarded=false http.tls=true http.status_code=200 http.useragent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36" http.version=HTTP/1.1
2022-11-14T05:56:50.442Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/UI_ListReleases request
2022-11-14T05:56:50.443Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/ListPushedArtifacts request
2022-11-14T05:56:50.443Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/ListPushedArtifacts response: error=<nil> duration=484.5µs
2022-11-14T05:56:50.443Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/UI_ListReleases response: error=<nil> duration=683.666µs
2022-11-14T05:56:50.443Z [INFO] waypoint.server.http: HTTP request: POST /grpc/hashicorp.waypoint.Waypoint/ListPushedArtifacts: ln=[::]:9702 date=2022-11-14T05:56:50.442975631Z http.host=localhost:9702 http.method=POST http.request_path=/grpc/hashicorp.waypoint.Waypoint/ListPushedArtifacts http.remote_addr=172.18.0.1 http.response_size=3288 http.scheme="" http.scheme_forwarded=false http.tls=true http.status_code=200 http.useragent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36" http.version=HTTP/1.1
2022-11-14T05:56:50.443Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/UI_ListDeployments request
2022-11-14T05:56:50.444Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/ListBuilds request
2022-11-14T05:56:50.444Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/ListBuilds response: error=<nil> duration=501.334µs
2022-11-14T05:56:50.444Z [INFO] waypoint.server.http: HTTP request: POST /grpc/hashicorp.waypoint.Waypoint/ListBuilds: ln=[::]:9702 date=2022-11-14T05:56:50.443983423Z http.host=localhost:9702 http.method=POST http.request_path=/grpc/hashicorp.waypoint.Waypoint/ListBuilds http.remote_addr=172.18.0.1 http.response_size=5480 http.scheme="" http.scheme_forwarded=false http.tls=true http.status_code=200 http.useragent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36" http.version=HTTP/1.1
2022-11-14T05:56:50.444Z [INFO] waypoint.server.http: HTTP request: POST /grpc/hashicorp.waypoint.Waypoint/UI_ListReleases: ln=[::]:9702 date=2022-11-14T05:56:50.442608048Z http.host=localhost:9702 http.method=POST http.request_path=/grpc/hashicorp.waypoint.Waypoint/UI_ListReleases http.remote_addr=172.18.0.1 http.response_size=9884 http.scheme="" http.scheme_forwarded=false http.tls=true http.status_code=200 http.useragent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36" http.version=HTTP/1.1
2022-11-14T05:56:50.445Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/UI_ListDeployments response: error=<nil> duration=1.157041ms
2022-11-14T05:56:50.445Z [INFO] waypoint.server.http: HTTP request: POST /grpc/hashicorp.waypoint.Waypoint/UI_ListDeployments: ln=[::]:9702 date=2022-11-14T05:56:50.442608089Z http.host=localhost:9702 http.method=POST http.request_path=/grpc/hashicorp.waypoint.Waypoint/UI_ListDeployments http.remote_addr=172.18.0.1 http.response_size=19276 http.scheme="" http.scheme_forwarded=false http.tls=true http.status_code=200 http.useragent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36" http.version=HTTP/1.1
2022-11-14T05:56:50.485Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/ListWorkspaces request
2022-11-14T05:56:50.485Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/ListWorkspaces response: error=<nil> duration=211.334µs
2022-11-14T05:56:50.485Z [INFO] waypoint.server.http: HTTP request: POST /grpc/hashicorp.waypoint.Waypoint/ListWorkspaces: ln=[::]:9702 date=2022-11-14T05:56:50.484376756Z http.host=localhost:9702 http.method=POST http.request_path=/grpc/hashicorp.waypoint.Waypoint/ListWorkspaces http.remote_addr=172.18.0.1 http.response_size=232 http.scheme="" http.scheme_forwarded=false http.tls=true http.status_code=200 http.useragent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36" http.version=HTTP/1.1
2022-11-14T05:56:50.520Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/GetJobStream request
2022-11-14T05:56:50.521Z [DEBUG] waypoint.server.grpc: job state change: job_id=01GHT5ZRWJGF8N22TRWRTRM3VX state=ERROR
2022-11-14T05:56:50.521Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/GetJobStream response: error=<nil> duration=1.570167ms
2022-11-14T05:56:50.522Z [INFO] waypoint.server.http: HTTP request: POST /grpc/hashicorp.waypoint.Waypoint/GetJobStream: ln=[::]:9702 date=2022-11-14T05:56:50.520127214Z http.host=localhost:9702 http.method=POST http.request_path=/grpc/hashicorp.waypoint.Waypoint/GetJobStream http.remote_addr=172.18.0.1 http.response_size=1244 http.scheme="" http.scheme_forwarded=false http.tls=true http.status_code=200 http.useragent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36" http.version=HTTP/1.1
2022-11-14T05:56:57.188Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/ListProjects request
2022-11-14T05:56:57.188Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/ListProjects response: error=<nil> duration=214.917µs
2022-11-14T05:56:57.189Z [INFO] waypoint.server.http: HTTP request: POST /grpc/hashicorp.waypoint.Waypoint/ListProjects: ln=[::]:9702 date=2022-11-14T05:56:57.188357426Z http.host=localhost:9702 http.method=POST http.request_path=/grpc/hashicorp.waypoint.Waypoint/ListProjects http.remote_addr=172.18.0.1 http.response_size=60 http.scheme="" http.scheme_forwarded=false http.tls=true http.status_code=200 http.useragent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36" http.version=HTTP/1.1
2022-11-14T05:56:59.934Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/UI_GetProject request
2022-11-14T05:56:59.939Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/UI_GetProject response: error=<nil> duration=4.733084ms
2022-11-14T05:56:59.941Z [INFO] waypoint.server.http: HTTP request: POST /grpc/hashicorp.waypoint.Waypoint/UI_GetProject: ln=[::]:9702 date=2022-11-14T05:56:59.933318552Z http.host=localhost:9702 http.method=POST http.request_path=/grpc/hashicorp.waypoint.Waypoint/UI_GetProject http.remote_addr=172.18.0.1 http.response_size=76 http.scheme="" http.scheme_forwarded=false http.tls=true http.status_code=200 http.useragent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36" http.version=HTTP/1.1
2022-11-14T05:57:01.780Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/UI_ListReleases request
2022-11-14T05:57:01.780Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/UI_ListDeployments request
2022-11-14T05:57:01.780Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/ListBuilds request
2022-11-14T05:57:01.781Z [INFO] waypoint.server.grpc: /hashicorp.waypoint.Waypoint/ListBuilds response: error=<nil> duration=1.194667ms
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x2477d60]
goroutine 312 [running]:
github.com/hashicorp/waypoint/pkg/server/singleprocess.(*Service).UI_ListReleases(0x4000f124b0, {0x37ef688, 0x4001292900}, 0x400010c360)
/tmp/wp-src/pkg/server/singleprocess/service_ui_release.go:63 +0x830
github.com/hashicorp/waypoint/pkg/server/gen._Waypoint_UI_ListReleases_Handler.func1({0x37ef688, 0x4001292900}, {0x2e85940, 0x400010c360})
/tmp/wp-src/pkg/server/gen/server_grpc.pb.go:4103 +0x7c
github.com/hashicorp/waypoint/pkg/server.AuthUnaryInterceptor.func1({0x37ef688, 0x4001292780}, {0x2e85940, 0x400010c360}, 0x40005b6360, 0x4000d02f90)
/tmp/wp-src/pkg/server/auth.go:87 +0x280
google.golang.org/grpc.chainUnaryInterceptors.func1.1({0x37ef688, 0x4001292780}, {0x2e85940, 0x400010c360})
/go/pkg/mod/google.golang.org/[email protected]/server.go:1116 +0x7c
github.com/hashicorp/waypoint/pkg/server.GWNullAnyUnaryInterceptor.func1({0x37ef688, 0x4001292780}, {0x2e85940, 0x400010c360}, 0x40005b6360, 0x4001290740)
/tmp/wp-src/pkg/server/grpc_any.go:27 +0x48
google.golang.org/grpc.chainUnaryInterceptors.func1.1({0x37ef688, 0x4001292780}, {0x2e85940, 0x400010c360})
/go/pkg/mod/google.golang.org/[email protected]/server.go:1119 +0xf0
github.com/hashicorp/waypoint/pkg/server.VersionUnaryInterceptor.func1({0x37ef688, 0x40012926f0}, {0x2e85940, 0x400010c360}, 0x40005b6360, 0x4001290740)
/tmp/wp-src/pkg/server/grpc_version.go:35 +0xb4
google.golang.org/grpc.chainUnaryInterceptors.func1.1({0x37ef688, 0x40012926f0}, {0x2e85940, 0x400010c360})
/go/pkg/mod/google.golang.org/[email protected]/server.go:1119 +0xf0
github.com/hashicorp/waypoint/internal/server.logUnaryInterceptor.func1({0x37ef688, 0x40012926c0}, {0x2e85940, 0x400010c360}, 0x40005b6360, 0x4001290740)
/tmp/wp-src/internal/server/grpc_log.go:36 +0x214
google.golang.org/grpc.chainUnaryInterceptors.func1.1({0x37ef688, 0x40012926c0}, {0x2e85940, 0x400010c360})
/go/pkg/mod/google.golang.org/[email protected]/server.go:1119 +0xf0
google.golang.org/grpc.chainUnaryInterceptors.func1({0x37ef688, 0x40012926c0}, {0x2e85940, 0x400010c360}, 0x40005b6360, 0x4000d02f90)
/go/pkg/mod/google.golang.org/[email protected]/server.go:1121 +0x134
github.com/hashicorp/waypoint/pkg/server/gen._Waypoint_UI_ListReleases_Handler({0x303f320, 0x4000f124b0}, {0x37ef688, 0x40012926c0}, 0x400010c2a0, 0x40011df160)
/tmp/wp-src/pkg/server/gen/server_grpc.pb.go:4105 +0x14c
google.golang.org/grpc.(*Server).processUnaryRPC(0x40006b1340, {0x3843e58, 0x400017f4d0}, 0x40011ffd40, 0x4001234150, 0x9b0e810, 0x0)
/go/pkg/mod/google.golang.org/[email protected]/server.go:1282 +0xc38
google.golang.org/grpc.(*Server).handleStream(0x40006b1340, {0x3843e58, 0x400017f4d0}, 0x40011ffd40, 0x0)
/go/pkg/mod/google.golang.org/[email protected]/server.go:1619 +0xa54
google.golang.org/grpc.(*Server).serveStreams.func1.2(0x40003c5290, 0x40006b1340, {0x3843e58, 0x400017f4d0}, 0x40011ffd40)
/go/pkg/mod/google.golang.org/[email protected]/server.go:921 +0x94
created by google.golang.org/grpc.(*Server).serveStreams.func1
/go/pkg/mod/google.golang.org/[email protected]/server.go:919 +0x1f0
@thiskevinwang
Copy link
Author

UI Screenshot:

waypoint-crash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment