<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=31&amp;t=1380" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2014-07-31T21:51:17+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=31&amp;t=1380</id>
<entry>
<author><name><![CDATA[dain]]></name></author>
<updated>2014-07-31T21:51:17+01:00</updated>
<published>2014-07-31T21:51:17+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1380&amp;p=5456#p5456</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1380&amp;p=5456#p5456"/>
<title type="html"><![CDATA[Re: [BUG] User lookup failed after long inactivity]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1380&amp;p=5456#p5456"><![CDATA[
Can you try making the change shown here: <!-- m --><a class="postlink" href="https://github.com/Yubico/yubiauth/pull/3/files">https://github.com/Yubico/yubiauth/pull/3/files</a><!-- m --> ?<br />Since this is happening in the morning after long inactivity, I have a hunch it might be caused by the database issue described in the link. The fix hasn't yet been included in a release, but it will be as soon as the next release is made. If this fixes your problem then that's all the more reason to release a new version soon!<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=504">dain</a> — Thu Jul 31, 2014 9:51 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Tobias]]></name></author>
<updated>2014-07-31T08:58:08+01:00</updated>
<published>2014-07-31T08:58:08+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1380&amp;p=5454#p5454</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1380&amp;p=5454#p5454"/>
<title type="html"><![CDATA[Re: [BUG] User lookup failed after long inactivity]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1380&amp;p=5454#p5454"><![CDATA[
Same here, after some logon tries it works. Same versions.<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">&#91;DEBUG&#93; 2014-07-31 07:15:47 yubiauth.core.controller: User lookup on: u'USERNAME' of type: &lt;type 'unicode'&gt; failed<br />&#91;INFO&#93; 2014-07-31 07:15:47 yubiauth.core.ldapauth: LDAP authentication successful. Bind DN: &quot;valid DN&quot;, server: ldap://DC.domain<br />&#91;DEBUG&#93; 2014-07-31 07:15:47 yubiauth.core.controller: User lookup on: u'USERNAME' of type: &lt;type 'unicode'&gt; failed<br />&#91;INFO&#93; 2014-07-31 07:15:47 yubiauth.core.controller: User created: USERNAME<br />&#91;INFO&#93; 2014-07-31 07:15:47 yubiauth.client.controller: Auto-created LDAP user: USERNAME<br />&#91;INFO&#93; 2014-07-31 07:15:47 yubiauth.core.ldapauth: LDAP authentication successful. Bind DN: &quot;valid DN&quot;, server: ldap://DC.domain<br />&#91;DEBUG&#93; 2014-07-31 07:15:47 yubico.client: Sending HTTP request to http://localhost/wsapi/2.0/verify?id=1&amp;otp=SOMEVALIDOTPeicirlbuikdvelfvdckebtlenlgtfbbi&amp;nonce=c1sm3X3wZ79AF1KRpRQRw8S8W&amp;h=WAUg3M8WKHCALomptui2T8Acars= (thread=Thread-3)<br />&#91;DEBUG&#93; 2014-07-31 07:15:47 yubico.client: Using custom CA bunde: /usr/lib/ssl/certs/ca-certificates.crt<br />&#91;INFO&#93; 2014-07-31 07:15:47 requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): localhost<br />&#91;DEBUG&#93; 2014-07-31 07:15:47 requests.packages.urllib3.connectionpool: &quot;GET /wsapi/2.0/verify?id=1&amp;otp=SOMEVALIDOTPeicirlbuikdvelfvdckebtlenlgtfbbi&amp;nonce=c1sm3X3wZ79AF1KRpRQRw8S8W&amp;h=WAUg3M8WKHCALomptui2T8Acars= HTTP/1.1&quot; 200 166<br />&#91;DEBUG&#93; 2014-07-31 07:15:47 yubico.client: Received response from http://localhost/wsapi/2.0/verify?id=1&amp;otp=SOMEVALIDOTPeicirlbuikdvelfvdckebtlenlgtfbbi&amp;nonce=c1sm3X3wZ79AF1KRpRQRw8S8W&amp;h=WAUg3M8WKHCALomptui2T8Acars= (thread=Thread-3): h=XS54K49cuMs4NXF9it5eOCsaqdU=<br />t=2014-07-31T05:15:47Z0342<br />otp=SOMEVALIDOTPeicirlbuikdvelfvdckebtlenlgtfbbi<br />nonce=c1sm3X3wZ79AF1KRpRQRw8S8W<br />sl=0<br />status=OK<br /><br /><br />&#91;DEBUG&#93; 2014-07-31 07:16:22 yubiauth.core.controller: User lookup on: u'USERNAME' of type: &lt;type 'unicode'&gt; failed<br />&#91;INFO&#93; 2014-07-31 07:16:22 yubiauth.core.ldapauth: LDAP authentication successful. Bind DN: &quot;valid DN&quot;, server: ldap://DC.domain<br />&#91;DEBUG&#93; 2014-07-31 07:16:22 yubiauth.core.controller: User lookup on: u'USERNAME' of type: &lt;type 'unicode'&gt; failed<br />&#91;INFO&#93; 2014-07-31 07:16:22 yubiauth.core.controller: User created: USERNAME<br />&#91;INFO&#93; 2014-07-31 07:16:22 yubiauth.client.controller: Auto-created LDAP user: USERNAME<br />&#91;INFO&#93; 2014-07-31 07:16:22 yubiauth.core.ldapauth: LDAP authentication successful. Bind DN: &quot;valid DN&quot;, server: ldap://DC.domain<br />&#91;DEBUG&#93; 2014-07-31 07:16:22 yubico.client: Sending HTTP request to http://localhost/wsapi/2.0/verify?id=1&amp;otp=SOMEVALIDOTPvitthtlhengircnnjbrhehdejtbhlduf&amp;nonce=ciS2hbWa1SCiFS5hDofCySDAz&amp;h=J7O%2BbMvHIgZuMwwT582KvzWCWlY= (thread=Thread-4)<br />&#91;DEBUG&#93; 2014-07-31 07:16:22 yubico.client: Using custom CA bunde: /usr/lib/ssl/certs/ca-certificates.crt<br />&#91;INFO&#93; 2014-07-31 07:16:22 requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): localhost<br />&#91;DEBUG&#93; 2014-07-31 07:16:22 requests.packages.urllib3.connectionpool: &quot;GET /wsapi/2.0/verify?id=1&amp;otp=SOMEVALIDOTPvitthtlhengircnnjbrhehdejtbhlduf&amp;nonce=ciS2hbWa1SCiFS5hDofCySDAz&amp;h=J7O%2BbMvHIgZuMwwT582KvzWCWlY= HTTP/1.1&quot; 200 168<br />&#91;DEBUG&#93; 2014-07-31 07:16:22 yubico.client: Received response from http://localhost/wsapi/2.0/verify?id=1&amp;otp=SOMEVALIDOTPvitthtlhengircnnjbrhehdejtbhlduf&amp;nonce=ciS2hbWa1SCiFS5hDofCySDAz&amp;h=J7O%2BbMvHIgZuMwwT582KvzWCWlY= (thread=Thread-4): h=5HTjSoaRIUdAtgPZ4NLjvbM6XWQ=<br />t=2014-07-31T05:16:22Z0337<br />otp=SOMEVALIDOTPvitthtlhengircnnjbrhehdejtbhlduf<br />nonce=ciS2hbWa1SCiFS5hDofCySDAz<br />sl=0<br />status=OK<br /><br />&#91;DEBUG&#93; 2014-07-31 07:18:46 yubiauth.core.controller: User lookup username=USERNAME successful<br />&#91;INFO&#93; 2014-07-31 07:18:46 yubiauth.core.ldapauth: LDAP authentication successful. Bind DN: &quot;valid DN&quot;, server: ldap://DC.domain<br />&#91;DEBUG&#93; 2014-07-31 07:18:46 yubico.client: Sending HTTP request to http://localhost/wsapi/2.0/verify?id=1&amp;otp=SOMEVALIDOTPfbdvlbetfbuhjivhiekucjfudnfffeld&amp;nonce=3xDQ8sNG8pUws3QAN2SEzIxT7&amp;h=DJdFxxYkT9trwYPzOKOxUZ5j%2BZs= (thread=Thread-4)<br />&#91;DEBUG&#93; 2014-07-31 07:18:46 yubico.client: Using custom CA bunde: /usr/lib/ssl/certs/ca-certificates.crt<br />&#91;INFO&#93; 2014-07-31 07:18:46 requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): localhost<br />&#91;DEBUG&#93; 2014-07-31 07:18:46 requests.packages.urllib3.connectionpool: &quot;GET /wsapi/2.0/verify?id=1&amp;otp=SOMEVALIDOTPfbdvlbetfbuhjivhiekucjfudnfffeld&amp;nonce=3xDQ8sNG8pUws3QAN2SEzIxT7&amp;h=DJdFxxYkT9trwYPzOKOxUZ5j%2BZs= HTTP/1.1&quot; 200 169<br />&#91;DEBUG&#93; 2014-07-31 07:18:46 yubico.client: Received response from http://localhost/wsapi/2.0/verify?id=1&amp;otp=SOMEVALIDOTPfbdvlbetfbuhjivhiekucjfudnfffeld&amp;nonce=3xDQ8sNG8pUws3QAN2SEzIxT7&amp;h=DJdFxxYkT9trwYPzOKOxUZ5j%2BZs= (thread=Thread-4): h=ENnMR7uM5t25G82+6xTbLjB6tjM=<br />t=2014-07-31T05:18:46Z0908<br />otp=SOMEVALIDOTPfbdvlbetfbuhjivhiekucjfudnfffeld<br />nonce=3xDQ8sNG8pUws3QAN2SEzIxT7<br />sl=0<br />status=OK<br /><br /><br />&#91;INFO&#93; 2014-07-31 07:18:46 yubiauth.client.controller: Authentication successful. Username: USERNAME, password: &lt;valid password&gt;, OTP: SOMEVALIDOTPfbdvlbetfbuhjivhiekucjfudnfffeld<br />&#91;DEBUG&#93; 2014-07-31 07:19:07 yubiauth.core.controller: User lookup username=USERNAME successful<br />&#91;INFO&#93; 2014-07-31 07:19:07 yubiauth.core.ldapauth: LDAP authentication successful. Bind DN: &quot;valid DN&quot;, server: ldap://DC.domain<br />&#91;INFO&#93; 2014-07-31 07:19:07 yubiauth.client.controller: Authentication failed. Username: USERNAME, password: &lt;valid password&gt;, OTP: None<br />&#91;DEBUG&#93; 2014-07-31 07:19:32 yubiauth.core.controller: User lookup on: u'USERNAME' of type: &lt;type 'unicode'&gt; failed<br />&#91;INFO&#93; 2014-07-31 07:19:32 yubiauth.core.ldapauth: LDAP authentication successful. Bind DN: &quot;valid DN&quot;, server: ldap://DC.domain<br />&#91;DEBUG&#93; 2014-07-31 07:19:32 yubiauth.core.controller: User lookup on: u'USERNAME' of type: &lt;type 'unicode'&gt; failed<br />&#91;INFO&#93; 2014-07-31 07:19:32 yubiauth.core.controller: User created: USERNAME<br />&#91;INFO&#93; 2014-07-31 07:19:32 yubiauth.client.controller: Auto-created LDAP user: USERNAME<br />&#91;INFO&#93; 2014-07-31 07:19:32 yubiauth.core.ldapauth: LDAP authentication successful. Bind DN: &quot;valid DN&quot;, server: ldap://DC.domain<br />&#91;DEBUG&#93; 2014-07-31 07:19:32 yubico.client: Sending HTTP request to http://localhost/wsapi/2.0/verify?id=1&amp;otp=SOMEVALIDOTPhefgcnijlglviedndegihgurevbjiklb&amp;nonce=TIltn5hrFVCdjnxOF5qtbfu8z&amp;h=KmtZGkMalGwpZNmBNeMNLCyZ4C8= (thread=Thread-2)<br />&#91;DEBUG&#93; 2014-07-31 07:19:32 yubico.client: Using custom CA bunde: /usr/lib/ssl/certs/ca-certificates.crt<br />&#91;INFO&#93; 2014-07-31 07:19:32 requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): localhost<br />&#91;DEBUG&#93; 2014-07-31 07:19:32 requests.packages.urllib3.connectionpool: &quot;GET /wsapi/2.0/verify?id=1&amp;otp=SOMEVALIDOTPhefgcnijlglviedndegihgurevbjiklb&amp;nonce=TIltn5hrFVCdjnxOF5qtbfu8z&amp;h=KmtZGkMalGwpZNmBNeMNLCyZ4C8= HTTP/1.1&quot; 200 168<br />&#91;DEBUG&#93; 2014-07-31 07:19:32 yubico.client: Received response from http://localhost/wsapi/2.0/verify?id=1&amp;otp=SOMEVALIDOTPhefgcnijlglviedndegihgurevbjiklb&amp;nonce=TIltn5hrFVCdjnxOF5qtbfu8z&amp;h=KmtZGkMalGwpZNmBNeMNLCyZ4C8= (thread=Thread-2): h=HEOeSFbpxqlX2qd2mNBUAkxLlTQ=<br />t=2014-07-31T05:19:32Z0597<br />otp=SOMEVALIDOTPhefgcnijlglviedndegihgurevbjiklb<br />nonce=TIltn5hrFVCdjnxOF5qtbfu8z<br />sl=0<br />status=OK<br /><br /><br />&#91;DEBUG&#93; 2014-07-31 07:20:37 yubiauth.core.controller: User lookup username=USERNAME successful<br />&#91;INFO&#93; 2014-07-31 07:20:37 yubiauth.core.ldapauth: LDAP authentication successful. Bind DN: &quot;valid DN&quot;, server: ldap://DC.domain<br />&#91;DEBUG&#93; 2014-07-31 07:20:37 yubico.client: Sending HTTP request to http://localhost/wsapi/2.0/verify?id=1&amp;otp=SOMEVALIDOTPffufikbddfgtutnurefuufgebuneubvn&amp;nonce=eGkxxkQc0r7FOzU7TPBRdc612&amp;h=uS%2Bdmtea6iatYQlAjlx6k7uUymA= (thread=Thread-4)<br />&#91;DEBUG&#93; 2014-07-31 07:20:37 yubico.client: Using custom CA bunde: /usr/lib/ssl/certs/ca-certificates.crt<br />&#91;INFO&#93; 2014-07-31 07:20:37 requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): localhost<br />&#91;DEBUG&#93; 2014-07-31 07:20:37 requests.packages.urllib3.connectionpool: &quot;GET /wsapi/2.0/verify?id=1&amp;otp=SOMEVALIDOTPffufikbddfgtutnurefuufgebuneubvn&amp;nonce=eGkxxkQc0r7FOzU7TPBRdc612&amp;h=uS%2Bdmtea6iatYQlAjlx6k7uUymA= HTTP/1.1&quot; 200 168<br />&#91;DEBUG&#93; 2014-07-31 07:20:37 yubico.client: Received response from http://localhost/wsapi/2.0/verify?id=1&amp;otp=SOMEVALIDOTPffufikbddfgtutnurefuufgebuneubvn&amp;nonce=eGkxxkQc0r7FOzU7TPBRdc612&amp;h=uS%2Bdmtea6iatYQlAjlx6k7uUymA= (thread=Thread-4): h=oUHZozwSxlkGoYUE9GFmuAPmCzk=<br />t=2014-07-31T05:20:37Z0878<br />otp=SOMEVALIDOTPffufikbddfgtutnurefuufgebuneubvn<br />nonce=eGkxxkQc0r7FOzU7TPBRdc612<br />sl=0<br />status=OK<br /><br /><br />&#91;INFO&#93; 2014-07-31 07:20:37 yubiauth.client.controller: Authentication successful. Username: USERNAME, password: &lt;valid password&gt;, OTP: SOMEVALIDOTPffufikbddfgtutnurefuufgebuneubvn</div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2709">Tobias</a> — Thu Jul 31, 2014 8:58 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[nvitaly]]></name></author>
<updated>2014-05-07T14:09:21+01:00</updated>
<published>2014-05-07T14:09:21+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1380&amp;p=5250#p5250</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1380&amp;p=5250#p5250"/>
<title type="html"><![CDATA[[BUG] User lookup failed after long inactivity]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1380&amp;p=5250#p5250"><![CDATA[
Hello,<br /><br />Every time I trying to login in the morning, I have to retry exactly 6 times. Here is log:<br /><br />[DEBUG] 2014-05-07 05:52:43 yubiauth.core.controller: User lookup on: u'myusername' of type: &lt;type 'unicode'&gt; failed<br />[INFO] 2014-05-07 05:52:43 yubiauth.client.controller: Authentication failed. No such user: myusername<br />[DEBUG] 2014-05-07 05:52:49 yubiauth.core.controller: User lookup on: u'myusername' of type: &lt;type 'unicode'&gt; failed<br />[INFO] 2014-05-07 05:52:49 yubiauth.client.controller: Authentication failed. No such user: myusername<br />[DEBUG] 2014-05-07 05:52:57 yubiauth.core.controller: User lookup on: u'myusername' of type: &lt;type 'unicode'&gt; failed<br />[INFO] 2014-05-07 05:52:57 yubiauth.client.controller: Authentication failed. No such user: myusername<br />[DEBUG] 2014-05-07 05:53:59 yubiauth.core.controller: User lookup on: u'myusername' of type: &lt;type 'unicode'&gt; failed<br />[INFO] 2014-05-07 05:53:59 yubiauth.client.controller: Authentication failed. No such user: myusername<br />[DEBUG] 2014-05-07 05:54:04 yubiauth.core.controller: User lookup on: u'myusername' of type: &lt;type 'unicode'&gt; failed<br />[INFO] 2014-05-07 05:54:04 yubiauth.client.controller: Authentication failed. No such user: myusername<br />[DEBUG] 2014-05-07 05:54:10 yubiauth.core.controller: User lookup username=myusername successful<br />[DEBUG] 2014-05-07 05:54:10 yubico.client: Sending HTTP request to https://api.yubico.com/wsapi/2.0/verify?id=16386&amp;otp=XXXX&amp;nonce=XXX&amp;h=XXX= (thread=Thread-41)<br /><br />I have already increased debug level. Can not find where to dig further.<br /><br />Thank you<br /><br />Details:<br /><br />root@yubix-u-nj:~# dpkg -l | grep yub<br />ii  python-yubiadmin                 0.1.7-1~ppa1~precise1             Web interface for configuring Yubico services<br />ii  python-yubiauth                  0.3.8-1~ppa1~precise1             User management system with YubiKey validation<br />ii  python-yubico-client             1.9.1-1~ppa1~precise1             Python Yubico Client<br />ii  yubikey-ksm                      1.13-1~ppa1~precise1              Key Storage Module for YubiKey One-Time Password (OTP) tokens<br />ii  yubikey-val                      2.24-1~ppa1~precise1              One-Time Password (OTP) validation server for YubiKey tokens<br />ii  yubix                            0.5.6~ppa2~precise1               Sets up and configures basic YubiKey servers<br /><br />root@yubix-u-nj:~# uname -a<br />Linux yubix-u-nj 3.11.0-19-generic #33~precise1-Ubuntu SMP Wed Mar 12 21:16:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2904">nvitaly</a> — Wed May 07, 2014 2:09 pm</p><hr />
]]></content>
</entry>
</feed>