sul-dlss / sul_pub

SUL system for harvest and managing publications for Stanford CAP, with controlled API access.
http://cap.stanford.edu
Other
8 stars 3 forks source link

[sul_pub/prod] NoMethodError: undefined method `base_url' for nil:NilClass #1652

Open justinlittman opened 9 months ago

justinlittman commented 9 months ago

Backtrace

line 13 of [PROJECT_ROOT]/lib/tasks/mais.rake: block (2 levels) in <main>

View full backtrace and more info at honeybadger.io

peetucket commented 9 months ago

No idea why this would happen. It would imply Settings.MAIS.BASE_URL is not set OR the initialization in https://github.com/sul-dlss/sul_pub/blob/main/config/initializers/mais_orcid_client.rb didn't work. That setting exist (I double checked), and it would also cause a failed ok computer check if it was not. If the initializer didn't work, we'd get a different HB alert. So this is a mystery as to why it happens sporadically