Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

unraid connect showing offline, CSRF Token error

Featured Replies

May 29 10:05:53	DerFLIX	webGUI:	error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token	Error
May 29 10:05:51	DerFLIX	webGUI:	error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token	Error
May 29 10:05:48	DerFLIX	webGUI:	error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token	Error
May 29 10:05:45	DerFLIX	webGUI:	error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token	Error


At a loss here. I noticed my Unraid Connect hasnt been connected for some time but unclear when it went offline.

I tried uninstalling the UnRAID Connect plugin a few times and de-registering the server. I havent been able to register the server now.

When I try to sign in on the server, it says error something went wrong cannot sign-in. Unraid connect shows the server registered but offline.

The unraid-api seems to start, then stop running with the error above. Any help would be appreciated.

derflix-diagnostics-20260529-1011.zip

  • Community Expert

Please post a screenshot of the error you see when trying to sign in.

  • Author

Attached.

Screenshot 2026-05-29 at 10.31.50 AM.png

Screenshot 2026-05-29 at 10.35.33 AM.png

  • Community Expert

Open a terminal window and type

unraid-api stop

unraid-api restart

Then try again to register from the dropdown

  • Author

No dice, it just hangs and goes to that error.

The unraid connect button was missing after that.
I ran the plugin command you mention in other posts to see it. I also tried signing out of unraid.net to before trying the dropdown with no luck.

unraid-api plugins install unraid-api-plugin-connect
  • Author

After some debugging.

Deleted the Unraid Connect Plugin, rebooted.
Installed Unraid Connect Plugin from CA.

Ran this command from terminal:
unraid-api plugins install unraid-api-plugin-connect

Was able to sign in and get it going again. How odd!

  • 2 weeks later...

Just a few things to add here.

I did it in the same order as you, but had to be fast after api restart with registering the server.

The error message

Jun 11 11:16:51 Unraid webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token

still gets generated when viewing api status in web-gui, which is also shown as stopped after 2minutes or so.

unraid-api stop

unraid-api restart

Those commands helped with keeping the server online in Unraid Connect dashboard.

I have the same issue:

I have a simular issue. Syslog: grep -i "csrf" /mnt/user/Data/syslog-RSCloud.log | tail -20
Jun 14 17:15:48 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token
Jun 14 17:16:33 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token
Jun 14 17:30:04 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token
Jun 14 17:30:52 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token
Jun 14 17:32:00 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token
Jun 14 17:48:33 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token
Jun 14 17:55:17 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token
Jun 14 17:59:34 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token
Jun 14 18:01:41 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token
Jun 14 18:02:04 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token
Jun 14 20:47:43 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token
Jun 14 20:49:00 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token
Jun 14 20:52:42 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token
Jun 14 20:52:51 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token
Jun 14 20:57:27 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token
Jun 14 20:57:38 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token
Jun 14 20:59:54 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token
Jun 14 21:00:06 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token
Jun 14 21:03:06 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token
Jun 14 21:14:00 RSCloud webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_token


API Status:

root@RSCloud:~# unraid-api status
+--- unraid-api
namespace : default
version : 4.35.0+264ddf00
pid : 19088
pm2 id : 0
status : online
mode : fork
restarted : 1
uptime : 20m
memory usage : 197.1mb
error log : /var/log/graphql-api.log
watching : no
PID file : /var/log/.pm2/pids/unraid-api-0.pid

GUI :
2026-06-14 21_24_49-Greenshot.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.