OpenCerts/opencerts-website

The opencert website is not fully accessible from China

Opened this issue · 31 comments

Hi,
The opencert.io site cannot be fully accessible in China and some of the website components are timeout.

The students/employers cannot able verify the certificate from china. could you please help advise on this issue?

opencertsissue_china.docx

If China is blocking something there is nothing much we can do on our side. Are you able:

  • to show us how it's working when accessing from China.
  • to give us more details on what's blocking.

I can eventually give better guidelines if you are not sure how to share those information.

The website itself is not loading completely. it takes more time to load and some of the components are being timeout. like i have shared in the previous attachments.

Ah sorry I thought it was a certificate. From the doc it's hard to say what it taking long / what is blocked. Is it possible to share the content of the network panel ?

opencertsissue_china.docx
Please find the attached information.

List of failed resources:

  • fontawsome
  • jquery (why ???????)
  • popper
  • bootstrap

This could be fixed by

Blockers:

  • Are you able to tell if Infura (which we use to verify the status of a cert) is also blocked ?
  • How to test it's working correctly ?

For infura, maybe you can still drag and drop / open a certificate, if that's the case just check the network panel again

do you mean the jquery is from renderer. From the network tab,it is from opencert website.

Is this issue is because of the renderer site? FYI. we are not using the netlify to host our renderer. we use our internal server to host due to security.

No in this case the note is for myself => why do we use jquery ? I dont think it's needed. Feel free to ignore that part

However your comments made me realize something else. The problem could happen with renderer as well (not only opencerts) and in this case we have no control over it (so if a renderer use a lib that is blocked by China then you will need to reach out the owner of the renderer)

That aside we can still figure out from opencerts perspective what is needed.

Did you figure out for infura ? I googled a bit and it looks ok in China (doesn't mean it will work forever), but I have no way to check by myself

Thanks for your reply. i noticed all the blocks is from opencert website not from the renderer site.

Not sure what we need to check from renderer site.

Regarding infura, I will check with student from china again and let you know.

From the renderer it will be the same problem, if you use a cdn that is blocked in China to load assets (css,js)

I still dont understand. what i am referring is that before i reach renderer to view cert, we are facing those errors.
Please advise on the action item to solve this issue.

China fire wall can create 2 problems:

  1. with opencerts where some assets are not loaded, eventually infura is blocked and so on.
  2. with decentralised renderer where some assets could also not be loaded.

On our side we can work on the first problem (i.e. with opencerts), but it's also worth to note that it's not as simple as it sounds, so this problem wont be solved today or this week>

On your side, if you developed a renderer you can eventually start to check if your renderer is not blocked by China. If you didn't develop a renderer but uses one, then you can check directly with the developer of the renderer.

Thanks for reply.

For problem 1, Please advice on the approximate timeline, so that we can update our users.
For renderer , we use the Decentralised Document Renderer as per opencerts documentation.

  • no timeline
  • even if you follow the provided renderer as a base, maybe you added bootstrap? maybe you added something else ? If you didn't add anything I guess it's ok but don't take this for granted.

can we have any update please? .we also received feedback from students that it takes 2-3 minutes if we access from US location.

We will discuss about that with business owner on Tuesday

Thanks! Let us know once you have any update

We just discussed about that, the goal is to provide support on it but we have other priorities to work on. so it might take time (goal is this be be fulfilled before end of year)

Also as we don't have way to test from China it would be nice if you could help us (for the testing part)

#569 will fix the following issues:

  • jquery
  • popper
  • bootstrap

Thanks for the update.
can we ask the user from China to retry again?

Not yet it's not deployed, I will let you know

@mohammedkalimullah Could you ask the user to try again ?

Just got the feedback from user and still experiencing the same issue.

Ok thanks. Are your user able to make a video of opencerts verification with the chrome console open and share the video to us ?

I will try to request from user.
meanwhile i checked using the below link and it seems the fontawsome is not loading.
https://www.site24x7.com/web-page-analyzer.html
image

Yeah it's listed above but it shouldn't block the website from working. It's just icons

image
There are other components not loaded as well

Am I right to say that nothing is loaded at all? I see that everything size is 0b..

It's different than before in that case it used to load

Yes. it seems sometimes it doesnt load anything,
e.g. i tried to access the below URL location. it doesnt load
image