Skip to content
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

Not able to download urls generated for images due to "403 Server failed to authenticate the request" errors. #2

Open
sangee2004 opened this issue Mar 6, 2024 · 0 comments

Comments

@sangee2004
Copy link
Contributor

Steps to reproduce the problem:

  1. Run run this example gptscript that uses image generation tool - https://github.com/gptscript-ai/gptscript/tree/main/examples/story-book

  2. Sometimes I notice that image downloads for 1 of the images (out of 3) fails with "403 Server failed to authenticate the request" errors"

17:22:03 download [https://oaidalleapiprodscus.blob.core.windows.net/private/org-UZ21HIS1j93qUiZVWBOGePHu/user-nfhF7kaasrYgX69n1He52KF9/img-lHqMgIMYhsYiPgJjSOJnnS1q.png?rscd=inline&rsct=image%2Fpng&se=2024-03-06T02%3A20%3A23Z&sig=nKLlZMCcp03YKfDZEuSuPKQaAmZ3zgGMKgZnf8j0WuU%3D&ske=2024-03-06T17%3A04%3A19Z&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sks=b&skt=2024-03-05T17%3A04%3A19Z&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skv=2021-08-06&sp=r&sr=b&st=2024-03-06T00%3A20%3A23Z&sv=2021-08-06] to [pages/1.png]
17:22:03 download [https://oaidalleapiprodscus.blob.core.windows.net/private/org-UZ21HIS1j93qUiZVWBOGePHu/user-nfhF7kaasrYgX69n1He52KF9/img-dZxNe8rgXr3BscqDzkMxyTpp.png?rscd=inline&rsct=image%2Fpng&se=2024-03-06T02%3A20%3A28Z&sig=KZozHeP7VFubH11mwDM7kktJRjNZV%2F80sBkWPN6%2FB2s%3D&ske=2024-03-06T23%3A18%3A51Z&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sks=b&skt=2024-03-05T23%3A18%3A51Z&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skv=2021-08-06&sp=r&sr=b&st=2024-03-06T00%3A20%3A28Z&sv=2021-08-06] to [pages/2.png]
17:22:03 download [https://oaidalleapiprodscus.blob.core.windows.net/private/org-UZ21HIS1j93qUiZVWBOGePHu/user-nfhF7kaasrYgX69n1He52KF9/img-CHmjH1eB3tgdSiyinnoX5PMA.png?rscd=inline&rsct=image%2Fpng&se=2024-03-06T02%3A20%3A21Z&sig=QwAz6Ac2Bs9jMGvhekdxfq%2BA6bupMu65P2XwS4NtR5w%3D&ske=2024-03-06T15%3A39%3A08Z&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sks=b&skt=2024-03-05T15%3A39%3A08Z&skv=2021-08-06&sp=r&sr=b&st=2024-03-06T00%3A20%3A21Z&sv=2021-08-06] to [pages/3.png]
17:22:04 ended    [sys.download(12)]
17:22:07 ended    [sys.download(11)]
2024/03/05 17:22:07 invalid status code [403] downloading [https://oaidalleapiprodscus.blob.core.windows.net/private/org-UZ21HIS1j93qUiZVWBOGePHu/user-nfhF7kaasrYgX69n1He52KF9/img-CHmjH1eB3tgdSiyinnoX5PMA.png?rscd=inline&rsct=image%2Fpng&se=2024-03-06T02%3A20%3A21Z&sig=QwAz6Ac2Bs9jMGvhekdxfq%2BA6bupMu65P2XwS4NtR5w%3D&ske=2024-03-06T15%3A39%3A08Z&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sks=b&skt=2024-03-05T15%3A39%3A08Z&skv=2021-08-06&sp=r&sr=b&st=2024-03-06T00%3A20%3A21Z&sv=2021-08-06]: 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant