Giter Club home page Giter Club logo

Comments (4)

notartom avatar notartom commented on August 17, 2024

There are a couple of things going on here:

  1. The apparently shortened session logged-in duration. As far as I can tell, nothing's changed in the login/session options with the CodeIgniter 3 / Ion Auth 3 upgrade. The forum was entirely unaffected by the upgrade, so reports of getting logged out earlier from the forum seem... suspicious?

  2. The "you are no authorized" message. Could we try to figure out a consistent reproducer for this? Failing that, a screenshot of the error would help tremendously!

from librivox-ansible.

twinkietoes-on avatar twinkietoes-on commented on August 17, 2024

Apparently we have two different kinds of errors on the workflow side.

(1) The normal one:
no permission

(2)

I clicked on the link to Leni's Validator page and got the login screen even though I was already logged in to the workflow on another page with the PHP error below

Please login with your username and password below.

Username:
Password:
Remember Me: Forgot password
Login

A PHP Error was encountered
Severity: Warning

Message: Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/var/lib/php/sessions)

Filename: Unknown

Line Number: 0

We are currently getting a ton of timeout errors, but I don't think that is related since the logouts are occurring even with faster connections.

I just tried to go to a validator page and got the following stream of errors:
Capture1
Capture2

These aren't occurring to everyone, and always. The worst kind of bug to identify!

from librivox-ansible.

notartom avatar notartom commented on August 17, 2024

About the sessions - we were using the memcached driver, and it looks like it may have issues with session persistence:

However, it is worth noting that the only guarantee given by Memcached is that setting value X to expire after Y seconds will result in it being deleted after Y seconds have passed (but not necessarily that it won’t expire earlier than that time). This happens very rarely, but should be considered as it may result in loss of sessions.

(from https://codeigniter.com/userguide3/libraries/sessions.html#memcached-driver)

I've set it to files - let me know if that causes any observable changes/improvements.

from librivox-ansible.

notartom avatar notartom commented on August 17, 2024

For the validator errors, it looks like they're caused by the filename being wrong. For example, for https://librivox.org/validator/15773, the first file in the list is publicorations_28_demosthenes_128kb.mp3. - notice the period at the end. I think if that path is updated to the correct one (without the period), the errors should go away.

I've filed LibriVox/librivox-catalog#119 to track it - as the fix isn't trivial. In the meantime, we can just explain what those errors are caused by, and what to do to fix them.

from librivox-ansible.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.