Hi
I just noticed that one of my apps has stopped working. I am not quite sure where to start troubleshoot and what i am looking at so please bear with me.
I get the error below when i call a server function. It seems that the “server image” is stuck at building.
The selected python version is 3.10 (beta), base package=minimal, custom package=pywebpush (latest).
I have tried uninstall and install the custom package.
Any help is appreciated!
App session log:
BOl7wg1CftWBTvwLSx-3g5TTfCLtmog68CJIriJnHNJJ8mAhIM13BddHAFeMHkIrdxnMlp4yyVJ56OUlj1TNP-8
Building server runtime...
anvil.server.RuntimeUnavailableError: Internal server error: Server runtime failed to start.
at Form1, line 94
Waiting for server runtime build to complete... done.
anvil.server.RuntimeUnavailableError: Internal server error: Server runtime failed to start.
at Form1, line 94
Settings=>python versions=>build log
Assembling config...Done
Loading base image...Done
Installing custom packages...
Collecting pywebpush (from -r /home/anvil/custom-requirements.txt (line 1))
Downloading pywebpush-1.14.0.tar.gz (25 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting cryptography>=2.6.1 (from pywebpush->-r /home/anvil/custom-requirements.txt (line 1))
Downloading cryptography-41.0.7-cp37-abi3-manylinux_2_28_x86_64.whl (4.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 19.2 MB/s eta 0:00:00
Collecting http-ece>=1.1.0 (from pywebpush->-r /home/anvil/custom-requirements.txt (line 1))
Downloading http_ece-1.2.0.tar.gz (8.8 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: requests>=2.21.0 in ./.env/lib/python3.10/site-packages (from pywebpush->-r /home/anvil/custom-requirements.txt (line 1)) (2.31.0)
Collecting six>=1.15.0 (from pywebpush->-r /home/anvil/custom-requirements.txt (line 1))
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting py-vapid>=1.7.0 (from pywebpush->-r /home/anvil/custom-requirements.txt (line 1))
Downloading py-vapid-1.9.0.tar.gz (19 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting cffi>=1.12 (from cryptography>=2.6.1->pywebpush->-r /home/anvil/custom-requirements.txt (line 1))
Downloading cffi-1.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (443 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 443.9/443.9 kB 32.3 MB/s eta 0:00:00
Requirement already satisfied: charset-normalizer<4,>=2 in ./.env/lib/python3.10/site-packages (from requests>=2.21.0->pywebpush->-r /home/anvil/custom-requirements.txt (line 1)) (3.1.0)
Requirement already satisfied: idna<4,>=2.5 in ./.env/lib/python3.10/site-packages (from requests>=2.21.0->pywebpush->-r /home/anvil/custom-requirements.txt (line 1)) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in ./.env/lib/python3.10/site-packages (from requests>=2.21.0->pywebpush->-r /home/anvil/custom-requirements.txt (line 1)) (2.0.3)
Requirement already satisfied: certifi>=2017.4.17 in ./.env/lib/python3.10/site-packages (from requests>=2.21.0->pywebpush->-r /home/anvil/custom-requirements.txt (line 1)) (2023.5.7)
Collecting pycparser (from cffi>=1.12->cryptography>=2.6.1->pywebpush->-r /home/anvil/custom-requirements.txt (line 1))
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 10.3 MB/s eta 0:00:00
Building wheels for collected packages: pywebpush, http-ece, py-vapid
Building wheel for pywebpush (setup.py): started
Building wheel for pywebpush (setup.py): finished with status 'done'
Created wheel for pywebpush: filename=pywebpush-1.14.0-py3-none-any.whl size=20552 sha256=69cad875f350fbf32d3dd2315fcd1d60a3312599d88b46ca8f2ba60c996c9a4d
Stored in directory: /tmp/pip-ephem-wheel-cache-egppcykp/wheels/f8/db/c7/6ca89f0af238af5ff24d32c5a14258237be0bcef50553c1e48
Building wheel for http-ece (setup.py): started
Building wheel for http-ece (setup.py): finished with status 'done'
Created wheel for http-ece: filename=http_ece-1.2.0-py2.py3-none-any.whl size=4778 sha256=bf3621e668c39e826e606a54c1ab6214b29b17cde5635ca62e88331d7efab34d
Stored in directory: /tmp/pip-ephem-wheel-cache-egppcykp/wheels/ab/35/31/04083cfdacfb553458f4aa7c067b5fcee6d3f250c417e135e0
Building wheel for py-vapid (setup.py): started
Building wheel for py-vapid (setup.py): finished with status 'done'
Created wheel for py-vapid: filename=py_vapid-1.9.0-py3-none-any.whl size=19208 sha256=82bb81be16a54d401d27698a4bc23c6854b3b3a07943293edd0c8770079c738e
Stored in directory: /tmp/pip-ephem-wheel-cache-egppcykp/wheels/ec/4c/f5/7cdef8c34e7ec6cd39a076860942997edb2ad6fd4e1e1de01e
Successfully built pywebpush http-ece py-vapid
Installing collected packages: six, pycparser, cffi, cryptography, py-vapid, http-ece, pywebpush
Attempting uninstall: six
Found existing installation: six 1.14.0
Uninstalling six-1.14.0:
Successfully uninstalled six-1.14.0
Successfully installed cffi-1.16.0 cryptography-41.0.7 http-ece-1.2.0 py-vapid-1.9.0 pycparser-2.21 pywebpush-1.14.0 six-1.16.0
Saving image...