Traceback (most recent call last):
File "/home/ubuntu/mnt/web2py/gluon/main.py", line 445, in wsgibase serve_controller(request, response, session) File "/home/ubuntu/mnt/web2py/gluon/main.py", line 207, in serve_controller raise HTTP(response.status, page, **response.headers)gluon.http.HTTP: 200 OK During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/ubuntu/mnt/web2py/gluon/main.py", line 472, in wsgibase BaseAdapter.close_all_instances('commit') File "/home/ubuntu/mnt/web2py/gluon/packages/dal/pydal/connection.py", line 121, in close_all_instances db._adapter.close(action) File "/home/ubuntu/mnt/web2py/gluon/packages/dal/pydal/connection.py", line 98, in close if len(pool) < self.pool_size:TypeError: '<' not supported between instances of 'int' and 'str'
[Thu Nov 15 04:02:26.546712 2018] [wsgi:error] [pid 9117] [client XXX.XXX.XXX.AA:56599] Timeout when reading response headers from daemon process 'web2pydefault': /home/ubuntu/mnt/web2py/wsgihandler.py[Thu Nov 15 04:08:52.161152 2018] [wsgi:error] [pid 9111] [client XXX.XXX.XXX.AB:40713] Timeout when reading response headers from daemon process 'web2pydefault': /home/ubuntu/mnt/web2py/wsgihandler.py[Thu Nov 15 04:26:51.746340 2018] [wsgi:error] [pid 8081] [client XXX.XXX.XXX.AC:2960] Timeout when reading response headers from daemon process 'web2pydefault': /home/ubuntu/mnt/web2py/wsgihandler.py[Thu Nov 15 04:38:41.429260 2018] [wsgi:error] [pid 8081] [client XXX.XXX.XXX.AD:48360] Timeout when reading response headers from daemon process 'web2pydefault': /home/ubuntu/mnt/web2py/wsgihandler.py[Thu Nov 15 04:44:56.502509 2018] [wsgi:error] [pid 7466] [remote XXX.XXX.XXX.AE:7339] mod_wsgi (pid=7466): Exception occurred processing WSGI script '/home/ubuntu/mnt/web2py/wsgihandler.py'.[Thu Nov 15 04:44:56.502575 2018] [wsgi:error] [pid 7466] [remote XXX.XXX.XXX.AE:7339] TypeError: sequence of byte string values expected, value of type str found[Thu Nov 15 04:50:20.030220 2018] [wsgi:error] [pid 8081] [client XXX.XXX.XXX.AF:33766] Timeout when reading response headers from daemon process 'web2pydefault': /home/ubuntu/mnt/web2py/wsgihandler.py[Thu Nov 15 05:00:40.384970 2018] [ssl:warn] [pid 9665] AH01909: XXX.XXX.XXX.AG:443:0 server certificate does NOT include an ID which matches the server name[Thu Nov 15 05:00:40.407686 2018] [ssl:warn] [pid 9667] AH01909: XXX.XXX.XXX.AG:443:0 server certificate does NOT include an ID which matches the server name[Thu Nov 15 05:03:10.875058 2018] [wsgi:error] [pid 9668] [remote XXX.XXX.XXX.AF:34126] /home/ubuntu/mnt/web2py/gluon/contrib/pymysql/cursors.py:166: Warning: (3090, "Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.")[Thu Nov 15 05:03:10.875093 2018] [wsgi:error] [pid 9668] [remote XXX.XXX.XXX.AF:34126] result = self._query(query)
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
And this in my apache error_log:
[Fri Dec 07 08:32:14.626246 2018] [mpm_prefork:notice] [pid 30005] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips mod_wsgi/4.6.5 Python/3.6 configured -- resuming normal operations
[Fri Dec 07 08:32:33.572686 2018] [wsgi:error] [pid 30007] [remote 10.20.100.133:56416] mod_wsgi (pid=30007): Exception occurred processing WSGI script '/opt/web-apps/web2py/wsgihandler.py'.
[Fri Dec 07 08:32:33.572836 2018] [wsgi:error] [pid 30007] [remote 10.20.100.133:56416] TypeError: sequence of byte string values expected, value of type str found