当我访问我的网站 ( https://osm-messaging-platform.appspot.com ) 时,我在主网页上收到此错误:
502 Bad Gateway. nginx/1.14.0 (Ubuntu).
Run Code Online (Sandbox Code Playgroud)
这真的很奇怪,因为当我在本地运行时
python app.py
Run Code Online (Sandbox Code Playgroud)
我没有收到任何错误,我的应用程序和网站加载正常。
我已经尝试过查找它,但是我在堆栈溢出中找到的大多数答案要么没有错误,要么与我无关。这是我查看 GCloud 日志时的错误:
019-02-07 02:07:05 default[20190206t175104] Traceback (most recent
call last): File "/env/lib/python3.7/site-
packages/gunicorn/arbiter.py", line 583, in spawn_worker
worker.init_process() File "/env/lib/python3.7/site-
packages/gunicorn/workers/gthread.py", line 104, in init_process
super(ThreadWorker, self).init_process() File
"/env/lib/python3.7/site-packages/gunicorn/workers/base.py", line
129, in init_process self.load_wsgi() File
"/env/lib/python3.7/site-packages/gunicorn/workers/base.py", line
138, in load_wsgi self.wsgi = self.app.wsgi() File
"/env/lib/python3.7/site-packages/gunicorn/app/base.py", line 67, in
wsgi self.callable = self.load() File
"/env/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 52,
in load return self.load_wsgiapp() File
"/env/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 41,
in …
Run Code Online (Sandbox Code Playgroud) 我最近尝试运行我的 flutter 应用程序。但是,当我尝试这样做时,出现以下错误:
\nAn error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):\nApplication launch for 'com.[redacted]' did not return a valid pid \nnor a launch error.\nNo such process\nCommand: /usr/bin/arch -arm64e xcrun simctl launch AA375D1F-5CFC-4D1B-B367- \n4CB98488D7DA \ncom.[redacted] --enable-dart-profiling\n--enable-checked-mode --verify-entry-points --observatory-port=0\nError launching application on iPhone 13.\n
Run Code Online (Sandbox Code Playgroud)\n为了尝试解决这个问题,我运行了 flutter doctor,但出现了以下错误:
\n See https://github.com/flutter/flutter/issues/6207 for more information\n\n[\xe2\x9c\x97] Android toolchain - develop for Android devices\n \xe2\x9c\x97 Unable to locate Android SDK.\n Install Android Studio from: https://developer.android.com/studio/index.html\n On first launch it will assist you in …
Run Code Online (Sandbox Code Playgroud)