-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue retrieving session url #67
Comments
I’m busy this weekend but if you can get me a credential to a testing repo I can look into this for you. Generally I would suggest subclassing the provider.Registry directly and very specifically providing the layers/media types but that’s just my preference. There are examples for how to do this in the documentation. |
indeed I tried with custom layer as well with the example getting same. You can create a demo Harbor account. Or I can invite to the project. Please let me know |
If you invite me would I still need to make the account? 🤔 |
alishah730/Asdf@1234 please use for testing |
I tried making an account, the password that I put doesn't work, and it doesn't let me reset or make another one with the same email - I don't think I can help. |
i can login using the creds
output :
|
The upload URL returns 404, I'm not sure what to say about that.
|
Yes you told me that, I'm not sure how it helps me further debug this. I think it's strange you can't use https
If the oras cli works then why not just use it? |
If you want to help, perhaps you can use the working client in some debug mode to provide the url endpoints that are hit and we can compare side by side. |
i need to write a script to customize and push 100+ artifacts. |
|
Do you know if harbor accepts the single put request? It could be that it does not, hence the 404 response. |
not sure, if there is any blob upload API |
@alishah730 could you please try a pull? |
@alishah730 I'm testing chunked upload (which is currently disabled) and it's telling me the project does not exist:
Could you please make it / verity it exists? Some registries I think require the target project to exist before you can push to it. |
you can use demo/Asdf@1234 , I have created oras |
@alishah730 is this the same one as before? |
@alishah730 please provide a name that doesn't have a |
this is password. user : demo sample docker push
|
oh gotcha I interpreted what you said wrong. I'll try that! |
okay I keep getting a 404. I don't know why - maybe another one of the oras developers can help. It's usually just me on here so you might have better luck pinging the slack and pointing at this issue. |
using sample code from here https://github.com/oras-project/oras-py/blob/main/examples/simple/push.py with harbor https://demo.goharbor.io/harbor/projects
getting below error
Issue retrieving session url: {'errors': [{'code': 'BLOB_UPLOAD_UNKNOWN', 'message': 'blob upload unknown to registry'}]} raise ValueError(f"Issue retrieving session url: {r.json()}")
able to push same file via oras cli
is that harbor registry is not supported by oras?
any working example with harbor pushing tar file?
The text was updated successfully, but these errors were encountered: