<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 23.09.2019 um 09:36 schrieb Filip Hanes <<a href="mailto:filip.hanes@ringier.sk" class="">filip.hanes@ringier.sk</a>>:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><br class=""></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">št 19. 9. 2019 o 15:30 Fabian via dovecot <<a href="mailto:dovecot@dovecot.org" class="">dovecot@dovecot.org</a>> napísal(a):</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Are there any other hints or tips regarding this „invalid uid ‚0‘"-message?<br class="">
</blockquote></div>from fts-solr source:<div class=""><div style="font-size:12px;line-height:18px;white-space:pre" class=""><div style="" class=""><span style="background-color:rgb(255,255,255)" class=""><font face="monospace" class="">    case SOLR_XML_CONTENT_STATE_UID:</font></span></div><div style="" class=""><font face="monospace" style="background-color:rgb(255,255,255)" class="">        if (uint32_parse(str, len, &ctx->uid) < 0 || ctx->uid == 0) {</font></div><div style="" class=""><font face="monospace" class=""><font style="background-color:rgb(255,255,255)" class="">            i_error("fts_solr: received invalid uid '%s'",</font><span style="background-color:rgb(255,255,255)" class=""><font class=""> t_strndup(str, len));</font></span></font></div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);line-height:18px" class=""><div class=""></div></div><div style="" class=""></div></div><div class="">It means that plugin tries to parse '0' when in state of parsing uid in xml response from solr or there is a bug in xml response parser.</div><div class="">I would enable rawlog_dir in config and look there for unusual response or extra tags near usual uid in xml response. For example:</div><div class=""><pre class=""><code class="">plugin {
  fts = solr
  fts_solr = url=... rawlog_dir=/var/log/fts-solr/
}</code></pre></div><br class=""></div></div>
</div></blockquote><br class=""></div><div>Thanks for this tip! The rawlog_dir option is not yet supported in our version 2.3.4. What we could provide now would be the XML-Response from Solr. The corresponding search query sometimes causes this error. But Solr's answer seems to always remain the same - in my opinion this already indicates a bug of Dovecot?</div><div><br class=""></div><div>The XML response can be downloaded here: <a href="https://owncloud.eideo.de/index.php/s/8oyJaf5HBK6zdbr" class="">https://owncloud.eideo.de/index.php/s/8oyJaf5HBK6zdbr</a></div><div><br class=""></div><div>Kind regards,</div><div>Fabian</div><br class=""></body></html>