May 29May 29 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 ErrorAt 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
May 29May 29 Community Expert Open a terminal window and typeunraid-api stopunraid-api restartThen try again to register from the dropdown
May 29May 29 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
May 29May 29 Author Solution 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-connectWas able to sign in and get it going again. How odd!
June 11Jun 11 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 messageJun 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 stopunraid-api restartThose commands helped with keeping the server online in Unraid Connect dashboard.
June 14Jun 14 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_tokenAPI 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.pidGUI :
July 10Jul 10 I still get this error when I go to Settings → Management Access.I don't have any problems signing in, and my server appears to be connected. I also removed the Connect plugin and restarted the server, but I still get the same error message when I open Settings → Management Access.
July 10Jul 10 Author 1 hour ago, unRaiderX said:I still get this error when I go to Settings → Management Access.I don't have any problems signing in, and my server appears to be connected.I also removed the Connect plugin and restarted the server, but I still get the same error message when I open Settings → Management Access.I noticed I've been getting the error message now. I get this after the latest 7.3.2 update. It started 2 days ago when I updated. Only this time around , i am able to still access it from Connect. Edited July 10Jul 10 by derbo
July 11Jul 11 Author i ran this command again and its working fine for the past 6hours.unraid-api plugins install unraid-api-plugin-connect
July 11Jul 11 4 hours ago, derbo said:i ran this command again and its working fine for the past 6hours.unraid-api plugins install unraid-api-plugin-connectSo, just to confirm, you don't see this error in the log when you go to Settings → Management Access?I also removed the Connect plugin and rebooted the server, but I still get the same error message:Jul 11 10:36:18 Tower webGUI: error: /plugins/dynamix.my.servers/include/unraid-api.php - wrong csrf_tokenEven with the Connect plugin removed, this error still appears whenever I open Settings → Management Access.My API service don't even running. Edited July 11Jul 11 by unRaiderX
July 11Jul 11 EDIT:I found that this issue only occurs when using Google Chrome, Brave, or Microsoft Edge.When I use Firefox, the error does not appear, and the API Service Status shows Running.
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.