OpenCerts / admin-website

Reference UI for viewing and administration of certificates
https://opencerts.github.io/certificate-web-ui/
Apache License 2.0
9 stars 11 forks source link

Unable to access to admin website for production #344

Closed laykoonjune closed 3 years ago

laykoonjune commented 3 years ago

Hi,

My user reported that they are unable to login to admin website it shows that admin address wallet not found. We are still able to use it on last monday. Please help to check ASAP. Thanks. image

Nebulis commented 3 years ago

Hi, there is a bug in chrome 91 so we had to make a fix yesterday. It works on Chrome but now it doesn't work on firefox.

Use chrome for the moment

laykoonjune commented 3 years ago

Hi, my user try on chrome and edge is not working.

Nebulis commented 3 years ago

when did they try ?

laykoonjune commented 3 years ago

Today between 2pm to 3pm.

Nebulis commented 3 years ago

what version of chrome ?

laykoonjune commented 3 years ago

image

Nebulis commented 3 years ago

I cant see the image

Nebulis commented 3 years ago

In the meantime, users can use ledger through metamask => https://docs.opencerts.io/docs/admin-website

laykoonjune commented 3 years ago

Version 91.0.4472.77

Nebulis commented 3 years ago

Hum, I don't see ny reason it doesn't work as we fixed yesterday for this version. Ask the user to refresh or to use the alternate flow above

laykoonjune commented 3 years ago

I will get my user to try and update you if there are any issue face

laykoonjune commented 3 years ago

My users are not comfortable to use metamask due to the recently cases of ether beings stolen hence please help to fix it asap as we will need to re issue some opencerts. thanks.

SUSS-CITS commented 3 years ago

Hi, I have the same issue too, that admin address wallet not found despite connected. Both Firefox and Google Chrome doesn't work. Google Chrome version: 91.0.4472.77 Firefox version: 89.0

Metakmask also doesn't work for me when I was trying to issue out one of the batches.

FYI, i'm doing testing and is using Ropsten network. Few weeks ago, my user was using the Production network and it is working fine.

Nebulis commented 3 years ago

Send an har from the page load to the failure

simboonlong commented 3 years ago

exact issue stems from https://github.com/LedgerHQ/ledgerjs/issues/607

https://admin.opencerts.io -> latest chrome should work https://firefox.admin.opencerts.io -> firefox should work

note that these are interim solutions, the ideal usage is to connect hardware ledger via metamask -> https://docs.opencerts.io/docs/admin-website

SUSS-CITS commented 3 years ago

@simboonlong thank you. I tried https://firefox.admin.opencerts.io and it is working.

jacelee2000 commented 3 years ago

hi, I am trying to access the admin opencerts link below via metamask and unable to access. As we need to go through UAT, we use the metamask to publish certificate for UAT purpose. Please advise urgently. thank you.

https://github.com/OpenCerts/admin-website/issues/344

jacelee2000 commented 3 years ago

to add on, I did try using firefox but issue not resolved. metamask

simboonlong commented 3 years ago

the url u tried on is a netlify preview url. using firefox browser, can try on https://firefox.admin.opencerts.io instead?

jacelee2000 commented 3 years ago

We use for UAT purpose. The link given is production url. I suppose we can't use it for UAT purpose. Furthermore, same issue occur using the url given. https://firefox.admin.opencerts.io/deploy

image

simboonlong commented 3 years ago

tried issuing on chrome with metamask, works fine

issue verified
Nebulis commented 3 years ago

You can use both url in uat / prod.

The kind of metamask account (ropsten / mainnet) determine whether it's prod or not

jacelee2000 commented 3 years ago

I tried access using chrome using the https://admin.opencerts.io url but unable to access. My Chrome version as below. image

jacelee2000 commented 3 years ago

hi, is there any alternative for this? we have urgent deployment and need to verify it in UAT. would you be able to help publish via UAT link instead?

Nebulis commented 3 years ago

You can use both url in uat / prod.

The kind of metamask account (ropsten / mainnet) determine whether it's prod or not

As mentioned above there is no such thing called uat

So you tried the 4 combination? What's the error in the console?

jacelee2000 commented 3 years ago

there is no error. I recall I highlighted this issue before in spectrum chat to access https://admin.opencerts.io using Chrome (use nano ledger) have same issue also. You mentioned to use firefox to access via https://firefox.admin.opencerts.io url. It solve the issue. However, when I access via Chrome and Firefox as advise base on 2 url above via metamask, the same issue occur where unable to load to the publish certificate page.

