Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.


If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping


Answers may be delayed for posts that do not include sufficient information.

cSRF token not valid

Hi! We have a local server running Providence. Every time we try to upload an image/media file it halts and shows 'cSRF token not valid'. Any ideas as to what might be causing this? Much appreciated!

Comments

  • I'm having this problem as well! The error code I get is:

    DatabaseException: Lock wait timeout exceeded; try restarting transaction

    Did you manage to resolve this?

  • Do you get CSRF or the database exception? Or both?

  • Hey Seth,

    Yesterday I was getting both, and today when I try to save a media representation, the rest of the record saves immediately and the media representation disappears completely like it was never there.

  • Hi,
    As I understood some messages about this recurrent "CSRF token" problem, it should be linked to the cache of navigator. May be your files in cache were updated...

  • Hi Darrigan,

    I'm pretty novice at all this stuff. Could you expand on what you mean by cache of navigator?

    Thanks!

  • Well, I'm sorry, may be "navigator" is not the right word in english. I mean "web browser".
    Look at this: https://en.wikipedia.org/wiki/Web_cache
    and this:
    https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache

    Bye!

  • Thanks for clarifying! I wonder if this is something that can be improved server-side, or if it can only be fixed client-side through my browser. I will look into this.

  • To update, I ran into the CSFR token problem, tried clearing my cache from my Chrome browser, and then tried saving the media representation again, only to receive an "uncaught fatal error" message. Checked my Providence log, and it gave me the "ERROR --> DatabaseException: Lock wait timeout exceeded; try restarting transaction code" again.

Sign In or Register to comment.