-
Notifications
You must be signed in to change notification settings - Fork 46
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
GitHub Action fails upon authentication with SWORD API #213
Comments
I dont know why, but it seems like there are some bots spamming sketchy Mediafire links to PRs (see microsoft/vscode#226578 for sth similar). I have hidden the comments and advise to NOT click the links supplied. |
Reported the spam GitHub.
Can have a look at the issue soon, maybe tonight. Otherwise in the upcoming
days.
…On Mon, Aug 26, 2024, 12:05 Jan Range ***@***.***> wrote:
I dont know why, but it seems like there are some bots spamming sketchy
Mediafire links to PRs (see microsoft/vscode#226578
<microsoft/vscode#226578> for sth similar). I
have hidden the comments and advise to *NOT* click the links supplied.
—
Reply to this email directly, view it on GitHub
<#213 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOAOD2EFLFPWAGIWLC63YLZTL4YPAVCNFSM6AAAAABNDMFTDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBZHAZTQNBZGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I checked out the main branch but cannot reproduce the test failure locally with the docker-compose setup. Maybe the CI runs against a different Dataverse version? I'll try against the dataverse demo instance later... |
I can confirm that I wasn't able to reproduce the error using a local instance. To investigate further, I created a fork and hard-coded I also tested against https://demo.dataverse.org, and the test failed there as well. I looked into it further and, out of curiosity, I wrote a script to perform the test "manually". auth = httpx.BasicAuth("<TOKEN>", "")
response = httpx.get(
"https://demo.dataverse.org/dvn/api/data-deposit/v1.1/swordv2/service-document",
auth=auth,
) This is where I discovered that the SSL certificate for demo.dataverse had expired, causing the request to fail since I didn't stop there and applied the "manual" test from earlier into a fork of mine, and voilà, everything worked. Here is the test I overwrote in my fork: pyDataverse/tests/api/test_api.py Lines 221 to 236 in ba994e7
For the grand finale, I restored everything and printed the actual URL being used, and believe it or not, the whole error stemmed from a wrong URL where there was |
Yes, sorry, our wildcard cert expired. We are rolling out the new one now. The guides server has been fixed. demo soon, I suspect. |
Weird about the double slash. Thanks for fixing it! 🎉 |
After merging the recent pull request #201 by @shoeffner, one test fails even though all checks have passed in the pull request CI, which is quite unexpected. I am opening this issue to keep track of this.
Failed run
The text was updated successfully, but these errors were encountered: