ilovepasting

20211220 Prod Server Puma Error Log after ruby and node version upgrades

Dec 19th, 2021 (edited)
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 13.44 KB | None | 0 0
  1. console messages:
  2.  
  3. <script id="consoleReplayLog">
  4. console.error.apply(console, ["[SERVER] Exception in rendering!"]);
  5. console.error.apply(console, ["[SERVER] message: s is not a function"]);
  6. console.error.apply(console, ["[SERVER] stack: TypeError: s is not a function\n    at a (<anonymous>:36:1256)\n    at ip (<anonymous>:654:156302)\n    at a (<anonymous>:369:14074)\n    at a (<anonymous>:639:233316)\n    at Object.e [as serverRenderReactComponent] (<anonymous>:369:29698)\n    at <anonymous>:6:31\n    at <anonymous>:13:11"]);
  7. </script>
  8. ):
  9.     25:         = javascript_include_tag "markerclusterer.js"
  10.     26:       - props = topbar_props
  11.     27:       - cache props do
  12.     28:         = react_component("TopbarApp", props: props, prerender: true, id: 'topbar-container')
  13.     29:     - else
  14.     30:       = render partial: 'layouts/global_header', locals: header_props()
  15.     31:
  16.  
  17. app/views/layouts/application.haml:28:in `block in _app_views_layouts_application_haml__2037491696942578288_70197207603180'
  18. app/views/layouts/application.haml:27:in `_app_views_layouts_application_haml__2037491696942578288_70197207603180'
  19. app/controllers/homepage_controller.rb:140:in `block in index'
  20. app/services/result.rb:70:in `on_success'
  21. app/controllers/homepage_controller.rb:138:in `index'
  22. lib/rack_middleware/session_context_middleware.rb:15:in `call'
  23. lib/rack_middleware/marketplace_lookup.rb:35:in `call'
  24. lib/rack_middleware/custom_cookie_renamer.rb:11:in `call'
  25. lib/rack_middleware/enforce_ssl.rb:23:in `call'
  26. lib/rack_middleware/health_check.rb:12:in `call'
  27. {"method":"GET","path":"/500","format":"html","controller":"ErrorsController","action":"server_error","status":307,"duration":1.7,"view":0.0,"db":0.0,"location":"https://www.freelensia.com/500","params":{"category":"events","checkbox_filter_option_237937":"237937","checkbox_filter_option_237940":"237940","page":"1","total_fee_max":"2000","total_fee_min":"0","transaction_type":"event","view":"grid","locale":"ja"},"host":"www.freelensia.com","community_id":40017,"current_user_id":"","user_agent":"Mozilla/5.0 (compatible; SemrushBot/7~bl; +http://www.semrush.com/bot.html)","referer":"","forwarded_for":"185.191.171.5","request_uuid":"8550ec88-88fe-4fde-9d21-9383642b03ad"}
  28. [26447] PumaWorkerKiller: Consuming 1136.2109375 mb with master and 2 workers.
  29. [react_on_rails] Exception in rendering!
  30. [react_on_rails] message: s is not a function
  31. [react_on_rails] stack: TypeError: s is not a function\n    at a (<anonymous>:36:1256)\n    at ip (<anonymous>:654:156302)\n    at a (<anonymous>:369:14074)\n    at a (<anonymous>:639:233316)\n    at Object.e [as serverRenderReactComponent] (<anonymous>:369:29698)\n    at <anonymous>:6:31\n    at <anonymous>:13:11
  32. {"method":"GET","path":"/500","format":"html","controller":"ErrorsController","action":"server_error","status":500,"error":"ActionView::Template::Error: ERROR in SERVER PRERENDERING\nwhen prerendering TopbarApp with props: {\"logo\":{\"href\":\"/\",\"text\":\"Freelensia\",\"image\":\"/landing_page/logo_white.png\",\"image_highres\":\"/landing_page/logo_white.png\"},\"logo1\":{\"href\":\"/\",\"text\":\"Freelensia\",\"image\":\"/landing_page/logo_blue.png\",\"image_highres\":\"/landing_page/logo_blue.png\"},\"search\":{\"search_placeholder\":null,\"mode\":\"keyword_and_location\"},\"search_path\":\"/listings\",\"menu\":{\"links\":[{\"link\":\"/\",\"title\":\"Home\",\"priority\":-1},{\"link\":\"/en/listings\",\"title\":\"Listings\",\"priority\":0},{\"link\":\"/en/infos/faq\",\"title\":\"FAQ\",\"p\n... TRUNCATED ...\n\":\"/ar/\"}]},\"avatarDropdown\":{\"avatar\":{\"image\":null,\"givenName\":\"Removed user\",\"familyName\":null}},\"newListingButton\":{\"text\":\"Post a listing\"},\"i18n\":{\"locale\":\"en\",\"defaultLocale\":\"en\"},\"marketplace\":{\"marketplace_color1\":\"#3C8D81\",\"location\":\"/500?category=interpreters\\u0026locale=en\\u0026page=15\\u0026price_min=0\\u0026transaction_type=dinner-rate-interpreter\\u0026view=map\"},\"user\":{\"loggedInUsername\":null,\"isAdmin\":false},\"unReadMessagesCount\":0,\"notificationCount\":0,\"is_landing_page\":false}\n\ncode:\n\n        (function() {\n          var railsContext = {\"railsEnv\":\"production\",\"inMailer\":false,\"i18nLocale\":\"en\",\"i18nDefaultLocale\":\"en\",\"rorVersion\":\"11.3.0\",\"rorPro\":false,\"href\":\"https://www.freelensia.com/500?category=interpreters\\u0026locale=en\\u0026page=15\\u0026price_min=0\\u0026transaction_type=dinner-rate-interpreter\\u0026view=map\",\"location\":\"/500?category=interpreters\\u0026locale=en\\u0026page=15\\u0026price_min=0\\u0026transaction_type=dinner-rate-interpreter\\u0026view=map\",\"scheme\":\"https\n... TRUNCATED ...\nategory=interpreters\\u0026locale=en\\u0026page=15\\u0026price_min=0\\u0026transaction_type=dinner-rate-interpreter\\u0026view=map\"},\"user\":{\"loggedInUsername\":null,\"isAdmin\":false},\"unReadMessagesCount\":0,\"notificationCount\":0,\"is_landing_page\":false};\n          return ReactOnRails.serverRenderReactComponent({\n            name: 'TopbarApp',\n            domNodeId: 'topbar-container',\n            props: props,\n            trace: false,\n            railsContext: railsContext\n          });\n        })()\n\n\nconsole messages:\n\n<script id=\"consoleReplayLog\">\nconsole.error.apply(console, [\"[SERVER] Exception in rendering!\"]);\nconsole.error.apply(console, [\"[SERVER] message: s is not a function\"]);\nconsole.error.apply(console, [\"[SERVER] stack: TypeError: s is not a function\\n    at a (<anonymous>:36:1256)\\n    at ip (<anonymous>:654:156302)\\n    at a (<anonymous>:369:14074)\\n    at a (<anonymous>:639:233316)\\n    at Object.e [as serverRenderReactComponent] (<anonymous>:369:29698)\\n    at <anonymous>:6:31\\n    at <anonymous>:13:11\"]);\n</script>\n","duration":75.48,"view":0.0,"db":14.57,"params":{"category":"interpreters","locale":"en","page":"15","price_min":"0","transaction_type":"dinner-rate-interpreter","view":"map"},"host":"www.freelensia.com","community_id":40017,"current_user_id":"","user_agent":"Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)","referer":"","forwarded_for":"144.76.91.79","request_uuid":"79f4e17b-a76b-40a1-8f94-eee6c25259dd"}
  33.  
  34. ActionView::Template::Error (ERROR in SERVER PRERENDERING
  35. when prerendering TopbarApp with props: {"logo":{"href":"/","text":"Freelensia","image":"/landing_page/logo_white.png","image_highres":"/landing_page/logo_white.png"},"logo1":{"href":"/","text":"Freelensia","image":"/landing_page/logo_blue.png","image_highres":"/landing_page/logo_blue.png"},"search":{"search_placeholder":null,"mode":"keyword_and_location"},"search_path":"/listings","menu":{"links":[{"link":"/","title":"Home","priority":-1},{"link":"/en/listings","title":"Listings","priority":0},{"link":"/en/infos/faq","title":"FAQ","p
  36. ... TRUNCATED ...
  37. ":"/ar/"}]},"avatarDropdown":{"avatar":{"image":null,"givenName":"Removed user","familyName":null}},"newListingButton":{"text":"Post a listing"},"i18n":{"locale":"en","defaultLocale":"en"},"marketplace":{"marketplace_color1":"#3C8D81","location":"/500?category=interpreters\u0026locale=en\u0026page=15\u0026price_min=0\u0026transaction_type=dinner-rate-interpreter\u0026view=map"},"user":{"loggedInUsername":null,"isAdmin":false},"unReadMessagesCount":0,"notificationCount":0,"is_landing_page":false}
  38.  
  39. code:
  40.  
  41.         (function() {
  42.           var railsContext = {"railsEnv":"production","inMailer":false,"i18nLocale":"en","i18nDefaultLocale":"en","rorVersion":"11.3.0","rorPro":false,"href":"https://www.freelensia.com/500?category=interpreters\u0026locale=en\u0026page=15\u0026price_min=0\u0026transaction_type=dinner-rate-interpreter\u0026view=map","location":"/500?category=interpreters\u0026locale=en\u0026page=15\u0026price_min=0\u0026transaction_type=dinner-rate-interpreter\u0026view=map","scheme":"https
  43. ... TRUNCATED ...
  44. ategory=interpreters\u0026locale=en\u0026page=15\u0026price_min=0\u0026transaction_type=dinner-rate-interpreter\u0026view=map"},"user":{"loggedInUsername":null,"isAdmin":false},"unReadMessagesCount":0,"notificationCount":0,"is_landing_page":false};
  45.           return ReactOnRails.serverRenderReactComponent({
  46.             name: 'TopbarApp',
  47.             domNodeId: 'topbar-container',
  48.             props: props,
  49.             trace: false,
  50.             railsContext: railsContext
  51.           });
  52.         })()
  53.  
  54.  
  55. console messages:
  56.  
  57. <script id="consoleReplayLog">
  58. console.error.apply(console, ["[SERVER] Exception in rendering!"]);
  59. console.error.apply(console, ["[SERVER] message: s is not a function"]);
  60. console.error.apply(console, ["[SERVER] stack: TypeError: s is not a function\n    at a (<anonymous>:36:1256)\n    at ip (<anonymous>:654:156302)\n    at a (<anonymous>:369:14074)\n    at a (<anonymous>:639:233316)\n    at Object.e [as serverRenderReactComponent] (<anonymous>:369:29698)\n    at <anonymous>:6:31\n    at <anonymous>:13:11"]);
  61. </script>
  62. ):
  63.     25:         = javascript_include_tag "markerclusterer.js"
  64.     26:       - props = topbar_props
  65.     27:       - cache props do
  66.     28:         = react_component("TopbarApp", props: props, prerender: true, id: 'topbar-container')
  67.     29:     - else
  68.     30:       = render partial: 'layouts/global_header', locals: header_props()
  69.     31:
  70.  
  71. app/views/layouts/application.haml:28:in `block in _app_views_layouts_application_haml__2037491696942578288_70196980099540'
  72. app/views/layouts/application.haml:27:in `_app_views_layouts_application_haml__2037491696942578288_70196980099540'
  73. app/controllers/errors_controller.rb:6:in `server_error'
  74. lib/rack_middleware/session_context_middleware.rb:15:in `call'
  75. lib/rack_middleware/marketplace_lookup.rb:35:in `call'
  76. lib/rack_middleware/custom_cookie_renamer.rb:11:in `call'
  77. lib/rack_middleware/enforce_ssl.rb:23:in `call'
  78. lib/rack_middleware/health_check.rb:12:in `call'
  79. [react_on_rails] Exception in rendering!
  80. [react_on_rails] message: s is not a function
  81. [react_on_rails] stack: TypeError: s is not a function\n    at a (<anonymous>:36:1256)\n    at ip (<anonymous>:654:156302)\n    at a (<anonymous>:369:14074)\n    at a (<anonymous>:639:233316)\n    at Object.e [as serverRenderReactComponent] (<anonymous>:369:29698)\n    at <anonymous>:6:31\n    at <anonymous>:13:11
  82. {"method":"GET","path":"/500","format":"html","controller":"ErrorsController","action":"server_error","status":500,"error":"ActionView::Template::Error: ERROR in SERVER PRERENDERING\nwhen prerendering TopbarApp with props: {\"logo\":{\"href\":\"/\",\"text\":\"Freelensia\",\"image\":\"/landing_page/logo_white.png\",\"image_highres\":\"/landing_page/logo_white.png\"},\"logo1\":{\"href\":\"/\",\"text\":\"Freelensia\",\"image\":\"/landing_page/logo_blue.png\",\"image_highres\":\"/landing_page/logo_blue.png\"},\"search\":{\"search_placeholder\":null,\"mode\":\"keyword_and_location\"},\"search_path\":\"/listings\",\"menu\":{\"links\":[{\"link\":\"/\",\"title\":\"Home\",\"priority\":-1},{\"link\":\"/en/listings\",\"title\":\"Listings\",\"priority\":0},{\"link\":\"/en/infos/faq\",\"title\":\"FAQ\",\"p\n... TRUNCATED ...\n\":\"/ar/\"}]},\"avatarDropdown\":{\"avatar\":{\"image\":null,\"givenName\":\"Removed user\",\"familyName\":null}},\"newListingButton\":{\"text\":\"Post a listing\"},\"i18n\":{\"locale\":\"en\",\"defaultLocale\":\"en\"},\"marketplace\":{\"marketplace_color1\":\"#3C8D81\",\"location\":\"/500?category=interpreters\\u0026locale=en\\u0026page=15\\u0026price_min=0\\u0026transaction_type=dinner-rate-interpreter\\u0026view=map\"},\"user\":{\"loggedInUsername\":null,\"isAdmin\":false},\"unReadMessagesCount\":0,\"notificationCount\":0,\"is_landing_page\":false}\n\ncode:\n\n        (function() {\n          var railsContext = {\"railsEnv\":\"production\",\"inMailer\":false,\"i18nLocale\":\"en\",\"i18nDefaultLocale\":\"en\",\"rorVersion\":\"11.3.0\",\"rorPro\":false,\"href\":\"https://www.freelensia.com/500?category=interpreters\\u0026locale=en\\u0026page=15\\u0026price_min=0\\u0026transaction_type=dinner-rate-interpreter\\u0026view=map\",\"location\":\"/500?category=interpreters\\u0026locale=en\\u0026page=15\\u0026price_min=0\\u0026transaction_type=dinner-rate-interpreter\\u0026view=map\",\"scheme\":\"https\n... TRUNCATED ...\nategory=interpreters\\u0026locale=en\\u0026page=15\\u0026price_min=0\\u0026transaction_type=dinner-rate-interpreter\\u0026view=map\"},\"user\":{\"loggedInUsername\":null,\"isAdmin\":false},\"unReadMessagesCount\":0,\"notificationCount\":0,\"is_landing_page\":false};\n          return ReactOnRails.serverRenderReactComponent({\n            name: 'TopbarApp',\n            domNodeId: 'topbar-container',\n            props: props,\n            trace: false,\n            railsContext: railsContext\n          });\n        })()\n\n\nconsole messages:\n\n<script id=\"consoleReplayLog\">\nconsole.error.apply(console, [\"[SERVER] Exception in rendering!\"]);\nconsole.error.apply(console, [\"[SERVER] message: s is not a function\"]);\nconsole.error.apply(console, [\"[SERVER] stack: TypeError: s is not a function\\n    at a (<anonymous>:36:1256)\\n    at ip (<anonymous>:654:156302)\\n    at a (<anonymous>:369:14074)\\n    at a (<anonymous>:639:233316)\\n    at Object.e [as serverRenderReactComponent] (<anonymous>:369:29698)\\n    at <anonymous>:6:31\\n    at <anonymous>:13:11\"]);\n</script>\n","duration":28.08,"view":0.0,"db":0.25,"params":{"category":"interpreters","locale":"en","page":"15","price_min":"0","transaction_type":"dinner-rate-interpreter","view":"map"},"host":"www.freelensia.com","community_id":40017,"current_user_id":"","user_agent":"Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)","referer":"","forwarded_for":"144.76.91.79","request_uuid":"79f4e17b-a76b-40a1-8f94-eee6c25259dd"}
  83.  
Add Comment
Please, Sign In to add comment