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

The opencert website is not fully accessible from China #542

Open
mohammedkalimullah opened this issue Aug 11, 2020 · 31 comments
Open

The opencert website is not fully accessible from China #542

mohammedkalimullah opened this issue Aug 11, 2020 · 31 comments

Comments

@mohammedkalimullah
Copy link
Contributor

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

@Nebulis
Copy link
Contributor

Nebulis commented Aug 11, 2020

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.

@mohammedkalimullah
Copy link
Contributor Author

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.

@Nebulis
Copy link
Contributor

Nebulis commented Aug 11, 2020

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 ?

@mohammedkalimullah
Copy link
Contributor Author

opencertsissue_china.docx
Please find the attached information.

@Nebulis
Copy link
Contributor

Nebulis commented Aug 11, 2020

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 ?

@Nebulis
Copy link
Contributor

Nebulis commented Aug 11, 2020

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

@mohammedkalimullah
Copy link
Contributor Author

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.

@Nebulis
Copy link
Contributor

Nebulis commented Aug 11, 2020

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

@mohammedkalimullah
Copy link
Contributor Author

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.

@Nebulis
Copy link
Contributor

Nebulis commented Aug 11, 2020

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

@mohammedkalimullah
Copy link
Contributor Author

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.

@Nebulis
Copy link
Contributor

Nebulis commented Aug 11, 2020

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.

@mohammedkalimullah
Copy link
Contributor Author

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.

@Nebulis
Copy link
Contributor

Nebulis commented Aug 11, 2020

  • 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.

@mohammedkalimullah
Copy link
Contributor Author

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

@Nebulis
Copy link
Contributor

Nebulis commented Sep 17, 2020

We will discuss about that with business owner on Tuesday

@mohammedkalimullah
Copy link
Contributor Author

Thanks! Let us know once you have any update

@Nebulis
Copy link
Contributor

Nebulis commented Sep 23, 2020

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)

@Nebulis
Copy link
Contributor

Nebulis commented Oct 28, 2020

#569 will fix the following issues:

  • jquery
  • popper
  • bootstrap

@mohammedkalimullah
Copy link
Contributor Author

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

@Nebulis
Copy link
Contributor

Nebulis commented Oct 29, 2020

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

@Nebulis
Copy link
Contributor

Nebulis commented Nov 2, 2020

@mohammedkalimullah Could you ask the user to try again ?

@mohammedkalimullah
Copy link
Contributor Author

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

@Nebulis
Copy link
Contributor

Nebulis commented Nov 9, 2020

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

@mohammedkalimullah
Copy link
Contributor Author

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

@Nebulis
Copy link
Contributor

Nebulis commented Nov 9, 2020

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

@mohammedkalimullah
Copy link
Contributor Author

image
There are other components not loaded as well

@mohammedkalimullah
Copy link
Contributor Author

image

@Nebulis
Copy link
Contributor

Nebulis commented Nov 9, 2020

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

@mohammedkalimullah
Copy link
Contributor Author

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

@Nebulis
Copy link
Contributor

Nebulis commented Nov 9, 2020

This might get more troublesome then ... I see someone reported some instability as well https://community.netlify.com/t/site-blocked-in-china-netlify-and-the-chinese-great-firewall-gfw/4259/17

Could you provide me a HAR => https://support.zendesk.com/hc/en-us/articles/204410413-Generating-a-HAR-file-for-troubleshooting

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

2 participants