Sheherezadhe / awair-uploader

GNU General Public License v3.0
121 stars 57 forks source link

"Add your token" button NOT WORKING #28

Open Aljebaay opened 2 years ago

Aljebaay commented 2 years ago

At first, thank you for this effort. There is a problem with the "Add your token" button. Everything works until I reach the stage of pressing the "Add your token" button, nothing happens and the devices are not added to the List of added sensors.

My operating system is Windows 11

Is anyone facing the same problem?

Hbitvof commented 2 years ago

Same problem here. My OS is Ubuntu 20.04

polde commented 2 years ago

I have same issue Ubuntu 20.10

Hbitvof commented 2 years ago

I solved the problem by building the app with npm run make. Then started the newly made program and everything worked.

rockthereelstape commented 2 years ago

After I have deleted sensors and Logged out - I can no longer add any sensors api - They show up , But it doesn't allow me to add token - I have tried multiple versions, different computers, deleting app and restarting. Was working fine before I deleted sensors .

benfnjovi commented 2 years ago

In my case, this was because of a certificate error... You can verify whether it is what is causing your issue by toggling developer tools and selecting "Console." It will show the "ERR_CERT_DATE_INVALID" if you are having the same issue. Here is how I fixed it:

This error is the result of an expired "R3 Certificate and DST ROOT CA X3" Certificate Fix for windows: You will need to run "certmgr.msc" then delete "R3 Certificate and DST ROOT CA X3" from these locations, if it exists(it was only in two of them for me):

Trusted Root Certification Authorities > Certificates Intermediate Certification Authorities > Certificates Third-party root Certification Authorities > Certificates To locate the right certificate : Just use Issued By and Expiration Date, search for certificate issued by DST ROOT CA X3, and expired around 29-30 sept 2021. Install new certificate : Download this : https://letsencrypt.org/certs/isrgrootx1.der Double click it. Then, Choose Local Machine, Next Choose Place all Certificates in the following store, and then choose "Trusted Root Certification Authorities" folder Restart your PC

benfnjovi commented 2 years ago

Discord link to a few screen shots showing the above process: https://discord.com/channels/855002894717419521/959096970591490108/961054369854398524