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

MacOS 10.14 - Unable to start search backend #482

Closed
mashiox opened this issue Jun 9, 2023 · 4 comments
Closed

MacOS 10.14 - Unable to start search backend #482

mashiox opened this issue Jun 9, 2023 · 4 comments
Labels
bug Something isn't working macos

Comments

@mashiox
Copy link

mashiox commented Jun 9, 2023

Edits

  • Using Build "Spyglass v2023.5.1"
  • Intel core
  • macOS Mojave 10.14.6

Hello

This is my first time running spyglass.

When I start the application

Then the "Starting Spyglass" window hangs for about 20 seconds

And I get the error "Unable to start search backend"

Error: Networking or low-level protocol error: Error when opening the TCP socket: Connection refused (os error 61)
Please file a bug report!
The application will exit now.

Output from Client log found in ~/Library/ApplicationSupport/com.athlabs.spyglass/logs/client.log.2023-06-09

2023-06-09T16:24:37.567625Z  INFO spyglass_app: Loading prefs from: "/Users/mwalther/Library/Preferences/com.athlabs.spyglass"
2023-06-09T16:24:37.569658Z  INFO spyglass_app: checking for update...
2023-06-09T16:24:37.575984Z  INFO spyglass_app: Registering CmdOrCtrl+Shift+/ as shortcut
2023-06-09T16:24:37.662708Z  INFO spyglass_app::plugins::notify: starting notify plugin
2023-06-09T16:24:37.662773Z  INFO spyglass_app::plugins::notify: waiting for backend...
2023-06-09T16:24:37.662777Z  INFO spyglass_app::plugins::startup: Running startup tasks
2023-06-09T16:24:37.662808Z  INFO spyglass_app::plugins::startup: Running migrations
2023-06-09T16:24:37.664576Z  INFO sea_orm_migration::migrator: Applying all pending migrations
2023-06-09T16:24:37.665438Z  INFO sea_orm_migration::migrator: No pending migrations
2023-06-09T16:24:37.665458Z  INFO spyglass_app::plugins::startup: Waiting for server backend
2023-06-09T16:24:37.665471Z  INFO spyglass_app::rpc: Connecting to backend @ ws://127.0.0.1:4664
2023-06-09T16:24:37.665496Z  INFO spyglass_app::rpc: connecting to backend via ws://127.0.0.1:4664
2023-06-09T16:24:37.681827Z ERROR spyglass_app::rpc: sidecar terminated: TerminatedPayload { code: None, signal: Some(6) }
2023-06-09T16:24:57.675490Z  WARN spyglass_app::rpc: error connecting: Transport(Error when opening the TCP socket: Connection refused (os error 61))

Server Log found in ~/Library/ApplicationSupport/com.athlabs.spyglass/logs/server.log.2023-06-09

2023-06-09T16:21:18.445096Z  INFO spyglass: Loading prefs from: "/Users/mwalther/Library/Preferences/com.athlabs.spyglass"
2023-06-09T16:21:18.451053Z  INFO spyglass::api: starting server @ 127.0.0.1:4664
2023-06-09T16:21:18.452238Z  INFO libspyglass::task: 👀 lens watcher started
2023-06-09T16:21:18.452261Z  INFO libspyglass::task: worker started
2023-06-09T16:21:18.452312Z  INFO manager_task: libspyglass::task: manager started
2023-06-09T16:21:18.452330Z  INFO plugin_event_loop: libspyglass::plugin: 🔌 plugin event loop started
2023-06-09T16:21:18.452345Z  INFO plugin_event_loop: libspyglass::plugin: 🔌 loading plugins
2023-06-09T16:21:18.452352Z  INFO config_task: libspyglass::task: Staring Configuration Watcher
2023-06-09T16:21:18.452358Z  INFO manager_task: libspyglass::filesystem: ❌ Local file watcher is disabled
2023-06-09T16:21:18.452394Z  INFO libspyglass::pipeline: Reading pipelines
2023-06-09T16:21:18.452441Z  INFO plugin_event_loop: libspyglass::plugin: Loading plugin settings...
2023-06-09T16:21:18.452460Z  INFO plugin_event_loop: libspyglass::plugin: Starting enabled plugins...
2023-06-09T16:21:18.454086Z  INFO libspyglass::search::lens: ✅ finished lens checks
2023-06-09T16:21:23.422980Z  INFO connection{ESC[3mremote_addrESC[0mESC[2m=ESC[0m127.0.0.1:53216 ESC[3mconn_idESC[0mESC[2m=ESC[0m0}: jsonrps
ee_server::server: Accepting new connection 1/100

Issues I found that may be related

Thank you for your support

@a5huynh
Copy link
Collaborator

a5huynh commented Jun 9, 2023

Hey @mashiox, just confirming a couple things before we can dig into the issue:

  • Are you on Intel or Apple Silicon?
  • macOS 10.14 as in the macOS Mojave?

@mashiox
Copy link
Author

mashiox commented Jun 9, 2023

Sorry for missing the details

  • Intel corre
  • macOS Mojave 10.14.6

@a5huynh a5huynh added bug Something isn't working macos labels Jun 14, 2023
@a5huynh
Copy link
Collaborator

a5huynh commented Jun 14, 2023

@mashiox, I have a hunch this might be due to some code signing issues that have bitten us before. Unfortunately Mojave is a bit too old for me to try out.

Would you be able to build from the project yourself? Otherwise I can see if I can get a build independently without the code signing to see if that works for you.

@mashiox
Copy link
Author

mashiox commented Jun 21, 2023

Thank you for your follow up. I should have known. These out of date certs have bitten me before.

I am having trouble finding time to follow through on your recommendation. I'll let you know if something changes and I can give some feedback.

@mashiox mashiox closed this as completed Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working macos
Projects
None yet
Development

No branches or pull requests

2 participants