-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
I have a Scrapy project that I deploy using a custom Docker image. Everything works fine for me but I have a colleague who joined the project and when he runs shub deploy he gets the following error:
Error failed to authorize: failed to fetch oauth token: unexpected status from GET request to https://registry-auth.scrapinghub.com/auth?scope=repository%3Aproject%2F503971%3Apull&scope=repository%3Aproject%2F503971%3Apull%2Cpush&service=SH+Docker+Registry: 403 Forbidden: {'message': 'failed to authorize: failed to fetch oauth token: unexpected status from GET request to https://registry-auth.scrapinghub.com/auth?scope=repository%3Aproject%2F503971%3Apull&scope=repository%3Aproject%2F503971%3Apull%2Cpush&service=SH+Docker+Registry: 403 Forbidden'}
He managed to build the image but when he runs shub image push he gets the same error. He tried to use my API key but still got the same error. We tried some API requests with his API key and they worked. Here's an example:
curl -u <API_KEY>: "https://app.scrapinghub.com/api/jobs/list.json?project=123456&spider=my_spider&state=finished&count=1"
We are both on macOS 15.3.2, docker 28.0.1, and shub 2.15.4.
Metadata
Metadata
Assignees
Labels
No labels