https://prefect.io logo
Title
s

Steven Trimboli

01/16/2023, 11:09 PM
Hi all I am trying to use a Github Storage block, but am having trouble running it. I have given all access to a classic PAT (which is probably too much), and have tried both an HTTPS and an SSH link still to no avail. In both instances I got "Flow could not be retrieved from deployment." With my https link, the error I receive is:
fatal: could not read Username for '<https://github.com>': No such device or address
With my ssh link, the error I receive is:
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
To be clear, this repo is in a part of an organization which I am a member of and not an admin/owner, but I do have read/write access to the repo itself. Does anyone have a solution, workaround or have has similar issues?
s

Sunjay

01/17/2023, 9:09 AM
@Steven Trimboli Hi Steven, Do you have SSO for logging into you org repo? Then probably you have to configure SSO to authorize the PAT. This was something I faced. Not sure if it solves your problem but worth a try.
s

Steven Trimboli

01/17/2023, 3:52 PM
No, no SSO on my end yet, but good to know when that potentially get's brought on it could be an issue.
Just to add an answer - I was hosting on a google VM. Turned out I needed to add an ssh key without a password to the VM in order to allow the access. Still am unsure what the https protocol should have been, but this worked with ssh. Will need to figure this out for using a different infrastructure block, but this will work for now.
🙌 1
s

Sunjay

01/24/2023, 8:50 AM
@Steven Trimboli Good to know, glad it worked and thanks for the update 🙂