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

When trying to access through Home Assistant we get "The CSRF tokens do not match" error #409

Open
brodhaq opened this issue Jul 6, 2024 · 2 comments

Comments

@brodhaq
Copy link

brodhaq commented Jul 6, 2024

I have added the web interface page as a "Control panel" into my Home Assistant. When I try to open it, I get error "The CSRF tokens do not match".

To Reproduce

  1. Install Home Assistant (for example on a Raspberry Pi)
  2. Go to Settings -> Control Panels
  3. Click "Add control panel" and select "web page" type of panel
  4. Input your URL of RTKbase web interace (http://192.168.0.194/ in my example)
  5. Click the newly created control panel in the menu of the Home Assistant and enter your admin password. The error will appear.

Expected behavior
To get standard access to the web interface of RTKBase

Software/Hardware (please complete the following information):

  • RTKBase release number 2.5.0
  • OS: Home Assistant OS 12.4
  • Raspberry Pi 3B+
  • GNSS Device: not relevant
  • Connection type: Home Assistant RPi is on LAN, RTKBase RPi is on WiFi on the same network.

Screenshots
error

Additional context
Accessing the RTKBase web page through standard web browser works fine

@Stefal
Copy link
Owner

Stefal commented Jul 9, 2024

Could you try with another browser or in incognito mode?

@brodhaq
Copy link
Author

brodhaq commented Jul 9, 2024

Tested:
Google Chrome: does not work through Home Assistant
Google Chrome with Incognito mode: does not work through Home Assistant
Firefox: Google Chrome: works perfectly through Home Assistant
iPhone with Home Assistant app: does not work through Home Assistant app

Pavel

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