Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac: Cody Launch error - panic: (bug) frontend configuration server failed to start after 5m0s #23

Open
jdelgado-sb opened this issue Jun 29, 2023 · 5 comments
Labels

Comments

@jdelgado-sb
Copy link

Hi all, looks different than other issues, so will report. Looks like FE service is failing to launch due to database connection issues.

cody.log

@jdelgado-sb
Copy link
Author

Relevant section:

[2023-06-29][20:04:13][ERROR][app] ✱ Sourcegraph App version: 2023.6.28+1331.1867679b11
[2023-06-29][20:09:13][ERROR][app] panic: (bug) frontend configuration server failed to start after 5m0s, this may indicate the DB is inaccessible
[2023-06-29][20:09:13][ERROR][app]
[2023-06-29][20:09:13][ERROR][app] goroutine 308 [running]:
[2023-06-29][20:09:13][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).checkDeadlock(0x14000010d38?)
[2023-06-29][20:09:13][ERROR][app] 	internal/conf/store.go:175 +0x300
[2023-06-29][20:09:13][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).WaitUntilInitialized(0x14000a066c0)
[2023-06-29][20:09:13][ERROR][app] 	internal/conf/store.go:137 +0x2c
[2023-06-29][20:09:13][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*client).Watch(0x140009963c0, 0x10dd99120)
[2023-06-29][20:09:13][ERROR][app] 	internal/conf/client.go:169 +0x1b8
[2023-06-29][20:09:13][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.Watch(0x1400067cd80?)
[2023-06-29][20:09:13][ERROR][app] 	internal/conf/client.go:136 +0x28
[2023-06-29][20:09:13][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0.func2()
[2023-06-29][20:09:13][ERROR][app] 	cmd/symbols/parser/config.go:52 +0x24
[2023-06-29][20:09:13][ERROR][app] created by github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0
[2023-06-29][20:09:13][ERROR][app] 	cmd/symbols/parser/config.go:51 +0xe8

@slimsag
Copy link
Member

slimsag commented Jun 29, 2023

Thank you for filing this and trying it out @jdelgado-sb! I really appreciate it

Just to confirm, if you choose the Clear all data and restart option (system tray -> cody -> troubleshoot -> clear all data option) - then do you encounter the same thing?

Which OS is this with?

@hussain4real
Copy link

facing same issue even after Clear all data and restart

@Kiokku
Copy link

Kiokku commented Jul 3, 2023

same issue on OSX, just tried Clear all data and restart several times, and it works!

@slimsag
Copy link
Member

slimsag commented Jul 11, 2023

@hussain4real could you show your logs? I want to see if it is the same error: panic: (bug) frontend configuration server failed to start after 5m0s

@slimsag slimsag changed the title Cody Launch errror Cody Launch errror - panic: (bug) frontend configuration server failed to start after 5m0s Jul 11, 2023
@slimsag slimsag added the mac label Jul 11, 2023
@slimsag slimsag changed the title Cody Launch errror - panic: (bug) frontend configuration server failed to start after 5m0s mac: Cody Launch errror - panic: (bug) frontend configuration server failed to start after 5m0s Jul 11, 2023
@slimsag slimsag changed the title mac: Cody Launch errror - panic: (bug) frontend configuration server failed to start after 5m0s mac: Cody Launch error - panic: (bug) frontend configuration server failed to start after 5m0s Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants