Hello Rasa community,
I have installed RasaX using the docker-compose
quick install option. However, when trying to setup the connection to my bot Github repository, I’m getting an error after clicking the Verify Connection
button. By looking at the logs, I found the following Timeout error:
rasa-x_1 | /usr/local/lib/python3.6/site-packages/rasax/community/services/integrated_version_control/git_service.py:824: UserWarning: An error happened when trying to access 'git@github.com:santteegt/glpi_chatbot.git'. It seems you don't have to correct permissions for this repository. Please check if your credentials are correct and you have write permissions in the given repository. The error was: Cmd('git') failed due to: exit code(128)
rasa-x_1 | cmdline: git clone --depth=1 -v git@github.com:santteegt/glpi_chatbot.git /tmp/tmp7gkor08g
rasa-x_1 | stderr: 'Cloning into '/tmp/tmp7gkor08g'...
rasa-x_1 | ssh: connect to host github.com port 22: Connection timed out
rasa-x_1 | fatal: Could not read from remote repository.
rasa-x_1 |
rasa-x_1 | Please make sure you have the correct access rights
rasa-x_1 | and the repository exists.
rasa-x_1 | '.
rasa-x_1 | f"An error happened when trying to access '{repository_url}'. It seems "
This is a known issue when trying to clone Github repos using SSH. Here’s a recipe on how to avoid this problem. You just need to setup a Host Alias
on the ssh config file to enforce the git command to connect to the 443 port. However, after configuring this on the rasa/rasa-x
container (/root/.ssh/config), I’m still having the same issue. It looks like the process within the container is run by the rasa
user so it can’t reach/use the config file I setup in the /root
directory.
Any thoughts on how can I solve this issue?
Thanks for your help