-
Notifications
You must be signed in to change notification settings - Fork 3
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
Sankaku API is experiencing a 500 error on the huggingface space #8
Comments
I am apologize for not answering for so long. Regarding this issue, currently I can't solve this problem. Such unwanted behaviour also happens at github workflows (issue #6), so I think that these issues are similar. Assuming this, I tried to add extra headers for HTTP requests, but nothing changed. |
Yes, I also find this problem: https://github.com/narugo1992/gchar/actions/runs/5445861889/jobs/9905734965#step:9:50 When I tried to access the Sankaku API using requests (without using the sankaku library), it worked fine on my local machine and one of my servers, but it failed to work on GitHub Actions. I suspect that some of the cloud resources may have been blacklisted by the Sankaku server. I will try to open a support ticket and issue on GitHub to see if this situation can be resolved. |
I opened a dicussion here: https://github.com/orgs/community/discussions/59975 |
If the reason of response 500 from sankaku server is blocking by IP address, I think the restriction can by bypassed by using proxy server. I'll rent a private proxy server to try to check it with github workflows. |
The Sankaku library (version 1.0.3) encounters a 500 error when logging into the huggingface space environment.
The output result is:
I tried to output the text in the response, and it contains:
However, when running locally and on several other servers, this issue did not occur, and the login was successful. Therefore, it is possible that some necessary configurations (such as Referer, User-Agent, etc.) are missing during the login. Is it possible to optimize this?
BTW: You can check the huggingface space here: https://huggingface.co/spaces/narugo/jupyterlab and duplicate it for testing in a real environment.
The text was updated successfully, but these errors were encountered: