[Mahara-contributors] [Bug 1814316] Re: 18.10 memcached and couchbase empty getStats() return

2019-04-30 Thread Robert Lyon
** Changed in: mahara/18.10
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1814316

Title:
  18.10 memcached and couchbase empty getStats() return

Status in Mahara:
  Fix Released
Status in Mahara 18.10 series:
  Fix Released
Status in Mahara 19.04 series:
  Fix Released

Bug description:
  On file auth/session.php line 112 we have this bit of code : 
  $server_stats = $memcached->getStats();
  if ($server_stats[$destination . ":" . $port]['pid'] 
<= 0) {
  // can't reach the destination:port
  throw new 
ConfigSanityException(get_string('nomemcachedserver', 'error', $server));
  }

  We use a setup of a couchbase server that can handle memcached, but
  when arrive at that line, 112, the method returns a empty, even though
  we can set and get any information from couchbase.

  Is-it possible offers couchbase as a new type of sessionhandler?

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1814316/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1814316] Re: 18.10 memcached and couchbase empty getStats() return

2019-04-30 Thread Cecilia Vela Gurovic
** Changed in: mahara/19.04
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1814316

Title:
  18.10 memcached and couchbase empty getStats() return

Status in Mahara:
  Fix Released
Status in Mahara 18.10 series:
  Fix Committed
Status in Mahara 19.04 series:
  Fix Released

Bug description:
  On file auth/session.php line 112 we have this bit of code : 
  $server_stats = $memcached->getStats();
  if ($server_stats[$destination . ":" . $port]['pid'] 
<= 0) {
  // can't reach the destination:port
  throw new 
ConfigSanityException(get_string('nomemcachedserver', 'error', $server));
  }

  We use a setup of a couchbase server that can handle memcached, but
  when arrive at that line, 112, the method returns a empty, even though
  we can set and get any information from couchbase.

  Is-it possible offers couchbase as a new type of sessionhandler?

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1814316/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1814316] Re: 18.10 memcached and couchbase empty getStats() return

2019-03-23 Thread Kristina Hoeppner
** Changed in: mahara/18.10
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1814316

Title:
  18.10 memcached and couchbase empty getStats() return

Status in Mahara:
  Fix Committed
Status in Mahara 18.10 series:
  Fix Committed
Status in Mahara 19.04 series:
  Fix Committed

Bug description:
  On file auth/session.php line 112 we have this bit of code : 
  $server_stats = $memcached->getStats();
  if ($server_stats[$destination . ":" . $port]['pid'] 
<= 0) {
  // can't reach the destination:port
  throw new 
ConfigSanityException(get_string('nomemcachedserver', 'error', $server));
  }

  We use a setup of a couchbase server that can handle memcached, but
  when arrive at that line, 112, the method returns a empty, even though
  we can set and get any information from couchbase.

  Is-it possible offers couchbase as a new type of sessionhandler?

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1814316/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1814316] Re: 18.10 memcached and couchbase empty getStats() return

2019-03-03 Thread Cecilia Vela Gurovic
** Also affects: mahara/19.04
   Importance: Medium
   Status: Fix Committed

** Also affects: mahara/18.10
   Importance: Undecided
   Status: New

** Changed in: mahara/18.10
Milestone: None => 18.10.1

** Changed in: mahara/18.10
   Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1814316

Title:
  18.10 memcached and couchbase empty getStats() return

Status in Mahara:
  Fix Committed
Status in Mahara 18.10 series:
  Fix Committed
Status in Mahara 19.04 series:
  Fix Committed

Bug description:
  On file auth/session.php line 112 we have this bit of code : 
  $server_stats = $memcached->getStats();
  if ($server_stats[$destination . ":" . $port]['pid'] 
<= 0) {
  // can't reach the destination:port
  throw new 
ConfigSanityException(get_string('nomemcachedserver', 'error', $server));
  }

  We use a setup of a couchbase server that can handle memcached, but
  when arrive at that line, 112, the method returns a empty, even though
  we can set and get any information from couchbase.

  Is-it possible offers couchbase as a new type of sessionhandler?

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1814316/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1814316] Re: 18.10 memcached and couchbase empty getStats() return

2019-03-03 Thread Cecilia Vela Gurovic
** Changed in: mahara
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1814316

Title:
  18.10 memcached and couchbase empty getStats() return

Status in Mahara:
  Fix Committed
Status in Mahara 18.10 series:
  Fix Committed
Status in Mahara 19.04 series:
  Fix Committed

