Rasa X (local) connection to git gets 404 error

I was following the instructions for connecting rasa x (local) to my github repo. When I run the curl command I get this:

curl command:

curl --request POST \
–url http://ovzve25-68.appstate.edu:5002/api/projects/default/git_repositories?api_tokenxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2 \
–header ‘Content-Type: application/json’
–data-binary @repository.json


  • About to connect() to ovzve25-68.appstate.edu port 5002 (#0) *> Trying…
  • Connected to ovzve25-68.appstate.edu ( port 5002 (#0) POST /api/projects/default/git_repositories?api_token=***************************** HTTP/1.1
    User-Agent: curl/7.29.0
    Host: ovzve25-68.appstate.edu:5002
    Accept: /
    Content-Type: application/json
    Content-Length: 3611
    Expect: 100-continue
    < HTTP/1.1 100 Continue
    < HTTP/1.1 404 Not Found
    < Content-Length: 10
    < Content-Type: text/plain; charset=utf-8
    < Connection: keep-alive
    < Keep-Alive: 5
    HTTP error before end of send, stop sending
    Closing connection 0
    Not found.

I’m not sure what’s not found. This works as expected:

curl --request GET --url http://ovzve25-68.appstate.edu:5002/api/projects/default/models?api_token=******************************* --verbose

I start rasa x with:

rasa x --debug

But I do not see any error messages in the log

my respository.json looks like this:

“repository_url”: “git@github.com:randywreed/rasa_kritik_check.git”,
“target_branch”: “main”,
“ssh_key”: "-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY----- ",
“is_target_branch_protected”: false

What am I doing wrong?

I would suggest reformatting your post so that it’s easier to read.

That should be better.

1 Like