Rowan Gaffney
10/17/2021, 7:26 PMgitlab.exceptions.GitlabGetError: 404: 404 Not Found.
This is a self-hosted gitlab, but a public repo. Does this error suggest authentication issues or am I missing something else? Thanks!
agent is launched with: prefect agent docker start --api <http://localhost:4200> --show-flow-logs --label docker_local
storage configs: GitLab(host = selfhost_gitlab_url, repo='rgaffney/simple_orchestration', path='HelloWorld_flow.py',ref='prefect_v1')
run_configs: DockerRun(image="prefecthq/prefect:core-0.15.5", env={"EXTRA_PIP_PACKAGES": 'asyncio aiohttp aiofiles prefect[gitlab]'}, labels=['docker_local'])
Anna Geller
curl <<https://gitlab-ci-token>:zzzzzzzzzzzzzzzzzz@gitlab.example.com/api/v4/projects/215/repository/tags>
or
curl --header "PRIVATE-TOKEN: zzzzzzzzzzzz" https://...
3. Another thing worth checking: how do you start your Server? From 0.15.5 on (the version you are using!) it requires the --expose
flag to expose it to all interfaces. Docs here.Kevin Kho
python-gitlab 2.7
and above gives these errorsRowan Gaffney
10/18/2021, 2:32 PM