Hi,
I am getting below error:
:( Application Error
If you are the application administrator, you can access the diagnostic resources.
could you please help me how can i troubleshoot it. i tried multiple time with visual code, bash and manually but no luck.
code is running file on local , visual studio as well
logs:
2020-09-23T13:57:42.674490298Z Removing existing virtual environment directory /antenv...
2020-09-23T13:57:42.680446581Z Extracting to directory /antenv...
2020-09-23T13:57:43.085242214Z Using packages from virtual environment antenv located at /antenv.
2020-09-23T13:57:43.086139257Z Updated PYTHONPATH to ':/antenv/lib/python3.7/site-packages'
2020-09-23T13:57:43.330655774Z [2020-09-23 13:57:43 +0000] [40] [INFO] Starting gunicorn 20.0.4
2020-09-23T13:57:43.331825930Z [2020-09-23 13:57:43 +0000] [40] [INFO] Listening at: http://0.0.0.0:8000 (40)
2020-09-23T13:57:43.332381556Z [2020-09-23 13:57:43 +0000] [40] [INFO] Using worker: sync
2020-09-23T13:57:43.336591056Z [2020-09-23 13:57:43 +0000] [43] [INFO] Booting worker with pid: 43
2020-09-23T13:57:43.348876840Z [2020-09-23 13:57:43 +0000] [43] [ERROR] Exception in worker process
2020-09-23T13:57:43.348892541Z Traceback (most recent call last):
2020-09-23T13:57:43.348897641Z File "/opt/python/3.7.7/lib/python3.7/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2020-09-23T13:57:43.348960144Z worker.init_process()
2020-09-23T13:57:43.348967344Z File "/opt/python/3.7.7/lib/python3.7/site-packages/gunicorn/workers/base.py", line 119, in init_process
2020-09-23T13:57:43.348971245Z self.load_wsgi()
2020-09-23T13:57:43.348974945Z File "/opt/python/3.7.7/lib/python3.7/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
2020-09-23T13:57:43.348978645Z self.wsgi = self.app.wsgi()
2020-09-23T13:57:43.348982145Z File "/opt/python/3.7.7/lib/python3.7/site-packages/gunicorn/app/base.py", line 67, in wsgi
2020-09-23T13:57:43.348985945Z self.callable = self.load()
2020-09-23T13:57:43.348989545Z File "/opt/python/3.7.7/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
2020-09-23T13:57:43.348993246Z return self.load_wsgiapp()
2020-09-23T13:57:43.348996746Z File "/opt/python/3.7.7/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
2020-09-23T13:57:43.349000546Z return util.import_app(self.app_uri)
2020-09-23T13:57:43.349004146Z File "/opt/python/3.7.7/lib/python3.7/site-packages/gunicorn/util.py", line 358, in import_app
2020-09-23T13:57:43.349007946Z mod = importlib.import_module(module)
2020-09-23T13:57:43.349011446Z File "/opt/python/3.7.7/lib/python3.7/importlib/init.py", line 127, in import_module
2020-09-23T13:57:43.349015247Z return _bootstrap._gcd_import(name[level:], package, level)
2020-09-23T13:57:43.349025547Z File "", line 1006, in _gcd_import
2020-09-23T13:57:43.349030047Z File "", line 983, in _find_and_load
2020-09-23T13:57:43.349033747Z File "", line 967, in _find_and_load_unlocked
2020-09-23T13:57:43.349037548Z File "", line 677, in _load_unlocked
2020-09-23T13:57:43.349041348Z File "", line 728, in exec_module
2020-09-23T13:57:43.349045048Z File "", line 219, in _call_with_frames_removed
2020-09-23T13:57:43.349048848Z File "/home/site/wwwroot/application.py", line 1, in
2020-09-23T13:57:43.349052648Z import requests
2020-09-23T13:57:43.349056249Z ModuleNotFoundError: No module named 'requests'
2020-09-23T13:57:43.352994036Z [2020-09-23 13:57:43 +0000] [43] [INFO] Worker exiting (pid: 43)
2020-09-23T13:57:43.380123325Z [2020-09-23 13:57:43 +0000] [40] [INFO] Shutting down: Master
2020-09-23T13:57:43.381523991Z [2020-09-23 13:57:43 +0000] [40] [INFO] Reason: Worker failed to boot.
2020-09-23T14:01:37.475560786Z
2020-09-23T14:01:37.475618288Z _____
2020-09-23T14:01:37.475623689Z / _ \ __________ _________ ____
2020-09-23T14:01:37.475627589Z / /_\ ___ / | _ __ _/ __ \
2020-09-23T14:01:37.475631489Z / | / /| | /| | /\ /
2020-09-23T14:01:37.475635289Z _|__ /_____ ____/ || _ >
2020-09-23T14:01:37.475639189Z / / /
2020-09-23T14:01:37.475642890Z
2020-09-23T14:01:37.475646390Z A P P S E R V I C E O N L I N U X
2020-09-23T14:01:37.475657190Z
2020-09-23T14:01:37.475661190Z Documentation: http://aka.ms/webapp-linux
2020-09-23T14:01:37.475664691Z Python 3.7.7
2020-09-23T14:01:37.475668091Z Note: Any data outside '/home' is not persisted
2020-09-23T14:01:37.541828434Z Starting OpenBSD Secure Shell server: sshd.
2020-09-23T14:01:37.565086539Z App Command Line not configured, will attempt auto-detect
2020-09-23T14:01:37.565765971Z Launching oryx with: create-script -appPath /home/site/wwwroot -output /opt/startup/startup.sh -virtualEnvName antenv -defaultApp /opt/defaultsite -bindPort 8000
2020-09-23T14:01:37.577730439Z Found build manifest file at '/home/site/wwwroot/oryx-manifest.toml'. Deserializing it...
2020-09-23T14:01:37.579909643Z Build Operation ID: |rJj8bPJ69rU=.7e9f4c8b_
2020-09-23T14:01:37.580673679Z Oryx Version: 0.2.20200706.2, Commit: 42be45d884938c3c818ba08e9e4760b1136fd9b3, ReleaseTagName: 20200706.2
2020-09-23T14:01:37.881318661Z Detected an app based on Flask
2020-09-23T14:01:38.136422684Z Generating gunicorn
command for 'application:app'
2020-09-23T14:01:38.479160387Z Writing output script to '/opt/startup/startup.sh'
2020-09-23T14:01:39.135702318Z Found virtual environment .tar.gz archive.
2020-09-23T14:01:39.135727719Z Removing existing virtual environment directory /antenv...
2020-09-23T14:01:39.144192221Z Extracting to directory /antenv...
2020-09-23T14:01:39.534367381Z Using packages from virtual environment antenv located at /antenv.
2020-09-23T14:01:39.535210621Z Updated PYTHONPATH to ':/antenv/lib/python3.7/site-packages'
2020-09-23T14:01:39.815507454Z [2020-09-23 14:01:39 +0000] [40] [INFO] Starting gunicorn 20.0.4
2020-09-23T14:01:39.816807316Z [2020-09-23 14:01:39 +0000] [40] [INFO] Listening at: http://0.0.0.0:8000 (40)
2020-09-23T14:01:39.817417345Z [2020-09-23 14:01:39 +0000] [40] [INFO] Using worker: sync
2020-09-23T14:01:39.820839308Z [2020-09-23 14:01:39 +0000] [43] [INFO] Booting worker with pid: 43
2020-09-23T14:01:39.831447913Z [2020-09-23 14:01:39 +0000] [43] [ERROR] Exception in worker process
2020-09-23T14:01:39.831464613Z Traceback (most recent call last):
2020-09-23T14:01:39.831469914Z File "/opt/python/3.7.7/lib/python3.7/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2020-09-23T14:01:39.831534117Z worker.init_process()
2020-09-23T14:01:39.831541017Z File "/opt/python/3.7.7/lib/python3.7/site-packages/gunicorn/workers/base.py", line 119, in init_process
2020-09-23T14:01:39.831544817Z self.load_wsgi()
2020-09-23T14:01:39.831548417Z File "/opt/python/3.7.7/lib/python3.7/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
2020-09-23T14:01:39.831552417Z self.wsgi = self.app.wsgi()
2020-09-23T14:01:39.831556018Z File "/opt/python/3.7.7/lib/python3.7/site-packages/gunicorn/app/base.py", line 67, in wsgi
2020-09-23T14:01:39.831559818Z self.callable = self.load()
2020-09-23T14:01:39.831563318Z File "/opt/python/3.7.7/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
2020-09-23T14:01:39.831567018Z return self.load_wsgiapp()
2020-09-23T14:01:39.831570518Z File "/opt/python/3.7.7/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
2020-09-23T14:01:39.831574319Z return util.import_app(self.app_uri)
2020-09-23T14:01:39.831577919Z File "/opt/python/3.7.7/lib/python3.7/site-packages/gunicorn/util.py", line 358, in import_app
2020-09-23T14:01:39.831581619Z mod = importlib.import_module(module)
2020-09-23T14:01:39.831585319Z File "/opt/python/3.7.7/lib/python3.7/importlib/init.py", line 127, in import_module
2020-09-23T14:01:39.831589219Z return _bootstrap._gcd_import(name[level:], package, level)
2020-09-23T14:01:39.831599420Z File "", line 1006, in _gcd_import
2020-09-23T14:01:39.831604020Z File "", line 983, in _find_and_load
2020-09-23T14:01:39.831607820Z File "", line 967, in _find_and_load_unlocked
2020-09-23T14:01:39.831611620Z File "", line 677, in _load_unlocked
2020-09-23T14:01:39.831615320Z File "", line 728, in exec_module
2020-09-23T14:01:39.831619121Z File "", line 219, in _call_with_frames_removed
2020-09-23T14:01:39.831622821Z File "/home/site/wwwroot/application.py", line 1, in
2020-09-23T14:01:39.831626721Z import requests
2020-09-23T14:01:39.831630321Z ModuleNotFoundError: No module named 'requests'
2020-09-23T14:01:39.835593110Z [2020-09-23 14:01:39 +0000] [43] [INFO] Worker exiting (pid: 43)
2020-09-23T14:01:39.869854839Z [2020-09-23 14:01:39 +0000] [40] [INFO] Shutting down: Master
2020-09-23T14:01:39.870671678Z [2020-09-23 14:01:39 +0000] [40] [INFO] Reason: Worker failed to boot.
Docker on instance: RD0003FF5635B9 experienced container start failures.
[1] 2020-09-23T13:57:10
Container qbdeployment_3_33d5698a didn't respond to HTTP pings on port: 8000, failing site start
[2] 2020-09-23T13:57:10
Container qbdeployment_3_33d5698a for site qbdeployment has exited, failing site start
[3] 2020-09-23T13:57:21
Container qbdeployment_0_370de8bc didn't respond to HTTP pings on port: 8000, failing site start
[4] 2020-09-23T13:57:21
Container qbdeployment_0_370de8bc for site qbdeployment has exited, failing site start
[5] 2020-09-23T13:57:28
Container qbdeployment_0_838a4d92 didn't respond to HTTP pings on port: 8000, failing site start
[6] 2020-09-23T13:57:28
Container qbdeployment_0_838a4d92 for site qbdeployment has exited, failing site start
[7] 2020-09-23T13:57:33
Container qbdeployment_0_06edfb61 didn't respond to HTTP pings on port: 8000, failing site start
[8] 2020-09-23T13:57:33
Container qbdeployment_0_06edfb61 for site qbdeployment has exited, failing site start
[9] 2020-09-23T13:57:43
Container qbdeployment_0_50a7c0fa didn't respond to HTTP pings on port: 8000, failing site start
[10] 2020-09-23T13:57:43
Container qbdeployment_0_50a7c0fa for site qbdeployment has exited, failing site start
[11] 2020-09-23T14:01:40
Container qbdeployment_0_13417108 didn't respond to HTTP pings on port: 8000, failing site start
[12] 2020-09-23T14:01:40
Container qbdeployment_0_13417108 for site qbdeployment has exited, failing site start