python - 如何在私有(private)发布服务器上发布?

标签 python google-app-engine dart dart-pub

我正在docker容器(here)中设置一个私有(private)发布服务器
我使用./start.sh启动服务器,由于这里的UI,我可以看到软件包:http://0.0.0.0:30000
现在我的服务器已经准备好了,我想在其中发布一个包:pub publish --server http://0.0.0.0:8080从命令行来看,一切似乎都正确my_core 0.0.1 uploaded successfully but when I check the logs on the server with。/ log.sh`
我看到有一些错误日志:
(与地址0.0.0.0:30000相关的内容)
有什么建议吗?
干杯
Traceback (most recent call last): File "/home/app/google_appengine/google/appengine/api/taskqueue/taskqueue_stub.py", line 1887, in ExecuteTask '0.1.0.2') File "/home/app/google_appengine/google/appengine/tools/devappserver2/dispatcher.py", line 620, in add_request headers_dict['Host'], urlparse.urlsplit(relative_url).path) File "/home/app/google_appengine/google/appengine/tools/devappserver2/dispatcher.py", line 690, in _resolve_target raise request_info.ModuleDoesNotExistError(hostname) ModuleDoesNotExistError: 0.0.0.0:30000 ERROR 2015-02-03 22:37:24,645 taskqueue_stub.py:1962] An error occured while sending the task "task2" (Url: "/_ah/queue/deferred") in queue "default". Treating as a task error. WARNING 2015-02-03 22:37:24,646 taskqueue_stub.py:1977] Task task2 failed to execute. This task will retry in 0.100 seconds INFO 2015-02-03 22:37:24,653 module.py:718] default: "GET /api/packages/versions/2c67df44-6af2-4a52-a632-6c4d35147146/create HTTP/1.1" 200 68 ERROR 2015-02-03 22:37:24,746 taskqueue_stub.py:1889] Failed to dispatch task Traceback (most recent call last): File "/home/app/google_appengine/google/appengine/api/taskqueue/taskqueue_stub.py", line 1887, in ExecuteTask '0.1.0.2') File "/home/app/google_appengine/google/appengine/tools/devappserver2/dispatcher.py", line 620, in add_request headers_dict['Host'], urlparse.urlsplit(relative_url).path) File "/home/app/google_appengine/google/appengine/tools/devappserver2/dispatcher.py", line 690, in _resolve_target raise request_info.ModuleDoesNotExistError(hostname) ModuleDoesNotExistError: 0.0.0.0:30000 ERROR 2015-02-03 22:37:24,746 taskqueue_stub.py:1962] An error occured while sending the task "task2" (Url: "/_ah/queue/deferred") in queue "default". Treating as a task error. WARNING 2015-02-03 22:37:24,747 taskqueue_stub.py:1977] Task task2 failed to execute. This task will retry in 0.200 seconds ERROR 2015-02-03 22:37:24,947 taskqueue_stub.py:1889] Failed to dispatch task Traceback (most recent call last): File "/home/app/google_appengine/google/appengine/api/taskqueue/taskqueue_stub.py", line 1887, in ExecuteTask '0.1.0.2') File "/home/app/google_appengine/google/appengine/tools/devappserver2/dispatcher.py", line 620, in add_request headers_dict['Host'], urlparse.urlsplit(relative_url).path) File "/home/app/google_appengine/google/appengine/tools/devappserver2/dispatcher.py", line 690, in _resolve_target raise request_info.ModuleDoesNotExistError(hostname) ModuleDoesNotExistError: 0.0.0.0:30000 ERROR 2015-02-03 22:37:24,948 taskqueue_stub.py:1962] An error occured while sending the task "task2" (Url: "/_ah/queue/deferred") in queue "default". Treating as a task error. WARNING 2015-02-03 22:37:24,948 taskqueue_stub.py:1977] Task task2 failed to execute. This task will retry in 0.400 seconds ERROR 2015-02-03 22:37:25,349 taskqueue_stub.py:1889] Failed to dispatch task Traceback (most recent call last): File "/home/app/google_appengine/google/appengine/api/taskqueue/taskqueue_stub.py", line 1887, in ExecuteTask '0.1.0.2') File "/home/app/google_appengine/google/appengine/tools/devappserver2/dispatcher.py", line 620, in add_request headers_dict['Host'], urlparse.urlsplit(relative_url).path) File "/home/app/google_appengine/google/appengine/tools/devappserver2/dispatcher.py", line 690, in _resolve_target raise request_info.ModuleDoesNotExistError(hostname) ModuleDoesNotExistError: 0.0.0.0:30000 ERROR 2015-02-03 22:37:25,349 taskqueue_stub.py:1962] An error occured while sending the task "task2" (Url: "/_ah/queue/deferred") in queue "default". Treating as a task error. WARNING 2015-02-03 22:37:25,349 taskqueue_stub.py:1977] Task task2 failed to execute. This task will retry in 0.800 seconds ERROR 2015-02-03 22:37:26,150 taskqueue_stub.py:1889] Failed to dispatch task Traceback (most recent call last): File "/home/app/google_ap

最佳答案

这是一个众所周知的bug
我通过将端口固定为相同的值check this out here解决了该问题

关于python - 如何在私有(private)发布服务器上发布?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28310311/

相关文章:

python - Oauth1.0 : How to generate HMAC-SHA1 Oauth_signature without using Access token and token secret in python?

python - 使用 google appengine parent 属性将默认权限应用于对象是个好主意吗?

flutter - Flutter 中的可滚动导航栏

flutter - 在Windows 10上安装后Flutter不起作用

flutter - 保存的图像不会在图库中显示

python - 从 Pandas 的分组数据中获取最大的 n 个项目

python - R包Bio3D教程复现

python - 在 Canvas 上创建可滚动的表格

python - 从导航台数据存储聚合数据的最佳方式?

python - PiCloud 可以保存 FORTRAN 代码吗? (GAE主办的网站)