Discourse Stuck on Loading (Logs)

Does anyone know what is going on, and if this is affected by the recent Multilingual plugin I installed? Having trouble decoding the logs:

-----------------------


DiscoTOC theme/component is throwing errors: TypeError: Cannot read properties of null (reading 'en')

Th 1:22 pm

2

Kanban Board theme/component is throwing errors: TypeError: Cannot read properties of null (reading 'en')

Th 1:22 pm

5

Social Share theme/component is throwing errors: TypeError: Cannot read properties of null (reading 'en')

Th 1:22 pm

6

Discord Widget theme/component is throwing errors: TypeError: Cannot read properties of null (reading 'en')

Th 1:26 pm

6

Welcome Link Banner theme/component is throwing errors: TypeError: Cannot read properties of null (reading 'en_GB')

Th 1:26 pm

6

Add Groups to About theme/component is throwing errors: TypeError: Cannot read properties of null (reading 'en')

Th 1:26 pm

6

DiscoTOC theme/component is throwing errors: TypeError: Cannot read properties of null (reading 'en_GB')

Th 1:26 pm

6

Social Share theme/component is throwing errors: TypeError: Cannot read properties of null (reading 'en')

Th 1:26 pm

6

Be the first to reply theme/component is throwing errors: TypeError: Cannot read properties of null (reading 'en')

Th 1:26 pm

6

Follow Category Button theme/component is throwing errors: TypeError: Cannot read properties of null (reading 'en')

Th 1:26 pm

6

Add Groups to About theme/component is throwing errors: TypeError: Cannot read properties of null (reading 'en')

Th 1:26 pm

6

Central theme/component is throwing errors: TypeError: Cannot read properties of null (reading 'en')

Th 1:26 pm

6

Kanban Board theme/component is throwing errors: TypeError: Cannot read properties of null (reading 'en_GB')

Th 1:26 pm

6

Reader Mode theme/component is throwing errors: TypeError: Cannot read properties of null (reading 'en')

Th 1:26 pm

6

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb

Th 2:13 pm

6

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb

Th 2:13 pm

2

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb

Th 2:18 pm

2

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb

Th 2:18 pm

6

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb

Th 2:24 pm

6

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb

Th 2:24 pm

10

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb

Th 2:24 pm

10

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb

Th 2:24 pm

Sidekiq is consuming too much memory (using: 500.01M) for 'Starserver-app', restarting

Fr 12:16 am

Sidekiq is consuming too much memory (using: 506.05M) for 'Starserver-app', restarting

Fr 11:46 am

7

(discord) Authentication failure! csrf_detected: OmniAuth::Strategies::OAuth2::CallbackError, csrf_detected | CSRF detected

Fr 3:47 pm

5

Error parsing hCaptcha response: Timeout::Error

Fr 4:52 pm

Sidekiq is consuming too much memory (using: 506.33M) for 'Starserver-app', restarting

Fr 6:47 pm

10

Discourse AI: Error in SpamScanner for post 1485 : DiscourseAi::Completions::Endpoints::Base::CompletionFailed : { "error": { "message": "Unsupported parameter: 'temperature' is not supported wi

Fr 10:44 pm

3

Discourse AI: Error in SpamScanner for post 1393 : DiscourseAi::Completions::Endpoints::Base::CompletionFailed : { "error": { "message": "Unsupported parameter: 'temperature' is not supported wi

Fr 11:05 pm

3

Discourse AI: Error in SpamScanner for post 1394 : DiscourseAi::Completions::Endpoints::Base::CompletionFailed : { "error": { "message": "Unsupported parameter: 'temperature' is not supported wi

Fr 11:47 pm

6

Discourse AI: Error in SpamScanner for post 1477 : DiscourseAi::Completions::Endpoints::Base::CompletionFailed : { "error": { "message": "Unsupported parameter: 'temperature' is not supported wi

4:27 am

Sidekiq is consuming too much memory (using: 500.67M) for 'Starserver-app', restarting

6:17 am

15

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb

6:54 am

15

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb

6:54 am

18

Discourse AI: Error in SpamScanner for post 1520 : DiscourseAi::Completions::Endpoints::Base::CompletionFailed : { "error": { "message": "Unsupported parameter: 'temperature' is not supported wi

6:54 am

1382

Job exception: Net::SMTPServerBusy

10:37 am

1382

Job exception: unexpected return

10:37 am

3

Discourse AI: Error in SpamScanner for post 1400 : DiscourseAi::Completions::Endpoints::Base::CompletionFailed : { "error": { "message": "Unsupported parameter: 'temperature' is not supported wi

11:16 am

27

Job exception: Net::SMTPAuthenticationError

12:37 pm

8

Discourse AI: Error in SpamScanner for post 1431 : DiscourseAi::Completions::Endpoints::Base::CompletionFailed : { "error": { "message": "Unsupported parameter: 'temperature' is not supported wi

2:32 pm

103

DiscourseAi::Completions::Endpoints::OpenAi: status: 400 - body: { "error": { "message": "Unsupported parameter: 'temperature' is not supported with this model.", "type": "invalid_request_er

3:42 pm

16

Discourse AI: Error in SpamScanner for post 1535 : DiscourseAi::Completions::Endpoints::Base::CompletionFailed : { "error": { "message": "Unsupported parameter: 'temperature' is not supported wi

3:42 pm

103

Job exception: { "error": { "message": "Unsupported parameter: 'temperature' is not supported with this model.", "type": "invalid_request_error", "param": "temperature", "code": "uns

3:42 pm

10

Job exception: address cannot be nil or empty

4:19 pm

Deprecation notice: add_to_serializer should not be used to directly override include_*? methods. Use the include_condition keyword argument instead At /var/www/discourse/plugins/discourse-multilingu

5:52 pm

Deprecation notice: add_to_serializer should not be used to directly override include_*? methods. Use the include_condition keyword argument instead At /var/www/discourse/plugins/discourse-multilingu

5:52 pm

Deprecation notice: add_to_serializer should not be used to directly override include_*? methods. Use the include_condition keyword argument instead At /var/www/discourse/plugins/discourse-multilingu

5:52 pm

Deprecation notice: add_to_serializer should not be used to directly override include_*? methods. Use the include_condition keyword argument instead At /var/www/discourse/plugins/discourse-multilingu

5:52 pm

Deprecation notice: add_to_serializer should not be used to directly override include_*? methods. Use the include_condition keyword argument instead At /var/www/discourse/plugins/discourse-multilingu

5:52 pm

845

Job exception: 208 errors address cannot be nil or empty (ArgumentError) /var/www/discourse/lib/final_destination/http.rb:5:in `connect' /var/www/discourse/vendor/bundle/ruby/3.3.0

It looks like it’s because the theme/component is corrupted or missing translation files, if you’ve recently installed or updated a theme/plugin, maybe its language files (e.g. en.yml) are in the wrong format or missing.

I only installed the Multilingual plugin, then saw the infinite loading. I then uninstalled it, and it still infinite loads :frowning:

Could you put the error message in triple backticks (```)? Thanks.

Done! Also /safe-mode does not work sadly. This is the domain:

https://biohacking.forum

And console logs too:

provide space astronoUncaught Error: Could not find module discourse/lib/theme-settings-store imported from (require)
    a loader.js:247
    a loader.js:258
    requireModule loader.js:24
    <anonymous> settings.js:3
loader.js:247
Uncaught Error: Could not find module discourse/lib/theme-settings-store imported from (require)
    a loader.js:247
    a loader.js:258
    requireModule loader.js:24
    <anonymous> settings.js:3
loader.js:247
Uncaught Error: Could not find module discourse/lib/theme-settings-store imported from (require)
    a loader.js:247
    a loader.js:258
    requireModule loader.js:24
    <anonymous> settings.js:3
loader.js:247
Uncaught Error: Could not find module discourse/lib/theme-settings-store imported from (require)
    a loader.js:247
    a loader.js:258
    requireModule loader.js:24
    <anonymous> settings.js:3
loader.js:247
Uncaught Error: Could not find module discourse/app imported from (require)
    a loader.js:247
    a loader.js:258
    requireModule loader.js:24
    <anonymous> start-app.js:4
    <anonymous> discourse-boot.js:13
    <anonymous> discourse-boot.js:1
1 Like

I see you’re using Cloudflare. Have you made recent changes?
Few JS returns 404 on the CF side. Can you try to purge the cache once?

Also worth mentioning just in case: Using Discourse with Cloudflare: Best Practices

3 Likes

Yes, I will do that now and purge all cache and cache reserves!

Same issue :sob: But here is the updated console and logs. Thank you to anyone who helps me with this(I know its a weird error):

A note, that the app works(using Lexicon open-source app - and like everything works there)

CONSOLE

Uncaught Error: Could not find module `discourse/loader-shims` imported from `(require)`
    at loader.js:247:1
    at a (loader.js:258:1)
    at requireModule (loader.js:24:1)
    at _en-0ede82ccd704fee3ec3c7bf86d6785162fc596da163422d5924b6a9c43e2b7e4.js:1:1Understand this error
loader.js:247 Uncaught Error: Could not find module `@messageformat/runtime/messages` imported from `discourse-mf`
    at loader.js:247:1
    at a (loader.js:258:1)
    at s.findDeps (loader.js:168:1)
    at a (loader.js:262:1)
    at requireModule (loader.js:24:1)
    at mf.js?__ws=biohacking.forum:210:1Understand this error
overrides.js?__ws=biohacking.forum:1 Uncaught ReferenceError: I18n is not defined
    at overrides.js?__ws=biohacking.forum:1:1Understand this error
loader.js:247 Uncaught Error: Could not find module `discourse/lib/theme-settings-store` imported from `(require)`
    at loader.js:247:1
    at a (loader.js:258:1)
    at requireModule (loader.js:24:1)
    at settings.js:3:5Understand this error
loader.js:247 Uncaught Error: Could not find module `discourse/lib/theme-settings-store` imported from `(require)`
    at loader.js:247:1
    at a (loader.js:258:1)
    at requireModule (loader.js:24:1)
    at settings.js:3:5Understand this error
loader.js:247 Uncaught Error: Could not find module `discourse/lib/theme-settings-store` imported from `(require)`
    at loader.js:247:1
    at a (loader.js:258:1)
    at requireModule (loader.js:24:1)
    at settings.js:3:5Understand this error
loader.js:247 Uncaught Error: Could not find module `discourse/lib/theme-settings-store` imported from `(require)`
    at loader.js:247:1
    at a (loader.js:258:1)
    at requireModule (loader.js:24:1)
    at settings.js:3:5Understand this error
loader.js:247 Uncaught Error: Could not find module `discourse/lib/theme-settings-store` imported from `(require)`
    at loader.js:247:1
    at a (loader.js:258:1)
    at requireModule (loader.js:24:1)
    at settings.js:3:5Understand this error
loader.js:247 Uncaught Error: Could not find module `discourse/lib/theme-settings-store` imported from `(require)`
    at loader.js:247:1
    at a (loader.js:258:1)
    at requireModule (loader.js:24:1)
    at settings.js:3:5Understand this error
loader.js:247 Uncaught Error: Could not find module `discourse/lib/theme-settings-store` imported from `(require)`
    at loader.js:247:1
    at a (loader.js:258:1)
    at requireModule (loader.js:24:1)
    at settings.js:3:5Understand this error
loader.js:247 Uncaught Error: Could not find module `discourse/lib/theme-settings-store` imported from `(require)`
    at loader.js:247:1
    at a (loader.js:258:1)
    at requireModule (loader.js:24:1)
    at settings.js:3:5Understand this error
loader.js:247 Uncaught Error: Could not find module `discourse/lib/theme-settings-store` imported from `(require)`
    at loader.js:247:1
    at a (loader.js:258:1)
    at requireModule (loader.js:24:1)
    at settings.js:3:5Understand this error
loader.js:247 Uncaught Error: Could not find module `discourse/lib/theme-settings-store` imported from `(require)`
    at loader.js:247:1
    at a (loader.js:258:1)
    at requireModule (loader.js:24:1)
    at settings.js:3:5Understand this error
loader.js:247 Uncaught Error: Could not find module `discourse/lib/theme-settings-store` imported from `(require)`
    at loader.js:247:1
    at a (loader.js:258:1)
    at requireModule (loader.js:24:1)
    at settings.js:3:5Understand this error
loader.js:247 Uncaught Error: Could not find module `discourse/lib/theme-settings-store` imported from `(require)`
    at loader.js:247:1
    at a (loader.js:258:1)
    at requireModule (loader.js:24:1)
    at settings.js:3:5Understand this error
loader.js:247 Uncaught Error: Could not find module `discourse/lib/theme-settings-store` imported from `(require)`
    at loader.js:247:1
    at a (loader.js:258:1)
    at requireModule (loader.js:24:1)
    at settings.js:3:5Understand this error
loader.js:247 Uncaught Error: Could not find module `discourse/lib/theme-settings-store` imported from `(require)`
    at loader.js:247:1
    at a (loader.js:258:1)
    at requireModule (loader.js:24:1)
    at settings.js:3:5Understand this error
loader.js:247 Uncaught Error: Could not find module `discourse/app` imported from `(require)`
    at loader.js:247:1
    at a (loader.js:258:1)
    at requireModule (loader.js:24:1)
    at HTMLDocument.<anonymous> (start-app.js:4:15)
    at discourse-boot.js:13:12
    at discourse-boot.js:1:1

/LOGS - Backtrace (Overview)

7

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb
Su 1:59 am
7

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb
Su 1:59 am
17

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb
Su 2:11 am
17

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb
Su 2:11 am
3

Discourse AI: Error in SpamScanner for post 1404 : DiscourseAi::Completions::Endpoints::Base::CompletionFailed : { "error": { "message": "Unsupported parameter: 'temperature' is not supported wi
Su 2:11 am
4

Discourse AI: Error in SpamScanner for post 1413 : DiscourseAi::Completions::Endpoints::Base::CompletionFailed : { "error": { "message": "Unsupported parameter: 'temperature' is not supported wi
Su 7:36 pm
4

Discourse AI: Error in SpamScanner for post 1414 : DiscourseAi::Completions::Endpoints::Base::CompletionFailed : { "error": { "message": "Unsupported parameter: 'temperature' is not supported wi
Su 7:38 pm
18

Discourse AI: Error in SpamScanner for post 1535 : DiscourseAi::Completions::Endpoints::Base::CompletionFailed : { "error": { "message": "Unsupported parameter: 'temperature' is not supported wi
Su 11:59 pm
11

Job exception: address cannot be nil or empty
4:34 am
11

Discourse AI: Error in SpamScanner for post 1485 : DiscourseAi::Completions::Endpoints::Base::CompletionFailed : { "error": { "message": "Unsupported parameter: 'temperature' is not supported wi
4:45 am
1384

Job exception: Net::SMTPServerBusy
9:04 am
1384

Job exception: unexpected return
9:04 am
112

DiscourseAi::Completions::Endpoints::OpenAi: status: 400 - body: { "error": { "message": "Unsupported parameter: 'temperature' is not supported with this model.", "type": "invalid_request_er
11:19 am
20

Discourse AI: Error in SpamScanner for post 1520 : DiscourseAi::Completions::Endpoints::Base::CompletionFailed : { "error": { "message": "Unsupported parameter: 'temperature' is not supported wi
11:19 am
112

Job exception: { "error": { "message": "Unsupported parameter: 'temperature' is not supported with this model.", "type": "invalid_request_error", "param": "temperature", "code": "uns
11:19 am

Sidekiq is consuming too much memory (using: 503.61M) for 'Starserver-app', restarting
1:20 pm
1378

Job exception: 208 errors address cannot be nil or empty (ArgumentError) /var/www/discourse/lib/final_destination/http.rb:5:in `connect' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/net-http-0.6.0
3:37 pm

/LOGS - 208 errors address cannot be nil or empty(ArgumentError) /var/www/discourse/lib/final_destimation/http.rb:5:in connect /var/www/discourse/vendor/bundle/ruby/3.3.0/.g

concurrent-ruby-1.3.5/lib/concurrent-ruby/concurrent/promises.rb:1268:in `raise'  
concurrent-ruby-1.3.5/lib/concurrent-ruby/concurrent/promises.rb:1268:in `wait_until_resolved!'  
concurrent-ruby-1.3.5/lib/concurrent-ruby/concurrent/promises.rb:998:in `value!'  
/var/www/discourse/plugins/discourse-ai/lib/sentiment/post_classification.rb:93:in `bulk_classify!'  
/var/www/discourse/plugins/discourse-ai/app/jobs/scheduled/sentiment_backfill.rb:27:in `execute'  
/var/www/discourse/app/jobs/base.rb:316:in `block (2 levels) in perform'  
rails_multisite-6.1.0/lib/rails_multisite/connection_management/null_instance.rb:49:in `with_connection'
rails_multisite-6.1.0/lib/rails_multisite/connection_management.rb:21:in `with_connection'
/var/www/discourse/app/jobs/base.rb:303:in `block in perform'  
/var/www/discourse/app/jobs/base.rb:299:in `each'  
/var/www/discourse/app/jobs/base.rb:299:in `perform'  
/var/www/discourse/app/jobs/base.rb:379:in `perform'  
mini_scheduler-0.18.0/lib/mini_scheduler/manager.rb:137:in `process_queue'  
mini_scheduler-0.18.0/lib/mini_scheduler/manager.rb:77:in `worker_loop'  
mini_scheduler-0.18.0/lib/mini_scheduler/manager.rb:63:in `block (2 levels) in ensure_worker_threads' 

/LOGS - Job exception: address cannot be nil or emptty

/var/www/discourse/lib/final_destination/http.rb:5:in `connect'  
net-http-0.6.0/lib/net/http.rb:1642:in `do_start'  
net-http-0.6.0/lib/net/http.rb:1631:in `start'  
faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:112:in `request_with_wrapped_block'  
faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:102:in `perform_request'  
faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:66:in `block in call'  
faraday-2.13.0/lib/faraday/adapter.rb:45:in `connection'  
faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:65:in `call'  
faraday-2.13.0/lib/faraday/rack_builder.rb:153:in `build_response'  
faraday-2.13.0/lib/faraday/connection.rb:452:in `run_request'  
faraday-2.13.0/lib/faraday/connection.rb:280:in `post'  
/var/www/discourse/plugins/discourse-ai/lib/inference/hugging_face_text_embeddings.rb:74:in `do_request!'  
/var/www/discourse/plugins/discourse-ai/lib/inference/hugging_face_text_embeddings.rb:51:in `classify_by_sentiment!'  
/var/www/discourse/plugins/discourse-ai/lib/sentiment/post_classification.rb:156:in `request_with'  
/var/www/discourse/plugins/discourse-ai/lib/sentiment/post_classification.rb:114:in `block in classify!'  
/var/www/discourse/plugins/discourse-ai/lib/sentiment/post_classification.rb:113:in `each'  
/var/www/discourse/plugins/discourse-ai/lib/sentiment/post_classification.rb:113:in `reduce'  
/var/www/discourse/plugins/discourse-ai/lib/sentiment/post_classification.rb:113:in `classify!'  
/var/www/discourse/plugins/discourse-ai/app/jobs/regular/post_sentiment_analysis.rb:14:in `execute'  
/var/www/discourse/app/jobs/base.rb:316:in `block (2 levels) in perform'  
rails_multisite-6.1.0/lib/rails_multisite/connection_management/null_instance.rb:49:in `with_connection'
rails_multisite-6.1.0/lib/rails_multisite/connection_management.rb:21:in `with_connection'
/var/www/discourse/app/jobs/base.rb:303:in `block in perform'  
/var/www/discourse/app/jobs/base.rb:299:in `each'  
/var/www/discourse/app/jobs/base.rb:299:in `perform'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:220:in `execute_job'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:185:in `block (4 levels) in process'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:180:in `traverse'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'  
/var/www/discourse/lib/sidekiq/pausable.rb:132:in `call'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:182:in `traverse'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'  
sidekiq-7.3.9/lib/sidekiq/job/interrupt_handler.rb:9:in `call'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:182:in `traverse'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'  
sidekiq-7.3.9/lib/sidekiq/metrics/tracking.rb:26:in `track'  
sidekiq-7.3.9/lib/sidekiq/metrics/tracking.rb:134:in `call'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:182:in `traverse'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:173:in `invoke'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:184:in `block (3 levels) in process'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:145:in `block (6 levels) in dispatch'  
sidekiq-7.3.9/lib/sidekiq/job_retry.rb:118:in `local'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:144:in `block (5 levels) in dispatch'  
sidekiq-7.3.9/lib/sidekiq/config.rb:39:in `block in <class:Config>'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:139:in `block (4 levels) in dispatch'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:281:in `stats'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:134:in `block (3 levels) in dispatch'  
sidekiq-7.3.9/lib/sidekiq/job_logger.rb:15:in `call'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:133:in `block (2 levels) in dispatch'  
sidekiq-7.3.9/lib/sidekiq/job_retry.rb:85:in `global'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:132:in `block in dispatch'  
sidekiq-7.3.9/lib/sidekiq/job_logger.rb:40:in `prepare'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:131:in `dispatch'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:183:in `block (2 levels) in process'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:182:in `handle_interrupt'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:182:in `block in process'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:181:in `handle_interrupt'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:181:in `process'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:86:in `process_one'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:76:in `run'  
sidekiq-7.3.9/lib/sidekiq/component.rb:10:in `watchdog'  
sidekiq-7.3.9/lib/sidekiq/component.rb:19:in `block in safe_thread' 

/LOGS - Job exception: NET::SMTPServerBusy

net-smtp-0.5.1/lib/net/smtp.rb:1036:in `check_response'  
net-smtp-0.5.1/lib/net/smtp.rb:676:in `do_start'  
net-smtp-0.5.1/lib/net/smtp.rb:642:in `start'  
mail-2.8.1/lib/mail/network/delivery_methods/smtp.rb:109:in `start_smtp_session'  
mail-2.8.1/lib/mail/network/delivery_methods/smtp.rb:100:in `deliver!'  
mail-2.8.1/lib/mail/message.rb:269:in `deliver!'  
/usr/local/lib/ruby/3.3.0/delegate.rb:87:in `method_missing'
/var/www/discourse/lib/email/sender.rb:296:in `send'  
/var/www/discourse/app/jobs/regular/user_email.rb:79:in `send_user_email'  
/var/www/discourse/app/jobs/regular/user_email.rb:39:in `execute'  
/var/www/discourse/app/jobs/base.rb:316:in `block (2 levels) in perform'  
rails_multisite-6.1.0/lib/rails_multisite/connection_management/null_instance.rb:49:in `with_connection'
rails_multisite-6.1.0/lib/rails_multisite/connection_management.rb:21:in `with_connection'
/var/www/discourse/app/jobs/base.rb:303:in `block in perform'  
/var/www/discourse/app/jobs/base.rb:299:in `each'  
/var/www/discourse/app/jobs/base.rb:299:in `perform'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:220:in `execute_job'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:185:in `block (4 levels) in process'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:180:in `traverse'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'  
/var/www/discourse/lib/sidekiq/pausable.rb:132:in `call'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:182:in `traverse'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'  
sidekiq-7.3.9/lib/sidekiq/job/interrupt_handler.rb:9:in `call'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:182:in `traverse'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'  
sidekiq-7.3.9/lib/sidekiq/metrics/tracking.rb:26:in `track'  
sidekiq-7.3.9/lib/sidekiq/metrics/tracking.rb:134:in `call'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:182:in `traverse'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:173:in `invoke'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:184:in `block (3 levels) in process'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:145:in `block (6 levels) in dispatch'  
sidekiq-7.3.9/lib/sidekiq/job_retry.rb:118:in `local'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:144:in `block (5 levels) in dispatch'  
sidekiq-7.3.9/lib/sidekiq/config.rb:39:in `block in <class:Config>'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:139:in `block (4 levels) in dispatch'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:281:in `stats'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:134:in `block (3 levels) in dispatch'  
sidekiq-7.3.9/lib/sidekiq/job_logger.rb:15:in `call'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:133:in `block (2 levels) in dispatch'  
sidekiq-7.3.9/lib/sidekiq/job_retry.rb:85:in `global'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:132:in `block in dispatch'  
sidekiq-7.3.9/lib/sidekiq/job_logger.rb:40:in `prepare'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:131:in `dispatch'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:183:in `block (2 levels) in process'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:182:in `handle_interrupt'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:182:in `block in process'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:181:in `handle_interrupt'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:181:in `process'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:86:in `process_one'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:76:in `run'  
sidekiq-7.3.9/lib/sidekiq/component.rb:10:in `watchdog'  
sidekiq-7.3.9/lib/sidekiq/component.rb:19:in `block in safe_thread' 

/LOGS - Job Exception: unexpected return

/var/www/discourse/app/jobs/regular/user_email.rb:19:in `block in <class:UserEmail>'  
sidekiq-7.3.9/lib/sidekiq/job_retry.rb:213:in `delay_for'  
sidekiq-7.3.9/lib/sidekiq/job_retry.rb:182:in `process_retry'  
sidekiq-7.3.9/lib/sidekiq/job_retry.rb:134:in `rescue in local'  
sidekiq-7.3.9/lib/sidekiq/job_retry.rb:117:in `local'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:144:in `block (5 levels) in dispatch'  
sidekiq-7.3.9/lib/sidekiq/config.rb:39:in `block in <class:Config>'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:139:in `block (4 levels) in dispatch'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:281:in `stats'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:134:in `block (3 levels) in dispatch'  
sidekiq-7.3.9/lib/sidekiq/job_logger.rb:15:in `call'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:133:in `block (2 levels) in dispatch'  
sidekiq-7.3.9/lib/sidekiq/job_retry.rb:85:in `global'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:132:in `block in dispatch'  
sidekiq-7.3.9/lib/sidekiq/job_logger.rb:40:in `prepare'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:131:in `dispatch'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:183:in `block (2 levels) in process'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:182:in `handle_interrupt'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:182:in `block in process'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:181:in `handle_interrupt'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:181:in `process'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:86:in `process_one'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:76:in `run'  
sidekiq-7.3.9/lib/sidekiq/component.rb:10:in `watchdog'  
sidekiq-7.3.9/lib/sidekiq/component.rb:19:in `block in safe_thread' 

/LOGS - DiscourseAi::Completions::Endpoints::OpenAi: status: 400 - body: { “error”: { “message”: “Unsupported parameter: ‘temperature’ is not supported with this model.”, “type”: "invalid_request_er

activesupport-7.2.2.1/lib/active_support/broadcast_logger.rb:134:in `block in error'  
activesupport-7.2.2.1/lib/active_support/broadcast_logger.rb:231:in `block in dispatch'  
activesupport-7.2.2.1/lib/active_support/broadcast_logger.rb:231:in `each'  
activesupport-7.2.2.1/lib/active_support/broadcast_logger.rb:231:in `dispatch'  
activesupport-7.2.2.1/lib/active_support/broadcast_logger.rb:134:in `error'  
/var/www/discourse/plugins/discourse-ai/lib/completions/endpoints/base.rb:128:in `block (2 levels) in perform_completion!'  
net-http-0.6.0/lib/net/http.rb:2433:in `block in transport_request'  
net-http-0.6.0/lib/net/http/response.rb:320:in `reading_body'  
net-http-0.6.0/lib/net/http.rb:2430:in `transport_request'  
net-http-0.6.0/lib/net/http.rb:2384:in `request'  
rack-mini-profiler-3.3.1/lib/patches/net_patches.rb:19:in `block in request_with_mini_profiler'  
rack-mini-profiler-3.3.1/lib/mini_profiler/profiling_methods.rb:50:in `step'  
rack-mini-profiler-3.3.1/lib/patches/net_patches.rb:18:in `request_with_mini_profiler'  
/var/www/discourse/plugins/discourse-ai/lib/completions/endpoints/base.rb:126:in `block in perform_completion!'  
net-http-0.6.0/lib/net/http.rb:1632:in `start'  
net-http-0.6.0/lib/net/http.rb:1070:in `start'  
/var/www/discourse/plugins/discourse-ai/lib/completions/endpoints/base.rb:109:in `perform_completion!'  
/var/www/discourse/plugins/discourse-ai/lib/completions/endpoints/open_ai.rb:52:in `perform_completion!'  
/var/www/discourse/plugins/discourse-ai/lib/completions/llm.rb:305:in `generate'  
/var/www/discourse/plugins/discourse-ai/lib/ai_moderation/spam_scanner.rb:216:in `perform_scan!'  
/var/www/discourse/plugins/discourse-ai/lib/ai_moderation/spam_scanner.rb:201:in `perform_scan'  
/var/www/discourse/plugins/discourse-ai/app/jobs/regular/ai_spam_scan.rb:10:in `execute'  
/var/www/discourse/app/jobs/base.rb:316:in `block (2 levels) in perform'  
rails_multisite-6.1.0/lib/rails_multisite/connection_management/null_instance.rb:49:in `with_connection'
rails_multisite-6.1.0/lib/rails_multisite/connection_management.rb:21:in `with_connection'
/var/www/discourse/app/jobs/base.rb:303:in `block in perform'  
/var/www/discourse/app/jobs/base.rb:299:in `each'  
/var/www/discourse/app/jobs/base.rb:299:in `perform'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:220:in `execute_job'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:185:in `block (4 levels) in process'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:180:in `traverse'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'  
/var/www/discourse/lib/sidekiq/pausable.rb:132:in `call'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:182:in `traverse'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'  
sidekiq-7.3.9/lib/sidekiq/job/interrupt_handler.rb:9:in `call'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:182:in `traverse'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'  
sidekiq-7.3.9/lib/sidekiq/metrics/tracking.rb:26:in `track'  
sidekiq-7.3.9/lib/sidekiq/metrics/tracking.rb:134:in `call'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:182:in `traverse'  
sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:173:in `invoke'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:184:in `block (3 levels) in process'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:145:in `block (6 levels) in dispatch'  
sidekiq-7.3.9/lib/sidekiq/job_retry.rb:118:in `local'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:144:in `block (5 levels) in dispatch'  
sidekiq-7.3.9/lib/sidekiq/config.rb:39:in `block in <class:Config>'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:139:in `block (4 levels) in dispatch'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:281:in `stats'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:134:in `block (3 levels) in dispatch'  
sidekiq-7.3.9/lib/sidekiq/job_logger.rb:15:in `call'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:133:in `block (2 levels) in dispatch'  
sidekiq-7.3.9/lib/sidekiq/job_retry.rb:85:in `global'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:132:in `block in dispatch'  
sidekiq-7.3.9/lib/sidekiq/job_logger.rb:40:in `prepare'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:131:in `dispatch'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:183:in `block (2 levels) in process'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:182:in `handle_interrupt'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:182:in `block in process'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:181:in `handle_interrupt'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:181:in `process'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:86:in `process_one'  
sidekiq-7.3.9/lib/sidekiq/processor.rb:76:in `run'  
sidekiq-7.3.9/lib/sidekiq/component.rb:10:in `watchdog'  
sidekiq-7.3.9/lib/sidekiq/component.rb:19:in `block in safe_thread' 

All of these traces are strong indicators the container can not reach the outside world.

Maybe DNS is misconfigured on your machine?

Nope! Been using Cloudflare Tunnels forever, I will go through and disable all performance/caching/optimization settings on Cloudflare though

Tried waiting it through the night in case its on my end but it is still infinite loading. Is there a way to force remove any leftovers from the Multilingual plugin, as after I installed it - this infinite loading started.

I even uninstalled it but still infinite loading, making me think that caused it? The backend(i.e.) post API, webhooks, and app still works though

Can you share a link to the site?

1 Like

Oh you are the guy who was trying to store the assets on R2 right?

Looks like that is the reason it is broken for you. You have broken assets, such as https://storage.biohacking.forum/assets/chunk.b4d25944e38d14d923dd.d41d8cd9.br.js

I guess that is why R2 is listed as not supported in Configure an S3 compatible object storage provider for uploads.

Ah, okay - I will try to re-run all of the migrations which cleaned my data up! One moment

Ah yep mate these two commands fixed it:

sudo -E -u discourse bundle exec rake s3:upload_assets

sudo -E -u discourse bundle exec rake uploads:migrate_to_s3

Is there a way to automate these on a ./launcher rebuild app?

Yes, follow the configuration block in the Configure an S3 compatible object storage provider for uploads guide.

1 Like