sourcegraph / app

Issue tracker for the Sourcegraph app - a lightweight single-binary version of Sourcegraph for your local machine
27 stars 2 forks source link

How can I set network proxy on MACOS Cody App? #50

Open DanielXiao opened 1 year ago

DanielXiao commented 1 year ago

I am not be able to set system-wide network proxy, how can I set network proxy on Cody App? The App could not start with this error:

[2023-07-19][02:49:31][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64
[2023-07-19][02:54:31][ERROR][app] panic: (bug) frontend configuration server failed to start after 5m0s, this may indicate the DB is inaccessible
[2023-07-19][02:54:31][ERROR][app] 
[2023-07-19][02:54:31][ERROR][app] goroutine 331 [running]:
[2023-07-19][02:54:31][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).checkDeadlock(0x14001168358?)
[2023-07-19][02:54:31][ERROR][app]  internal/conf/store.go:175 +0x300
[2023-07-19][02:54:31][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).WaitUntilInitialized(0x14000e2ac60)
[2023-07-19][02:54:31][ERROR][app]  internal/conf/store.go:137 +0x2c
[2023-07-19][02:54:31][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*client).Watch(0x1400103a200, 0x10dfa6070)
[2023-07-19][02:54:31][ERROR][app]  internal/conf/client.go:169 +0x1b8
[2023-07-19][02:54:31][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.Watch(0x0?)
[2023-07-19][02:54:31][ERROR][app]  internal/conf/client.go:136 +0x28
[2023-07-19][02:54:31][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0.func2()
[2023-07-19][02:54:31][ERROR][app]  cmd/symbols/parser/config.go:52 +0x24
[2023-07-19][02:54:31][ERROR][app] created by github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0
[2023-07-19][02:54:31][ERROR][app]  cmd/symbols/parser/config.go:51 +0xe8
[2023-07-19][02:54:31][ERROR][app] 
[2023-07-19][02:54:31][ERROR][app] goroutine 1 [sync.Cond.Wait]:
[2023-07-19][02:54:31][ERROR][app] sync.runtime_notifyListWait(0x1400117d0c8, 0x165)
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/runtime/sema.go:517 +0x16c
[2023-07-19][02:54:31][ERROR][app] sync.(*Cond).Wait(0x1400117d0b8)
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/sync/cond.go:70 +0xd0
[2023-07-19][02:54:31][ERROR][app] net/http.(*http2pipe).Read(0x1400117d0b0, {0x140025f055c, 0x35aa4, 0x35aa4})
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/net/http/h2_bundle.go:3668 +0x130
[2023-07-19][02:54:31][ERROR][app] net/http.http2transportResponseBody.Read({0x1400245df78?}, {0x140025f055c?, 0x11973a300?, 0x0?})
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/net/http/h2_bundle.go:9157 +0x54
[2023-07-19][02:54:31][ERROR][app] io.ReadAll({0x11973a300, 0x1400117d080})
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/io/io.go:661 +0xe4
[2023-07-19][02:54:31][ERROR][app] io/ioutil.ReadAll(...)
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/io/ioutil/ioutil.go:27
[2023-07-19][02:54:31][ERROR][app] github.com/fergusstrange/embedded-postgres.defaultRemoteFetchStrategy.func1()
[2023-07-19][02:54:31][ERROR][app]  external/com_github_fergusstrange_embedded_postgres/remote_fetch.go:48 +0x1d8
[2023-07-19][02:54:31][ERROR][app] github.com/fergusstrange/embedded-postgres.(*EmbeddedPostgres).Start(0x1400045f3b0)
[2023-07-19][02:54:31][ERROR][app]  external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:100 +0x264
[2023-07-19][02:54:31][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.startEmbeddedPostgreSQL({0x10e027970, 0x14000a59b40}, {0x14000e7ce10, 0x4a})
[2023-07-19][02:54:31][ERROR][app]  internal/singleprogram/postgresql.go:144 +0x57c
[2023-07-19][02:54:31][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.initPostgreSQL({0x10e027970, 0x14000a59b40}, {0x14000e7ce10?, 0x12?})
[2023-07-19][02:54:31][ERROR][app]  internal/singleprogram/postgresql.go:39 +0x40
[2023-07-19][02:54:31][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.Init({0x10e027970, 0x14000a59b40})
[2023-07-19][02:54:31][ERROR][app]  internal/singleprogram/singleprogram.go:106 +0x888
[2023-07-19][02:54:31][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main.func3(0x1400107c280?)
[2023-07-19][02:54:31][ERROR][app]  internal/service/svcmain/svcmain.go:91 +0x80
[2023-07-19][02:54:31][ERROR][app] github.com/urfave/cli/v2.(*Command).Run(0x1400107c280, 0x14000a59780, {0x1400018e050, 0x5, 0x5})
[2023-07-19][02:54:31][ERROR][app]  external/com_github_urfave_cli_v2/command.go:271 +0x78c
[2023-07-19][02:54:31][ERROR][app] github.com/urfave/cli/v2.(*App).RunContext(0x14000227680, {0x10e00a778?, 0x140001a6008}, {0x1400018e050, 0x5, 0x5})
[2023-07-19][02:54:31][ERROR][app]  external/com_github_urfave_cli_v2/app.go:333 +0x5a4
[2023-07-19][02:54:31][ERROR][app] github.com/urfave/cli/v2.(*App).Run(...)
[2023-07-19][02:54:31][ERROR][app]  external/com_github_urfave_cli_v2/app.go:310
[2023-07-19][02:54:31][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main({0x1107aaec0, 0xd, 0xd}, {0x64?, 0x0?}, {0x1400018e050?, 0x5, 0x5})
[2023-07-19][02:54:31][ERROR][app]  internal/service/svcmain/svcmain.go:102 +0x620
[2023-07-19][02:54:31][ERROR][app] github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/enterprisecmd.MainEnterprise(...)
[2023-07-19][02:54:31][ERROR][app]  enterprise/cmd/sourcegraph/enterprisecmd/enterprisecmd.go:15
[2023-07-19][02:54:31][ERROR][app] main.main()
[2023-07-19][02:54:31][ERROR][app]  /private/var/tmp/_bazel_ec2-user/58ad2e50dcfb9c20da085cd0810f895a/sandbox/darwin-sandbox/5637/execroot/__main__/enterprise/cmd/sourcegraph/main.go:50 +0x118
[2023-07-19][02:54:31][ERROR][app] 
[2023-07-19][02:54:31][ERROR][app] goroutine 43 [select]:
[2023-07-19][02:54:31][ERROR][app] go.opencensus.io/stats/view.(*worker).start(0x1400013cb80)
[2023-07-19][02:54:31][ERROR][app]  external/io_opencensus_go/stats/view/worker.go:292 +0x88
[2023-07-19][02:54:31][ERROR][app] created by go.opencensus.io/stats/view.init.0
[2023-07-19][02:54:31][ERROR][app]  external/io_opencensus_go/stats/view/worker.go:34 +0xa4
[2023-07-19][02:54:31][ERROR][app] 
[2023-07-19][02:54:31][ERROR][app] goroutine 80 [select, 5 minutes]:
[2023-07-19][02:54:31][ERROR][app] github.com/sourcegraph/sourcegraph/internal/limiter.(*MutableLimiter).do(0x140011745b8, 0x20)
[2023-07-19][02:54:31][ERROR][app]  internal/limiter/mutable.go:94 +0x14c
[2023-07-19][02:54:31][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/limiter.NewMutable
[2023-07-19][02:54:31][ERROR][app]  internal/limiter/mutable.go:38 +0x108
[2023-07-19][02:54:31][ERROR][app] 
[2023-07-19][02:54:31][ERROR][app] goroutine 316 [select, 5 minutes]:
[2023-07-19][02:54:31][ERROR][app] io.(*pipe).read(0x140000d0420, {0x14000ce9000, 0x1000, 0x100d8e6ec?})
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/io/pipe.go:57 +0x84
[2023-07-19][02:54:31][ERROR][app] io.(*PipeReader).Read(0x14000134d68?, {0x14000ce9000?, 0x5000?, 0x1197d5f70?})
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/io/pipe.go:136 +0x24
[2023-07-19][02:54:31][ERROR][app] bufio.(*Scanner).Scan(0x140000b0f48)
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/bufio/scan.go:214 +0x908
[2023-07-19][02:54:31][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter.func1()
[2023-07-19][02:54:31][ERROR][app]  internal/singleprogram/postgresql.go:186 +0xb0
[2023-07-19][02:54:31][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter
[2023-07-19][02:54:31][ERROR][app]  internal/singleprogram/postgresql.go:184 +0x1dc
[2023-07-19][02:54:31][ERROR][app] 
[2023-07-19][02:54:31][ERROR][app] goroutine 271 [chan receive]:
[2023-07-19][02:54:31][ERROR][app] github.com/golang/glog.(*loggingT).flushDaemon(0x0?)
[2023-07-19][02:54:31][ERROR][app]  external/com_github_golang_glog/glog.go:882 +0x5c
[2023-07-19][02:54:31][ERROR][app] created by github.com/golang/glog.init.0
[2023-07-19][02:54:31][ERROR][app]  external/com_github_golang_glog/glog.go:410 +0x200
[2023-07-19][02:54:31][ERROR][app] 
[2023-07-19][02:54:31][ERROR][app] goroutine 315 [select]:
[2023-07-19][02:54:31][ERROR][app] github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).consume(0x140021c67e0)
[2023-07-19][02:54:31][ERROR][app]  external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:59 +0xa8
[2023-07-19][02:54:31][ERROR][app] created by github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).start
[2023-07-19][02:54:31][ERROR][app]  external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:51 +0x60
[2023-07-19][02:54:31][ERROR][app] 
[2023-07-19][02:54:31][ERROR][app] goroutine 336 [IO wait]:
[2023-07-19][02:54:31][ERROR][app] internal/poll.runtime_pollWait(0x119982630, 0x72)
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/runtime/netpoll.go:305 +0xa0
[2023-07-19][02:54:31][ERROR][app] internal/poll.(*pollDesc).wait(0x14001d81500?, 0x1400073b300?, 0x0)
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0x28
[2023-07-19][02:54:31][ERROR][app] internal/poll.(*pollDesc).waitRead(...)
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/internal/poll/fd_poll_runtime.go:89
[2023-07-19][02:54:31][ERROR][app] internal/poll.(*FD).Read(0x14001d81500, {0x1400073b300, 0x1300, 0x1300})
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/internal/poll/fd_unix.go:167 +0x1e0
[2023-07-19][02:54:31][ERROR][app] net.(*netFD).Read(0x14001d81500, {0x1400073b300?, 0x1400073b305?, 0x100d8db06?})
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/net/fd_posix.go:55 +0x28
[2023-07-19][02:54:31][ERROR][app] net.(*conn).Read(0x14000010900, {0x1400073b300?, 0x8?, 0x12fb?})
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/net/net.go:183 +0x34
[2023-07-19][02:54:31][ERROR][app] crypto/tls.(*atLeastReader).Read(0x140006d64c8, {0x1400073b300?, 0x0?, 0x100f8e328?})
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/crypto/tls/conn.go:787 +0x40
[2023-07-19][02:54:31][ERROR][app] bytes.(*Buffer).ReadFrom(0x14000ef5078, {0x10dfbcf00, 0x140006d64c8})
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/bytes/buffer.go:202 +0x90
[2023-07-19][02:54:31][ERROR][app] crypto/tls.(*Conn).readFromUntil(0x14000ef4e00, {0x11989f1d8?, 0x14000010900}, 0x1300?)
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/crypto/tls/conn.go:809 +0xd4
[2023-07-19][02:54:31][ERROR][app] crypto/tls.(*Conn).readRecordOrCCS(0x14000ef4e00, 0x0)
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/crypto/tls/conn.go:616 +0xd8
[2023-07-19][02:54:31][ERROR][app] crypto/tls.(*Conn).readRecord(...)
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/crypto/tls/conn.go:582
[2023-07-19][02:54:31][ERROR][app] crypto/tls.(*Conn).Read(0x14000ef4e00, {0x1400091a000, 0x1000, 0x10dc10fc0?})
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/crypto/tls/conn.go:1315 +0x178
[2023-07-19][02:54:31][ERROR][app] bufio.(*Reader).Read(0x14001b93380, {0x14001dec52e, 0x537, 0x9?})
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/bufio/bufio.go:237 +0x1e0
[2023-07-19][02:54:31][ERROR][app] io.ReadAtLeast({0x10dfb98e0, 0x14001b93380}, {0x14001dec000, 0xa65, 0x4000}, 0xa65)
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/io/io.go:332 +0xa0
[2023-07-19][02:54:31][ERROR][app] io.ReadFull(...)
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/io/io.go:351
[2023-07-19][02:54:31][ERROR][app] net/http.(*http2Framer).ReadFrame(0x1400224c460)
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/net/http/h2_bundle.go:1837 +0x10c
[2023-07-19][02:54:31][ERROR][app] net/http.(*http2clientConnReadLoop).run(0x14001dcdf88)
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/net/http/h2_bundle.go:8874 +0xfc
[2023-07-19][02:54:31][ERROR][app] net/http.(*http2ClientConn).readLoop(0x14001d8e600)
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/net/http/h2_bundle.go:8770 +0x5c
[2023-07-19][02:54:31][ERROR][app] created by net/http.(*http2Transport).newClientConn
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/net/http/h2_bundle.go:7477 +0x920
[2023-07-19][02:54:31][ERROR][app] 
[2023-07-19][02:54:31][ERROR][app] goroutine 340 [select, 5 minutes]:
[2023-07-19][02:54:31][ERROR][app] net/http.(*http2clientStream).writeRequest(0x1400117d080, 0x14000f52600)
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/net/http/h2_bundle.go:8095 +0x7d4
[2023-07-19][02:54:31][ERROR][app] net/http.(*http2clientStream).doRequest(0x0?, 0x0?)
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/net/http/h2_bundle.go:7957 +0x20
[2023-07-19][02:54:31][ERROR][app] created by net/http.(*http2ClientConn).RoundTrip
[2023-07-19][02:54:31][ERROR][app]  GOROOT/src/net/http/h2_bundle.go:7886 +0x2ec
[2023-07-19][02:54:31][ERROR][app] Cody app backend terminated with exit code 2
[2023-07-19][08:17:14][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64
[2023-07-25][02:00:42][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64
[2023-07-25][02:05:42][ERROR][app] panic: (bug) frontend configuration server failed to start after 5m0s, this may indicate the DB is inaccessible
[2023-07-25][02:05:42][ERROR][app] 
[2023-07-25][02:05:42][ERROR][app] goroutine 272 [running]:
[2023-07-25][02:05:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).checkDeadlock(0x140008fd9c8?)
[2023-07-25][02:05:42][ERROR][app]  internal/conf/store.go:175 +0x300
[2023-07-25][02:05:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).WaitUntilInitialized(0x140014fcea0)
[2023-07-25][02:05:42][ERROR][app]  internal/conf/store.go:137 +0x2c
[2023-07-25][02:05:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*client).Watch(0x140012e8240, 0x111736070)
[2023-07-25][02:05:42][ERROR][app]  internal/conf/client.go:169 +0x1b8
[2023-07-25][02:05:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.Watch(0x14001b66b40?)
[2023-07-25][02:05:42][ERROR][app]  internal/conf/client.go:136 +0x28
[2023-07-25][02:05:42][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0.func2()
[2023-07-25][02:05:42][ERROR][app]  cmd/symbols/parser/config.go:52 +0x24
[2023-07-25][02:05:42][ERROR][app] created by github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0
[2023-07-25][02:05:42][ERROR][app]  cmd/symbols/parser/config.go:51 +0xe8
[2023-07-25][02:05:42][ERROR][app] 
[2023-07-25][02:05:42][ERROR][app] goroutine 1 [sync.Cond.Wait]:
[2023-07-25][02:05:42][ERROR][app] sync.runtime_notifyListWait(0x14000559b48, 0xd2d)
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/runtime/sema.go:517 +0x16c
[2023-07-25][02:05:42][ERROR][app] sync.(*Cond).Wait(0x14000559b38)
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/sync/cond.go:70 +0xd0
[2023-07-25][02:05:42][ERROR][app] net/http.(*http2pipe).Read(0x14000559b30, {0x140034765c9, 0xc9a37, 0xc9a37})
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/net/http/h2_bundle.go:3668 +0x130
[2023-07-25][02:05:42][ERROR][app] net/http.http2transportResponseBody.Read({0x14000559b00?}, {0x140034765c9?, 0x286000?, 0x286000?})
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/net/http/h2_bundle.go:9157 +0x54
[2023-07-25][02:05:42][ERROR][app] io.ReadAll({0x11d2b1108, 0x14000559b00})
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/io/io.go:661 +0xe4
[2023-07-25][02:05:42][ERROR][app] io/ioutil.ReadAll(...)
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/io/ioutil/ioutil.go:27
[2023-07-25][02:05:42][ERROR][app] github.com/fergusstrange/embedded-postgres.defaultRemoteFetchStrategy.func1()
[2023-07-25][02:05:42][ERROR][app]  external/com_github_fergusstrange_embedded_postgres/remote_fetch.go:48 +0x1d8
[2023-07-25][02:05:42][ERROR][app] github.com/fergusstrange/embedded-postgres.(*EmbeddedPostgres).Start(0x14000294b40)
[2023-07-25][02:05:42][ERROR][app]  external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:100 +0x264
[2023-07-25][02:05:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.startEmbeddedPostgreSQL({0x1117b7970, 0x140021aec40}, {0x14001012f50, 0x4a})
[2023-07-25][02:05:42][ERROR][app]  internal/singleprogram/postgresql.go:144 +0x57c
[2023-07-25][02:05:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.initPostgreSQL({0x1117b7970, 0x140021aec40}, {0x14001012f50?, 0x12?})
[2023-07-25][02:05:42][ERROR][app]  internal/singleprogram/postgresql.go:39 +0x40
[2023-07-25][02:05:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.Init({0x1117b7970, 0x140021aec40})
[2023-07-25][02:05:42][ERROR][app]  internal/singleprogram/singleprogram.go:106 +0x888
[2023-07-25][02:05:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main.func3(0x14000ab37c0?)
[2023-07-25][02:05:42][ERROR][app]  internal/service/svcmain/svcmain.go:91 +0x80
[2023-07-25][02:05:42][ERROR][app] github.com/urfave/cli/v2.(*Command).Run(0x14000ab37c0, 0x140021ae880, {0x1400018e050, 0x5, 0x5})
[2023-07-25][02:05:42][ERROR][app]  external/com_github_urfave_cli_v2/command.go:271 +0x78c
[2023-07-25][02:05:42][ERROR][app] github.com/urfave/cli/v2.(*App).RunContext(0x14000226960, {0x11179a778?, 0x140001a6008}, {0x1400018e050, 0x5, 0x5})
[2023-07-25][02:05:42][ERROR][app]  external/com_github_urfave_cli_v2/app.go:333 +0x5a4
[2023-07-25][02:05:42][ERROR][app] github.com/urfave/cli/v2.(*App).Run(...)
[2023-07-25][02:05:42][ERROR][app]  external/com_github_urfave_cli_v2/app.go:310
[2023-07-25][02:05:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main({0x113f3aec0, 0xd, 0xd}, {0x64?, 0x0?}, {0x1400018e050?, 0x5, 0x5})
[2023-07-25][02:05:42][ERROR][app]  internal/service/svcmain/svcmain.go:102 +0x620
[2023-07-25][02:05:42][ERROR][app] github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/enterprisecmd.MainEnterprise(...)
[2023-07-25][02:05:42][ERROR][app]  enterprise/cmd/sourcegraph/enterprisecmd/enterprisecmd.go:15
[2023-07-25][02:05:42][ERROR][app] main.main()
[2023-07-25][02:05:42][ERROR][app]  /private/var/tmp/_bazel_ec2-user/58ad2e50dcfb9c20da085cd0810f895a/sandbox/darwin-sandbox/5637/execroot/__main__/enterprise/cmd/sourcegraph/main.go:50 +0x118
[2023-07-25][02:05:42][ERROR][app] 
[2023-07-25][02:05:42][ERROR][app] goroutine 296 [select, 5 minutes]:
[2023-07-25][02:05:42][ERROR][app] net/http.(*http2clientStream).writeRequest(0x14000559b00, 0x14000557200)
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/net/http/h2_bundle.go:8095 +0x7d4
[2023-07-25][02:05:42][ERROR][app] net/http.(*http2clientStream).doRequest(0x0?, 0x0?)
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/net/http/h2_bundle.go:7957 +0x20
[2023-07-25][02:05:42][ERROR][app] created by net/http.(*http2ClientConn).RoundTrip
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/net/http/h2_bundle.go:7886 +0x2ec
[2023-07-25][02:05:42][ERROR][app] 
[2023-07-25][02:05:42][ERROR][app] goroutine 13 [select]:
[2023-07-25][02:05:42][ERROR][app] go.opencensus.io/stats/view.(*worker).start(0x140004e4780)
[2023-07-25][02:05:42][ERROR][app]  external/io_opencensus_go/stats/view/worker.go:292 +0x88
[2023-07-25][02:05:42][ERROR][app] created by go.opencensus.io/stats/view.init.0
[2023-07-25][02:05:42][ERROR][app]  external/io_opencensus_go/stats/view/worker.go:34 +0xa4
[2023-07-25][02:05:42][ERROR][app] 
[2023-07-25][02:05:42][ERROR][app] goroutine 295 [IO wait]:
[2023-07-25][02:05:42][ERROR][app] internal/poll.runtime_pollWait(0x11d26b1d0, 0x72)
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/runtime/netpoll.go:305 +0xa0
[2023-07-25][02:05:42][ERROR][app] internal/poll.(*pollDesc).wait(0x1400206f200?, 0x14000534000?, 0x0)
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0x28
[2023-07-25][02:05:42][ERROR][app] internal/poll.(*pollDesc).waitRead(...)
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/internal/poll/fd_poll_runtime.go:89
[2023-07-25][02:05:42][ERROR][app] internal/poll.(*FD).Read(0x1400206f200, {0x14000534000, 0xa000, 0xa000})
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/internal/poll/fd_unix.go:167 +0x1e0
[2023-07-25][02:05:42][ERROR][app] net.(*netFD).Read(0x1400206f200, {0x14000534000?, 0x14002288c20?, 0xd?})
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/net/fd_posix.go:55 +0x28
[2023-07-25][02:05:42][ERROR][app] net.(*conn).Read(0x14001b5c310, {0x14000534000?, 0x14000534005?, 0x10461b706?})
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/net/net.go:183 +0x34
[2023-07-25][02:05:42][ERROR][app] crypto/tls.(*atLeastReader).Read(0x14002094e58, {0x14000534000?, 0x0?, 0x10471e328?})
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/crypto/tls/conn.go:787 +0x40
[2023-07-25][02:05:42][ERROR][app] bytes.(*Buffer).ReadFrom(0x14002288cf8, {0x11174cf00, 0x14002094e58})
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/bytes/buffer.go:202 +0x90
[2023-07-25][02:05:42][ERROR][app] crypto/tls.(*Conn).readFromUntil(0x14002288a80, {0x11d2ad0c0?, 0x14001b5c310}, 0x1400053400d?)
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/crypto/tls/conn.go:809 +0xd4
[2023-07-25][02:05:42][ERROR][app] crypto/tls.(*Conn).readRecordOrCCS(0x14002288a80, 0x0)
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/crypto/tls/conn.go:616 +0xd8
[2023-07-25][02:05:42][ERROR][app] crypto/tls.(*Conn).readRecord(...)
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/crypto/tls/conn.go:582
[2023-07-25][02:05:42][ERROR][app] crypto/tls.(*Conn).Read(0x14002288a80, {0x140024b9000, 0x1000, 0x100000001?})
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/crypto/tls/conn.go:1315 +0x178
[2023-07-25][02:05:42][ERROR][app] bufio.(*Reader).Read(0x14002205200, {0x14001d76580, 0x9, 0x14002502000?})
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/bufio/bufio.go:237 +0x1e0
[2023-07-25][02:05:42][ERROR][app] io.ReadAtLeast({0x1117498e0, 0x14002205200}, {0x14001d76580, 0x9, 0x9}, 0x9)
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/io/io.go:332 +0xa0
[2023-07-25][02:05:42][ERROR][app] io.ReadFull(...)
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/io/io.go:351
[2023-07-25][02:05:42][ERROR][app] net/http.http2readFrameHeader({0x14001d76580?, 0x9?, 0x140020b4810?}, {0x1117498e0?, 0x14002205200?})
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/net/http/h2_bundle.go:1565 +0x58
[2023-07-25][02:05:42][ERROR][app] net/http.(*http2Framer).ReadFrame(0x14001d76540)
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/net/http/h2_bundle.go:1829 +0x84
[2023-07-25][02:05:42][ERROR][app] net/http.(*http2clientConnReadLoop).run(0x140021c7f88)
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/net/http/h2_bundle.go:8874 +0xfc
[2023-07-25][02:05:42][ERROR][app] net/http.(*http2ClientConn).readLoop(0x14000559980)
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/net/http/h2_bundle.go:8770 +0x5c
[2023-07-25][02:05:42][ERROR][app] created by net/http.(*http2Transport).newClientConn
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/net/http/h2_bundle.go:7477 +0x920
[2023-07-25][02:05:42][ERROR][app] 
[2023-07-25][02:05:42][ERROR][app] goroutine 252 [chan receive]:
[2023-07-25][02:05:42][ERROR][app] github.com/golang/glog.(*loggingT).flushDaemon(0x14001b66090?)
[2023-07-25][02:05:42][ERROR][app]  external/com_github_golang_glog/glog.go:882 +0x5c
[2023-07-25][02:05:42][ERROR][app] created by github.com/golang/glog.init.0
[2023-07-25][02:05:42][ERROR][app]  external/com_github_golang_glog/glog.go:410 +0x200
[2023-07-25][02:05:42][ERROR][app] 
[2023-07-25][02:05:42][ERROR][app] goroutine 214 [select]:
[2023-07-25][02:05:42][ERROR][app] github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).consume(0x140021b5020)
[2023-07-25][02:05:42][ERROR][app]  external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:59 +0xa8
[2023-07-25][02:05:42][ERROR][app] created by github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).start
[2023-07-25][02:05:42][ERROR][app]  external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:51 +0x60
[2023-07-25][02:05:42][ERROR][app] 
[2023-07-25][02:05:42][ERROR][app] goroutine 112 [select, 5 minutes]:
[2023-07-25][02:05:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/limiter.(*MutableLimiter).do(0x14000566a08, 0x20)
[2023-07-25][02:05:42][ERROR][app]  internal/limiter/mutable.go:94 +0x14c
[2023-07-25][02:05:42][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/limiter.NewMutable
[2023-07-25][02:05:42][ERROR][app]  internal/limiter/mutable.go:38 +0x108
[2023-07-25][02:05:42][ERROR][app] 
[2023-07-25][02:05:42][ERROR][app] goroutine 215 [select, 5 minutes]:
[2023-07-25][02:05:42][ERROR][app] io.(*pipe).read(0x140021ad2c0, {0x140022ea000, 0x1000, 0x0?})
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/io/pipe.go:57 +0x84
[2023-07-25][02:05:42][ERROR][app] io.(*PipeReader).Read(0x140000a0d68?, {0x140022ea000?, 0x1157c0f18?, 0x0?})
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/io/pipe.go:136 +0x24
[2023-07-25][02:05:42][ERROR][app] bufio.(*Scanner).Scan(0x140000b6f48)
[2023-07-25][02:05:42][ERROR][app]  GOROOT/src/bufio/scan.go:214 +0x908
[2023-07-25][02:05:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter.func1()
[2023-07-25][02:05:42][ERROR][app]  internal/singleprogram/postgresql.go:186 +0xb0
[2023-07-25][02:05:42][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter
[2023-07-25][02:05:42][ERROR][app]  internal/singleprogram/postgresql.go:184 +0x1dc
[2023-07-25][02:05:42][ERROR][app] Cody app backend terminated with exit code 2