Closed PeterNashaat closed 5 years ago
Also
Sun 16 10:55:44 GitFactory.py - 346 - j.clients.git:gitfactory : git pull ssh://git@github.com/threefoldfoundation/info_tokens.git -> /sandbox/code/github/threefoldfoundation/info_tokens
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
could not push/pull ssh://git@github.com/threefoldfoundation/info_tokens.git
Do not know where is the problem and if it's github, doing ssh -T git@ssh.github.com
didn't timeout.
Pulling from github should be handled so that the process continues, also it should be run in a different gevent greenlet.
Even when pulling a repository directly:
➜ digitalmeX git:(development) git pull
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
It happens randomly, re-doing git pull
worked later!
Fixed after removing exit(1) (maybe trying to pull in case of time-out is now working).
Just need to make sure gevent monkey patching to subprocess is done with jumpscaleX, but still cannot decide that on my own now (so doing git pull
won't block gedis).
issue in the auto-deployment