Chrome image

Firefox image

Nebulis commented 3 years ago

U tried both URL in both chrome and Firefox and all fail?

For the 4 tries, there is no error in the developer console?

jacelee2000 commented 3 years ago

you mean need to try 4 times in both Chrome and firefox for the page to work?

Nebulis commented 3 years ago

I just want to make sure you try everything you can, not saying it's a long term solution:

What do you use?

jacelee2000 commented 3 years ago

the 4 options mentioned not working.

I use metamask without ledger. I use account register before for testing purpose. We don't have ledger for testing purpose.

Nebulis commented 3 years ago

oh metamask only, it's surprising.

I have it working on a windows machine with chrome 94 as well.

Are you sure nothing is blocking the extension on your side ? You can also try to reinstall the extension eventually

jacelee2000 commented 3 years ago

I try access from my home computer, same thing occur.

Since you able to access, do you able to help us publish the certificate? We really need to get the UAT done sooner as user need to publish certificate on 15 Oct with the new template.

May I email you the certificate store and merkle root hash?

Nebulis commented 3 years ago

I could do it, but that also required you to give me your private key, otherwise i won't be able to publish to your certificate store

Did you try the CLI?

jacelee2000 commented 3 years ago

if no, please advise how do we go about publishing the certificate.

what CLI do you mean?

Nebulis commented 3 years ago

https://github.com/Open-Attestation/open-attestation-cli

I'm trying to find internally someone for who metamask fails, unsuccessfully for the moment

Nebulis commented 3 years ago

If you follow the tutorial in https://www.openattestation.com/docs/verifiable-document/overview-document-store you will learn how to use it

jacelee2000 commented 3 years ago

sorry we don't have time for that. Can you provide alternative to resolve this issue?

simboonlong commented 3 years ago

tried again and still works, documentating it:

https://user-images.githubusercontent.com/4774314/136317699-3016f759-731f-4855-8657-7ddc17812e40.mp4

in this example, for a start maybe can check if the document store address is in the txt records of the domain name where your renderer is sitting at. can use https://toolkit.openattestation.com/dns to check. make sure this document store address was deployed previously with the same wallet metamask account, otherwise you cannot issue.

then use merkleRoot value to issue

reading and understanding the docs takes about a day, the most 2. if short of time, as mentioned can read only the document store cli portion and figure what you need to do. once understood, deploying and issue via CLI takes less than half a day

we do not know at which point you fail, as depending on organisation, each might have their own workflow

jacelee2000 commented 3 years ago

which version of firefox that you are using and is working?

jacelee2000 commented 3 years ago

I tried by downgrade the chrome in my personal pc to 91.0.04472.77, also unable to access the https://admin.opencerts.io/ url

simboonlong commented 3 years ago

in the example above was Chrome Version 94.0.4606.71. https://admin.opencerts.io is a publicly accessible website. do you happen to have some other browser extensions installed? if so, try disabling them to see if any caused the url to be inaccessible first?

jacelee2000 commented 3 years ago

did you try metamask without ledger to publish certificate?

Nebulis commented 3 years ago

yes, I've asked everyone in the team, nobody faced the issue you describe.

Maybe there is really an issue, but I feel something is wrong on your side (something is blocking the plugin ? plugin disabled? error in the console?)

Without more information we can't help you and we give you an alternate solution with the CLI that you rejected :)

jacelee2000 commented 3 years ago

Ok. found that the metamask extension was blocked. May be that is the root cause. I am checking with the infra team to enable it. Will update you if issue persist.

jacelee2000 commented 3 years ago

hi, I manage to access via metamask in Chrome. Is due to metamask extension been block. However my user try access via ledger using firefox and chrome, but have the following error using firefox & chrome url.

image

jacelee2000 commented 3 years ago

Hi, any update on the issue above? We need to publish certificate soonest. Wish to hear from you soon. Thank you.

Nebulis commented 3 years ago

Try to check out with ledger support

jacelee2000 commented 3 years ago

ok thank you. Please keep me posted. thank you.

Nebulis commented 3 years ago

I didn't mean i was doing it for you. I meant it for you to check with ledger support. The warning is not normal. Clear this first

jacelee2000 commented 3 years ago

ok noted.