wmenezes Posted December 25, 2020 Posted December 25, 2020 Hi, please, could you install required Python libraries as of below:asgiref==3.2.10atomicwrites==1.4.0attrs==19.3.0certifi==2020.6.20chardet==3.0.4colorama==0.4.3cssselect==1.1.0Django==2.2.15idna==2.10importlib-metadata==1.7.0iniconfig==1.0.1lxml==4.5.2more-itertools==8.4.0numpy==1.19.3packaging==20.4pluggy==0.13.1psycopg2==2.8.5psycopg2-binary==2.8.5py==1.9.0pyparsing==2.4.7pyquery==1.4.1pytest==6.0.1python-dateutil==2.8.1pytz==2020.1requests==2.24.0six==1.15.0sqlparse==0.3.1toml==0.10.1urllib3==1.25.10zipp==3.1.0 Thank you
OnEnemy Posted December 25, 2020 Posted December 25, 2020 This support request is being escalated to our root admins.
wmenezes Posted December 26, 2020 Author Posted December 26, 2020 (edited) server:wmenezes.heliohost.org Python version is 3.7 Please, also kindly ask you one clarification.While reading Helio tutorial here https://wiki.helionet.org/tutorials/django I saw that current configuration for Apacha wsgi mode is embedded mode. So, how is Python source code life cycle / reload on Helio?Does Helio restart Apache once a day? or for instance, play with MaxRequestsPerChild as per https://code.google.com/archive/p/modwsgi/wikis/ReloadingSourceCode.wiki . Thank you Edited December 26, 2020 by wmenezes
Flaze Posted December 26, 2020 Posted December 26, 2020 Does Helio restart Apache once a day?Every two hours. For Krydos: certifi==2020.6.20 (update) idna==2.10 (update) psycopg2-binary==2.8.5 (update) pyquery==1.4.1 requests==2.24.0 (update) six==1.15.0 (update) sqlparse==0.3.1 (update) urllib3==1.25.10 (update)
Krydos Posted December 27, 2020 Posted December 27, 2020 There you go https://krydos.heliohost.org/cgi-bin/modules37.py
wmenezes Posted December 28, 2020 Author Posted December 28, 2020 Hi, kindly ask you help to know what are logs available to do troubleshooting for the mentioned server (Django application deployed). Is there any hint? I could see Cpanel "Errors" link only (and seems that logs are not rotating).https://tommy.heliohost.org:2083/cpsess6084660524/frontend/paper_lantern/stats/errlog.html Thanks in advance! [Thu Dec 24 23:01:14.125197 2020] [wsgi:error] [pid 84559] [client 179.213.17.154:61125] File "/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi", line 6, in <module> [Thu Dec 24 23:01:14.123531 2020] [wsgi:error] [pid 84559] [client 179.213.17.154:61125] mod_wsgi (pid=84559): Exception occurred processing WSGI script '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'. [Thu Dec 24 23:01:14.123429 2020] [wsgi:error] [pid 84559] [client 179.213.17.154:61125] mod_wsgi (pid=84559): Failed to exec Python script file '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'. [Thu Dec 24 23:01:11.054090 2020] [wsgi:error] [pid 116822] [client 179.213.17.154:61124] File "/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi", line 6, in <module> [Thu Dec 24 23:01:11.053183 2020] [wsgi:error] [pid 116822] [client 179.213.17.154:61124] mod_wsgi (pid=116822): Exception occurred processing WSGI script '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'. [Thu Dec 24 23:01:11.053002 2020] [wsgi:error] [pid 116822] [client 179.213.17.154:61124] mod_wsgi (pid=116822): Failed to exec Python script file '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'. [Thu Dec 24 22:59:28.929943 2020] [wsgi:error] [pid 116822] [client 179.213.17.154:61104] File "/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi", line 6, in <module> [Thu Dec 24 22:59:28.928270 2020] [wsgi:error] [pid 116822] [client 179.213.17.154:61104] mod_wsgi (pid=116822): Exception occurred processing WSGI script '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'. [Thu Dec 24 22:59:28.928180 2020] [wsgi:error] [pid 116822] [client 179.213.17.154:61104] mod_wsgi (pid=116822): Failed to exec Python script file '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'. [Thu Dec 24 22:51:22.601478 2020] [wsgi:error] [pid 54385] [client 179.213.17.154:60964] File "/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi", line 6, in <module> [Thu Dec 24 22:51:22.599221 2020] [wsgi:error] [pid 54385] [client 179.213.17.154:60964] mod_wsgi (pid=54385): Exception occurred processing WSGI script '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'. [Thu Dec 24 22:51:22.599097 2020] [wsgi:error] [pid 54385] [client 179.213.17.154:60964] mod_wsgi (pid=54385): Failed to exec Python script file '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'. [Thu Dec 24 22:50:45.159537 2020] [wsgi:error] [pid 122416] [client 179.213.17.154:60947] File "/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi", line 6, in <module> [Thu Dec 24 22:50:45.157859 2020] [wsgi:error] [pid 122416] [client 179.213.17.154:60947] mod_wsgi (pid=122416): Exception occurred processing WSGI script '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'. [Thu Dec 24 22:50:45.157749 2020] [wsgi:error] [pid 122416] [client 179.213.17.154:60947] mod_wsgi (pid=122416): Failed to exec Python script file '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'. [Thu Dec 24 22:50:11.681841 2020] [wsgi:error] [pid 18304] [client 179.213.17.154:60949] File "/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi", line 6, in <module> [Thu Dec 24 22:50:11.680269 2020] [wsgi:error] [pid 18304] [client 179.213.17.154:60949] mod_wsgi (pid=18304): Exception occurred processing WSGI script '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'. [Thu Dec 24 22:50:11.680172 2020] [wsgi:error] [pid 18304] [client 179.213.17.154:60949] mod_wsgi (pid=18304): Failed to exec Python script file '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'. [Thu Dec 24 22:49:50.774155 2020] [wsgi:error] [pid 96128] [client 179.213.17.154:60933] File "/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi", line 6, in <module> [Thu Dec 24 22:49:50.591516 2020] [wsgi:error] [pid 96128] [client 179.213.17.154:60933] mod_wsgi (pid=96128): Exception occurred processing WSGI script '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'. [Thu Dec 24 22:49:50.591404 2020] [wsgi:error] [pid 96128] [client 179.213.17.154:60933] mod_wsgi (pid=96128): Failed to exec Python script file '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'.
wmenezes Posted December 30, 2020 Author Posted December 30, 2020 (edited) hi, i use this one:https://wmenezes.heliohost.org/ I don't understand why Errors not rolling anymore. Also,I checked these 2 posts:http://www.heliohost.org/classic/features/languages/pythonhttps://wiki.helionet.org/tutorials/django Tried different configuration for dispatch.wsgi, both script and file place tests, results always http error 500.I've checked my local python dependencies (just in case), and project is good with same level of packages version from https://krydos.helio...in/modules37.py. I saw on internet that 500 error can be even due project routing (python urls set) when wsgi mode enabled, so many possibilities to check for this 500 error, any log would help a lot to find the issue. Thank you once again. Edited December 31, 2020 by wmenezes
Krydos Posted January 1, 2021 Posted January 1, 2021 Here is your error: [Fri Jan 01 19:50:26.891443 2021] [core:error] [pid 44741] [client 65.19.143.5:56411] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://wmenezes.heliohost.org/ That's usually caused by an error in your .htaccess. For instance is page1 redirects to page2 and then page2 redirects back to page1.
wmenezes Posted January 2, 2021 Author Posted January 2, 2021 Hi, Many thanks for the support! I did fix on .htaccess and after that logs started bringing more info, now application is reacting and more logs available! Kind Regards
Recommended Posts