Sgtpluck / resource-search

Other
0 stars 0 forks source link

500 sometimes #36

Open Sgtpluck opened 2 years ago

Sgtpluck commented 2 years ago

Something is happening with the guides sometimes and getting a 429 for too many requests.

] FATAL -- : [552a9b05-bceb-47ac-9228-93e7898c41b1] 09:26:19.999: [APP/PROC/WEB.0] [552a9b05-bceb-47ac-9228-93e7898c41b1] JSON::ParserError (809: unexpected token at '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> 09:26:19.999: [APP/PROC/WEB.0] 09:26:19.999: [APP/PROC/WEB.0] 429 Too Many Requests 09:26:19.999: [APP/PROC/WEB.0] 09:26:19.999: [APP/PROC/WEB.0]

Too Many Requests

09:26:19.999: [APP/PROC/WEB.0]

The user has sent too many requests 09:26:19.999: [APP/PROC/WEB.0] in a given amount of time.

09:26:19.999: [APP/PROC/WEB.0] 09:26:19.999: [APP/PROC/WEB.0] '): 09:26:19.999: [APP/PROC/WEB.0] [552a9b05-bceb-47ac-9228-93e7898c41b1] 09:26:19.999: [APP/PROC/WEB.0] [552a9b05-bceb-47ac-9228-93e7898c41b1] app/models/guides.rb:97:in search_results' 09:26:19.999: [APP/PROC/WEB.0] [552a9b05-bceb-47ac-9228-93e7898c41b1] app/models/guides.rb:91:inresults' 09:26:19.999: [APP/PROC/WEB.0] [552a9b05-bceb-47ac-9228-93e7898c41b1] app/models/guides.rb:67:in block in search' 09:26:19.999: [APP/PROC/WEB.0] [552a9b05-bceb-47ac-9228-93e7898c41b1] app/models/guides.rb:66:inmap' 09:26:19.999: [APP/PROC/WEB.0] [552a9b05-bceb-47ac-9228-93e7898c41b1] app/models/guides.rb:66:in search' 09:26:19.999: [APP/PROC/WEB.0] [552a9b05-bceb-47ac-9228-93e7898c41b1] app/models/guides.rb:60:insearch' 09:26:19.999: [APP/PROC/WEB.0] [552a9b05-bceb-47ac-9228-93e7898c41b1] app/models/full_search.rb:35:in guide_results' 09:26:19.999: [APP/PROC/WEB.0] [552a9b05-bceb-47ac-9228-93e7898c41b1] app/models/full_search.rb:20:infind_resources' 09:26:19.999: [APP/PROC/WEB.0] [552a9b05-bceb-47ac-9228-93e7898c41b1] app/controllers/pages_controller.rb:6:in `home' 09:26:19.999: [APP/PROC/WEB.0] I, [2022-11-04T13:26:19.999313 #120] INFO -- : [552a9b05-bceb-47ac-9228-93e7898c41b1] Processing by ExceptionsController#show as HTML 09:26:19.999: [APP/PROC/WEB.0] I, [2022-11-04T13:26:19.999388 #120] INFO -- : [552a9b05-bceb-47ac-9228-93e7898c41b1] Parameters: {"authenticity_token"=>"[FILTERED]", "search"=>{"query"=>{"description"=>"check in", "type"=>{"All"=>"1", "Template"=>"0", "Example"=>"0", "Training"=>"0", "Guide"=>"0", "Case Study"=>"0", "Report"=>"0", "Research"=>"0"}}, "source"=>{"All"=>"1", "ProjectResource"=>"0", "PangolinResource"=>"0", "Guides"=>"0"}}, "commit"=>"Search", "code"=>"500"}