Cannot build firmware, remote-api.git not accessible
Dear all,
I need to modify the printer hardware and software in order to be able to print non-standard resins. For starters I wanted to build the regular, unmodified version. I registered to Github and Gitlab and followed the recommended steps. The build starts, and after approx. 20% is done, it terminates with an error. The offending command is:
LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror "ssh://[email protected]/prusa3d/sl1/remote-api.git" /home/venny/Prusa-Firmware-SL1/build/downloads/git2/gitlab.com.prusa3d.sl1.remote-api.git --progress
it returns with error code 128 and a message:
Cloning into bare repository '/home/venny/Prusa-Firmware-SL1/build/downloads/git2/gitlab.com.prusa3d.sl1.remote-api.git'...
remote:
remote: ========================================================================
remote:
remote: You are not allowed to download code from this project.
remote:
remote: ========================================================================
remote:
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I thought the software was open source. Is this an error on my side, a misconfiguration in the repository, or are some sources proprietary to the company?
Thanks for any suggestions
RE: Cannot build firmware, remote-api.git not accessible
I'm also interested in customizing firmware (and hardware) for the SL1 - was this resolved?
Maybe it was a permissions issue that has been fixed - or does the build still fail?
RE: Cannot build firmware, remote-api.git not accessible
LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror "ssh://[email protected]/prusa3d/sl1/remote-api.git" /home/venny/Prusa-Firmware-SL1/build/downloads/git2/gitlab.com.prusa3d.sl1.remote-api.git --progress
Have you set up your SSH key with your GitLab account? Without seeing a specific error that would be my first guess as to the issue as I can browse that repo anonymously. Try these commands and see if one works:
git clone https://gitlab.com/prusa3d/sl1/remote-api.git /tmp/sl1-remote-api-https
git clone [email protected]:prusa3d/sl1/remote-api.git /tmp/sl1-remote-api-ssh
If the first works, but the second doesn't, then you need to set up your SSH key in your GitLab account. If neither work, post up the the error you are getting.
For example here is what I see for those commands (because I am trying without my GitLab SSH key available:
$ git clone https://gitlab.com/prusa3d/sl1/remote-api.git /tmp/sl1-remote-api-https
Cloning into '/tmp/sl1-remote-api-https'...
remote: Enumerating objects: 1670, done.
remote: Counting objects: 100% (52/52), done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 1670 (delta 28), reused 26 (delta 13), pack-reused 1618
Receiving objects: 100% (1670/1670), 1.34 MiB | 5.50 MiB/s, done.
Resolving deltas: 100% (1125/1125), done.
$ git clone [email protected]:prusa3d/sl1/remote-api.git /tmp/sl1-remote-api-ssh
Cloning into '/tmp/sl1-remote-api-ssh'...
Warning: Permanently added 'gitlab.com,172.65.251.78' (ECDSA) to the list of known hosts.
[email protected]: Permission denied (publickey,keyboard-interactive).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.