Bug#798610: ciderwebmail: Error message "Please come back later" shown when running via uWSGI

Jonas Smedegaard dr at jones.dk
Fri Sep 11 22:15:17 UTC 2015


Quoting James Valleroy (2015-09-11 22:47:12)
> On 09/11/2015 04:30 AM, Jonas Smedegaard wrote:
>> Quoting James Valleroy (2015-09-11 01:22:21)
>>> I attempted to integrate ciderwebmail with Apache2 via uWSGI, based 
>>> on the instructions given in README.Debian. But when I access 
>>> http://localhost/cider, I just get a page that says "(en) Please 
>>> come back later" (along with several other translations of that 
>>> error message). I don't see any error messages in the uwsgi logs.
>>
>> From your description it sounds like CiderWebmail instance may be 
>> served perfectly fine, but the Apache2 proxy is misconfigured to 
>> redirect to it somehow.
>
> The page showing the error doesn't look like a usual Apache error 
> page.

uWSGI has two parts:
  * Each app spawns and offers connections via a UNIX socket
  * A reverse proxy routes http(s) connections to those UNIX sockets

Your comment of "[no] error messages in the uwsgi logs" means the app 
part seemingly works fine.

The error served when browsing into the URL comes from the reverse proxy 
- the log files for that is the apache2 log.

> I attached a screenshot.

Ahhh, I thinks I found the cause of the problem: You are missing a final 
slash in your URL: Try this instead: http://localhost/cider/

I use this in my vhost config - probably makes sense to add the same to 
the snippet shipped with the package:

  RedirectMatch permanent ^/cider$ /cider/


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20150912/574bf499/attachment-0001.sig>


More information about the pkg-perl-maintainers mailing list