Moodle

Session: connection failed

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8
  • Fix Version/s: 2.0
  • Component/s: Authentication
  • Labels:
    None
  • Environment:
    php 4.1.10
    MySQL 4.1.21
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

There is an issue running sessions with Use database for session information dbsessions enabled. It will at times while browsing either log me out or produce an error saying Session: connection failed. When this error is produced it is extremely hard to log back in. In order to get back in you basically have to refresh and use your back button enough to get yourself back in.

Issue Links

Activity

Hide
Petr Škoda (skodak) added a comment -

What PHP version are you using - I guess PHP 4.1.10 is a typo.

I can not reproduce the problem, sorry. If you need to switch back, you can add dbsessions = false; into your config.php

Did you check the max_allowed_packet in MySQL configuration?

Show
Petr Škoda (skodak) added a comment - What PHP version are you using - I guess PHP 4.1.10 is a typo. I can not reproduce the problem, sorry. If you need to switch back, you can add dbsessions = false; into your config.php Did you check the max_allowed_packet in MySQL configuration?
Hide
Brian Sperduto added a comment -

I already switched back, is the packet config in bytes or something higher. php Version is 4.4.4 it was a typo I copied the wrong number.

Show
Brian Sperduto added a comment - I already switched back, is the packet config in bytes or something higher. php Version is 4.4.4 it was a typo I copied the wrong number.
Hide
Petr Škoda (skodak) added a comment -

database sessions were fully reimplemented in 2.0, I hope it will solve all these issues
thanks for the report

Show
Petr Škoda (skodak) added a comment - database sessions were fully reimplemented in 2.0, I hope it will solve all these issues thanks for the report

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: