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

Service Unavailable https://www.w3.org/2018/credentials/v1 #2197

Open
Vishwas1 opened this issue Jun 2, 2021 · 3 comments
Open

Service Unavailable https://www.w3.org/2018/credentials/v1 #2197

Vishwas1 opened this issue Jun 2, 2021 · 3 comments

Comments

@Vishwas1
Copy link

Vishwas1 commented Jun 2, 2021

Hi guys, we are testing verifiable credentials with more than 500 users. So far 300+ users have been able to get did and verifiable credential from our server. This test is basically to prove SSI systems can be used to productions and is stable. We started this test on Saturday and planned to continue till this weekend. The use case which we picked up is authentication and authorization. where a user receives did and vc from our server and uses those to authenticate to the service provider. But today we started to see a problem with issuing credentials, jsonld.InvalidUrl: Dereferencing a URL did not result in a valid JSON-LD object. After debugging we found that https://www.w3.org/2018/credentials/v1 this url which was previously working, is not accessible any more. Our users are stucked at this point and we are struggling to fix this issue. If any one here has any suggestion or solutions, kindly help. Or if you can just forward this message to right people, will also be helpful. Thank You!

@Vishwas1 Vishwas1 changed the title Service Unavailable (Invalid dereferencing error): Service Unavailable https://www.w3.org/2018/credentials/v1 Jun 2, 2021
@TallTed
Copy link
Contributor

TallTed commented Jun 2, 2021

Are you using proper caching? You should not need to retrieve that static resource for every VC. You did not provide the error you were hitting, so it's not possible to tell whether you were throttled out (i.e., the server may not like being hit too quickly, or too many times in a day, etc.) or ran into some other issue.

Certainly, that URI is working fine right now --

$ curl -LI https://www.w3.org/2018/credentials/v1
HTTP/1.1 200 OK
date: Wed, 02 Jun 2021 15:38:46 GMT
content-length: 7687
content-type: application/ld+json
...

@TallTed
Copy link
Contributor

TallTed commented Jun 2, 2021

Also note -- w3id.org is not affiliated with w3.org, so this isn't the right place to raise your issue.

@davidlehn
Copy link
Collaborator

Agree about caching and this is not a w3id.org issue. Note that w3.org was using an expired cert yesterday for a little while, maybe around the time you filed this, and that may have caused certificate validation errors to happen that would cause an error like above. There may have been an error cause chain that would make that low level issue more obvious. I imagine it's working now but in general remember that networks and servers can have downtime and you need to have error handling in place to handle such situations.

For help with caching, I'd suggest the credentials community, JSON-LD community, or library maintainers. If you'd like better error messages, raise an issue with the library maintainers. I'm guessing based on that error message you are using jsonld.js or pyld, so that probably involves me, but better to discuss in another forum.

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

3 participants