New users can't sign up, 404 errors in console

I’m not sure if this is a bug or an issue with my configuration.

When I try to make a new user using Discourse ID signup, the Discourse ID verification part works fine, but on going back to my instance at keppari.discourse.diy, the signup fails silently even with a Discourse ID verified email signed in in the browser. The signup button is available but does nothing when clicked and there’s no warning on the page. I was previously able to create other users with Discourse ID.

In my login and authentication settings, my only overridden setting is disabling 2FA and allowing Discourse ID. I’m self host and I don’t have SMTP configured. Between creating the previous users and this attempt, I briefly disabled local logins because I thought since I didn’t have SMTP configured that it made the login form confusing, but now I’ve got local login re enabled.

I’m not sure if this is related, but in the console for all anonymous user page views, there’s a bunch of 404 errors for my plugins, but also for /assets/vendor.map and assets/start-discourse.map. A logged in user does not have these console errors. I don’t see anything recent in my /logs.

I’d appreciate any guidance on other settings to change if this is a configuration error on my part! I’m self hosted, 2026.3.0-latest

So, the user is stuck on the signup screen with a disabled signup button? Can you share a screenshot? Are there any errors in your /logs?

1 Like

The signup button isn’t even disabled, it’s enabled but does nothing when clicked. The first screenshot below is before trying to click signup, but it looks the same after clicking.

These are my logs right now; I attempted a signup at 10:25 in these logs. I had thought there were no errors in the logs when I first posted, but these errors as of 10:25 are new.

I’m on mobile right now so I can’t copy/paste logs further back, but I can post full logs later today if that’s helpful. Thanks!

1 Like

Yes, please post the backtrace and env for the can’t alloc thread error, that seems to be causing the havoc on your instance.

1 Like

Here’s the backtrace for the most recent can't alloc thread error:

Message (159137 copies reported)

Job exception: can't alloc thread

Backtrace

/usr/local/lib/ruby/3.4.0/socket.rb:712:in 'Thread.new'
/usr/local/lib/ruby/3.4.0/socket.rb:712:in 'block in Socket.tcp_with_fast_fallback'
/usr/local/lib/ruby/3.4.0/socket.rb:710:in 'Array#map'
/usr/local/lib/ruby/3.4.0/socket.rb:710:in 'Socket.tcp_with_fast_fallback'
/usr/local/lib/ruby/3.4.0/socket.rb:661:in 'Socket.tcp'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/redis-client-0.26.1/lib/redis_client/ruby_connection.rb:122:in 'RedisClient::RubyConnection#connect'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/redis-client-0.26.1/lib/redis_client/ruby_connection.rb:48:in 'RedisClient::RubyConnection#initialize'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/redis-client-0.26.1/lib/redis_client.rb:815:in 'Class#new'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/redis-client-0.26.1/lib/redis_client.rb:815:in 'block in RedisClient#connect'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/redis-client-0.26.1/lib/redis_client/middlewares.rb:12:in 'RedisClient::BasicMiddleware#connect'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/redis-client-0.26.1/lib/redis_client.rb:814:in 'RedisClient#connect'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/redis-client-0.26.1/lib/redis_client.rb:800:in 'RedisClient#raw_connection'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/redis-client-0.26.1/lib/redis_client.rb:759:in 'RedisClient#ensure_connected'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/redis-client-0.26.1/lib/redis_client.rb:352:in 'RedisClient#call_v'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/redis-5.4.0/lib/redis/client.rb:90:in 'Redis::Client#call_v'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/rack-mini-profiler-4.0.1/lib/mini_profiler/profiling_methods.rb:90:in 'block in Redis::Client#profile_method'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/redis-5.4.0/lib/redis.rb:152:in 'block in Redis#send_command'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/redis-5.4.0/lib/redis.rb:151:in 'Monitor#synchronize'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/redis-5.4.0/lib/redis.rb:151:in 'Redis#send_command'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/redis-5.4.0/lib/redis/commands/keys.rb:256:in 'Redis::Commands::Keys#del'
/var/www/discourse/lib/discourse_redis.rb:168:in 'block in DiscourseRedis#del'
/var/www/discourse/lib/discourse_redis.rb:29:in 'DiscourseRedis.ignore_readonly'
/var/www/discourse/lib/discourse_redis.rb:165:in 'DiscourseRedis#del'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/mini_scheduler-0.18.0/lib/mini_scheduler/distributed_mutex.rb:48:in 'MiniScheduler::DistributedMutex#synchronize'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/mini_scheduler-0.18.0/lib/mini_scheduler/distributed_mutex.rb:15:in 'MiniScheduler::DistributedMutex.synchronize'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/mini_scheduler-0.18.0/lib/mini_scheduler/manager.rb:365:in 'MiniScheduler::Manager#lock'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/mini_scheduler-0.18.0/lib/mini_scheduler/manager.rb:316:in 'MiniScheduler::Manager#tick'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/mini_scheduler-0.18.0/lib/mini_scheduler.rb:74:in 'block (2 levels) in MiniScheduler.start'

This is another

Message (2661 copies reported)

Job exception: can't alloc thread

Backtrace

/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/mini_scheduler-0.18.0/lib/mini_scheduler/manager.rb:63:in 'Thread.new'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/mini_scheduler-0.18.0/lib/mini_scheduler/manager.rb:63:in 'block in MiniScheduler::Manager::Runner#ensure_worker_threads'
<internal:numeric>:257:in 'Integer#times'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/mini_scheduler-0.18.0/lib/mini_scheduler/manager.rb:63:in 'MiniScheduler::Manager::Runner#ensure_worker_threads'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/mini_scheduler-0.18.0/lib/mini_scheduler/manager.rb:23:in 'block (2 levels) in MiniScheduler::Manager::Runner#initialize'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/mini_scheduler-0.18.0/lib/mini_scheduler/manager.rb:20:in 'Thread::Mutex#synchronize'
/var/www/discourse/vendor/bundle/ruby/3.4.0/gems/mini_scheduler-0.18.0/lib/mini_scheduler/manager.rb:20:in 'block in MiniScheduler::Manager::Runner#initialize'

I’m on a 1GB memory Digital Ocean droplet while I set things up, in case that’s relevant. I know it’s not the recommended size but I didn’t think it would be an issue if there wasn’t any actual traffic besides me.

Hey i attempted to veiw this from a regular user POV i go to sighn up with discourse ID and just am given the prompt once the field

Is filled out i press the sighn up and the button presses but dose not do what it should

These are the console errors for an anonymous user, on /signup and all other pages:

[Error] Failed to load resource: the server responded with a status of 404 () (discourse-lazy-videos.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (poll.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (vendor.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (discourse-local-dates.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (checklist.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (spoiler-alert.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (discourse-rewind.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (discourse-calendar.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (discourse-staff-alias.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (discourse-topic-voting.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (discourse-narrative-bot.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (automation.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (start-discourse.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (discourse-details.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (discourse-user-notes.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (discourse-data-explorer.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (discourse-anonymous-categories.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (discourse-fingerprint.map, line 0)

Were you alerted of my attempt at sighn up?

Also will you want me to sighn up non-id instead to see if that works?

No, I don’t see a new user and got no alerts of any kind, thank you for trying.

1 Like

I don’t think non-ID will work since I don’t have SMTP configured.

1 Like