Sheherezadhe / awair-uploader

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

I can’t add my sensor #65

Open zn4a opened 2 years ago

zn4a commented 2 years ago

Hi, I copy my API code and paste it in search but when I hit search icon nothing happen my sensor did not show up in list of sensors space, I've tried it in different computers in windows 10 and 11 and the issue same. Please help. Thank you

benfnjovi commented 2 years ago

Toggle the developer tools and select "console". Report back what error it shows there.

bahijfa commented 2 years ago

I got same problem.. no error, but nothing shows

zn4a commented 2 years ago

Hi, After I follow your instruction I found 2 issue as below, but I'm really did not understand how to resolve it!

1) Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. Starting in Chrome 101, the amount of information available in the User Agent string will be reduced. To fix this issue, replace the usage of navigator.userAgent, navigator.appVersion, and navigator.platform with feature detection, progressive enhancement, or migrate to navigator.userAgentData. Note that for performance reasons, only the first access to one of the properties is shown. 1 source index.js:1

2)Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute Because a cookie’s SameSite attribute was not set or is invalid, it defaults to SameSite=Lax, which prevents the cookie from being sent in a cross-site request. This behavior protects user data from accidentally leaking to third parties and cross-site request forgery. Resolve this issue by updating the attributes of the cookie: Specify SameSite=None and Secure if the cookie should be sent in cross-site requests. This enables third-party use. Specify SameSite=Strict or SameSite=Lax if the cookie should not be sent in cross-site requests. 4 cookies Name Domain & Path KEYCLOAK_REMEMBER_ME login.planetwatch.io/auth/realms/Planetwatch/ KEYCLOAK_SESSION_LEGACY login.planetwatch.io/auth/realms/Planetwatch/ AUTH_SESSION_ID_LEGACY login.planetwatch.io/auth/realms/Planetwatch/ KEYCLOAK_IDENTITY_LEGACY login.planetwatch.io/auth/realms/Planetwatch/ 2 requests token token