solid_queue icon indicating copy to clipboard operation
solid_queue copied to clipboard

Solid Queue not starting on Tahoe

Open dlibanori opened this issue 2 months ago • 2 comments

It's probably is my machine but I have no clue about what is happening.

I've upgraded to Tahoe last week. Everything went fine, but now bin/rails solid_queue:start doesn't work anymore. It crashes in loop. Everything else works fine, like bin/rails server.

Macos: Tahoe (26.0.1) Chip: Apple M3 Max Ruby: ruby 3.4.7 (2025-10-08 revision 7a5688e2a2) +PRISM [arm64-darwin25] (installed by mise) Rails: 8.0.3 Solid Queue: 1.2.1 Bundler: 2.6.3 Shell: nutshell but I've tested on zsh Brew doctor: no warnings

I've tried to reinstall all brew formulas, ruby and gems. Always same error. Same error with ruby from brew.

Image

error.log output.log ruby-2025-10-27-150858-ips.txt ruby-2025-10-27-150858.000-ips.txt

dlibanori avatar Oct 27 '25 18:10 dlibanori

Disabling GSSAPI fix it.

export PGGSSENCMODE=disable
bin/rails solid_queue:start

It looks like Tahoe has dropped GSS API support. I couldn't find much information about this except for a response from Google AI without any references. (Edited: it is probably related with fork and libdispatch, see https://github.com/ged/ruby-pg/issues/311)

You can drop GSS API at client side using an env var to avoid it on libpq.

https://www.postgresql.org/docs/current/libpq-envars.html

You can also pass it at connection string:

default: &default
  adapter: postgresql
  encoding: unicode
  # For details on connection pooling, see Rails configuration guide
  # https://guides.rubyonrails.org/configuring.html#database-pooling
  pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
  gssencmode: disable

dlibanori avatar Oct 27 '25 19:10 dlibanori

I think it might be related to https://github.com/ged/ruby-pg/issues/311

dlibanori avatar Oct 28 '25 19:10 dlibanori