Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coco v1.4.3 启动卡死,也不报错 #108

Closed
BigbigY opened this issue Oct 15, 2018 · 1 comment
Closed

coco v1.4.3 启动卡死,也不报错 #108

BigbigY opened this issue Oct 15, 2018 · 1 comment

Comments

@BigbigY
Copy link

BigbigY commented Oct 15, 2018

conf.py为默认

# ./cocod restart -d



^C^CTraceback (most recent call last):
  File "./cocod", line 16, in <module>
    from coco import Coco
  File "/opt/coco/coco/__init__.py", line 5, in <module>
    from .app import Coco
  File "/opt/coco/coco/app.py", line 13, in <module>
    from .sshd import SSHServer
  File "/opt/coco/coco/sshd.py", line 12, in <module>
    from coco.interface import SSHInterface
  File "/opt/coco/coco/interface.py", line 11, in <module>
    from .ctx import app_service
  File "/opt/coco/coco/ctx.py", line 22, in <module>
    app_service.initial()
  File "/opt/py3/lib/python3.6/site-packages/jms/service.py", line 56, in initial
    self.load_access_key()
  File "/opt/py3/lib/python3.6/site-packages/jms/service.py", line 67, in load_access_key
    self.register_and_save()
  File "/opt/py3/lib/python3.6/site-packages/jms/service.py", line 112, in register_and_save
    self.wait_for_accept(uuid, token)
  File "/opt/py3/lib/python3.6/site-packages/jms/service.py", line 102, in wait_for_accept
    time.sleep(3)
  File "/opt/py3/lib/python3.6/site-packages/eventlet/greenthread.py", line 36, in sleep
    hub.switch()
  File "/opt/py3/lib/python3.6/site-packages/eventlet/hubs/hub.py", line 297, in switch
    return self.greenlet.switch()
  File "/opt/py3/lib/python3.6/site-packages/eventlet/hubs/hub.py", line 349, in run
    self.wait(sleep_time)
  File "/opt/py3/lib/python3.6/site-packages/eventlet/hubs/poll.py", line 76, in wait
    time.sleep(seconds)
KeyboardInterrupt
@BigbigY BigbigY closed this as completed Oct 16, 2018
@BigbigY
Copy link
Author

BigbigY commented Oct 16, 2018

需要在jumpserver页面接受下就可以了

ibuler pushed a commit that referenced this issue Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant