Jump to content
coblck

missing csrf_token

50 posts in this topic Last Reply

Recommended Posts

Hi my server running great but every time around 1a, i get this error in my log 

 

Jul 11 01:04:12 Unraid-Server root: error: /gcsp/2.0: missing csrf_token

 

Can anyone point me in the right direction, all pluin;s ans dockers upto date

Share this post


Link to post

Theres an entry in the unraid FAQ about csrf errors

Sent from my NSA monitored device

Share this post


Link to post
42 minutes ago, coblck said:

Read that but all my plugins are upto date 

That error normally means that you have a browser open to the Unraid GUI from before the last reboot and is nothing to do with plugins being up-to-date.

Share this post


Link to post

Or more to the point, something (gscp) is attempting to access your webui everyday at that time and it doesnt have the csrf token in the url

Sent from my NSA monitored device

Share this post


Link to post

I've had the exact same error for the last few days. What is gscp? At OP, please post if you figure out what is causing the error. If I figure it out, I'll post on here as well.

Share this post


Link to post
Posted (edited)
5 hours ago, itimpi said:

That error normally means that you have a browser open to the Unraid GUI from before the last reboot and is nothing to do with plugins being up-to-date.

I just logged into my server and noticed this as well. Running UnRAID 6.7.2.

I have no browsers left open and the server hasn't been restarted in a week. It doesn't seem to happen every day and it isn't always at the same time (it is not happening at all when I am accessing the server webUI).

 

So far it has happened July 6th, 7th, and 8th at 630AM. Then it stopped for a day, continuing on the 10th at 4:45AM & 11AM , and most recently today at around 11AM. I would not have been accessing the server at any of these times as I am gone at work so I'm thinking a plugin or docker is the most likely culprit.

 

I have some scripts and things scheduled, but nothing that would be running at any of the times these errors appeared. I did have a few plugin updates available which I have installed. I will reboot later once everyone is done streaming for the night.

 

Diagnostics attached. I know I have a bunch of out of memory errors, freaking mono is always trying to gobble up all the RAM between sonarr, radarr, and lidarr (those have been going on long before this ever started).

 

node-diagnostics-20190711-2021.zip

Edited by weirdcrap

Share this post


Link to post

Only run 3 dockers Plex, Syncthing & Tautulli , only ever access server from same desktop and always logout when finished. Mines happens every day at 1am 

Share this post


Link to post
Posted (edited)

This happens to me every day at around 4am and 4pm.  It started July 2nd.  Can't figure out what it would be.  Everything is up to date and I don't have any other browser windows open.  It must be one of the plugins I have or one of my dockers.  Today I decided to just disable one docker at a time and wait until 4:00 am & pm to see if I can figure out of one of them is the culprit.

 

Also, what is gscp?  I googled around for a while but couldn't figure out what it was, knowing what it is might help narrow it down.

Edited by romanodog

Share this post


Link to post

Also getting the same error at usually the same time. No idea what GSCP is. 

Share this post


Link to post

Its /gcsp/ not gscp. GSCP is a GoodSync thing. What's in the Diagnostics that was attached is actually /gcsp/2.0

Share this post


Link to post

Does it continue if you boot in safe mode?

Share this post


Link to post

Been having the same issue for days now. Could be a coincidence but it seemed to happen right after and upgrade to 6.7.2

 

Error seems to happen every 20 minutes in my case and repeats over 100 times in a second for several seconds . To the point where the Syslog fills up, dockers crash and the only corrective action is a reboot.

 

root: error: /gcsp/2.0: missing csrf_token

Share this post


Link to post

Being that this did not start until July 4th for me, makes me believe this is probably related to one of my docker containers, rather than the OS it self.  Server has been up since the end of June but this did not start until 4-5 days later.

Share this post


Link to post

This is what's happening.  Why I cannot say.

 

Something is attempting to access /gcsp/2.0  That's a given.

 

Whether this is from a container, a plugin, or something like an outside source it's impossible to completely say.  If it happens often, then you restart in safe mode and disable containers / VMs.  If it stops then you begin narrowing down which plugin / container it is.  (It is definitely NOT a ca plugin)

 

If it continues with safe mode, and no containers or vms, then the access attempt is from somewhere else on your network.

Share this post


Link to post
38 minutes ago, The_Mountain said:

Being that this did not start until July 4th for me, makes me believe this is probably related to one of my docker containers, rather than the OS it self.  Server has been up since the end of June but this did not start until 4-5 days later.

Same here gonnae start disabling dockers 1 at a time and see ( i only run 3)

Share this post


Link to post
52 minutes ago, coblck said:

Same here gonnae start disabling dockers 1 at a time and see ( i only run 3)

What containers and repos do you run?

Share this post


Link to post

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.