Bug description:
  On file auth/session.php line 112 we have this bit of code : 
  $server_stats = $memcached->getStats();
  if ($server_stats[$destination . ":" . $port]['pid'] 
<= 0) {
  // can't reach the destination:port
  throw new 
ConfigSanityException(get_string('nomemcachedserver', 'error', $server));
  }

  We use a setup of a couchbase server that can handle memcached, but
  when arrive at that line, 112, the method returns a empty, even though
  we can set and get any information from couchbase.

  Is-it possible offers couchbase as a new type of sessionhandler?

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1814316/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1814316] Re: 18.10 memcached and couchbase empty getStats() return

2019-02-12 Thread Octavio Jr
Thank you for your patch, tested and approved !

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1814316

Title:
  18.10 memcached and couchbase empty getStats() return

Status in Mahara:
  In Progress

Bug description:
  On file auth/session.php line 112 we have this bit of code : 
  $server_stats = $memcached->getStats();
  if ($server_stats[$destination . ":" . $port]['pid'] 
<= 0) {
  // can't reach the destination:port
  throw new 
ConfigSanityException(get_string('nomemcachedserver', 'error', $server));
  }

  We use a setup of a couchbase server that can handle memcached, but
  when arrive at that line, 112, the method returns a empty, even though
  we can set and get any information from couchbase.

  Is-it possible offers couchbase as a new type of sessionhandler?

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1814316/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1814316] Re: 18.10 memcached and couchbase empty getStats() return

2019-02-11 Thread Robert Lyon
Hi Octavio,

Can you try the patch at https://reviews.mahara.org/#/c/9546/ to see if
it makes any difference?

Cheers

Robert


** Changed in: mahara
   Importance: Undecided => Medium

** Changed in: mahara
   Status: New => In Progress

** Changed in: mahara
Milestone: None => 19.04.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1814316

Title:
  18.10 memcached and couchbase empty getStats() return

Status in Mahara:
  In Progress

Bug description:
  On file auth/session.php line 112 we have this bit of code : 
  $server_stats = $memcached->getStats();
  if ($server_stats[$destination . ":" . $port]['pid'] 
<= 0) {
  // can't reach the destination:port
  throw new 
ConfigSanityException(get_string('nomemcachedserver', 'error', $server));
  }

  We use a setup of a couchbase server that can handle memcached, but
  when arrive at that line, 112, the method returns a empty, even though
  we can set and get any information from couchbase.

  Is-it possible offers couchbase as a new type of sessionhandler?

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1814316/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1814316] Re: 18.10 memcached and couchbase empty getStats() return

2019-02-06 Thread Octavio Jr
Thank you for your answer,

I receive and array with server nanme : 
array(1) {
  ["myserver.dom:11214"]=>
  string(5) "4.5.1"
}

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1814316

Title:
  18.10 memcached and couchbase empty getStats() return

Status in Mahara:
  New

Bug description:
  On file auth/session.php line 112 we have this bit of code : 
  $server_stats = $memcached->getStats();
  if ($server_stats[$destination . ":" . $port]['pid'] 
<= 0) {
  // can't reach the destination:port
  throw new 
ConfigSanityException(get_string('nomemcachedserver', 'error', $server));
  }

  We use a setup of a couchbase server that can handle memcached, but
  when arrive at that line, 112, the method returns a empty, even though
  we can set and get any information from couchbase.

  Is-it possible offers couchbase as a new type of sessionhandler?

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1814316/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1814316] Re: 18.10 memcached and couchbase empty getStats() return

2019-02-04 Thread Robert Lyon
Hi Octavio,

Looking at this report https://stackoverflow.com/questions/9625768
/memcachedgetstats-not-working-with-couchbase#9627895 it sounds like a
one should be able to get info in getStats() if things are set up in a
certain way.

It sounds like you are getting empty getStats() because of a proxy port issue
https://forums.couchbase.com/t/memcached-getstats-not-working-with-couchbase/4882


One thing you could try is dropping the following line in

   error_log(print_r($memcached->getVersion(), true));

After the line

   $memcached->addServer($destination, $port);
 
And take a look at your error log - does that line return any information?

Cheers

Robert

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1814316

Title:
  18.10 memcached and couchbase empty getStats() return

Status in Mahara:
  New

Bug description:
  On file auth/session.php line 112 we have this bit of code : 
  $server_stats = $memcached->getStats();
  if ($server_stats[$destination . ":" . $port]['pid'] 
<= 0) {
  // can't reach the destination:port
  throw new 
ConfigSanityException(get_string('nomemcachedserver', 'error', $server));
  }

  We use a setup of a couchbase server that can handle memcached, but
  when arrive at that line, 112, the method returns a empty, even though
  we can set and get any information from couchbase.

  Is-it possible offers couchbase as a new type of sessionhandler?

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1814316/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp