I am having trouble uploading images in the Mezzanine/Django admin 
interface. When I attempt an upload, I see the phrase "IO Error" in red, 
which quickly disappears. If there is more information, it flashes by too 
quickly to see it.

I am running Mezzanine on Ubuntu 14.04 LTS. I installed Pillow using the 
directions on readthedocs 
(http://pillow.readthedocs.org/en/latest/installation.html), and the only 
issue I see is that OpenJPEG is not supported. This is perhaps due to an 
issue with Ubuntu (https://github.com/python-pillow/Pillow/issues/623). 
That said, PNG files will not upload either, leading me to believe that the 
issue is deeper.

Another issue might be the SSL configurations. I force everything to SSL, 
like so.
*SSL_ENABLED = True*
*SSL_FORCE_URL_PREFIXES = ('/admin', '/account', '/asset_proxy')*
*SSL_FORCE_HOST = "example.com:444"*

As you can see, application is running on port 444 rather than port 443. 
443 is blocked by my ISP, and so not an option. When I reload Apache, I see 
the following error in error.log:



*[Wed Apr 22 01:03:46.636603 2015] [ssl:warn] [pid 2127:tid 
140159444633472] AH01906: RSA server certificate is a CA certificate 
(BasicConstraints: CA == TRUE !?)[Wed Apr 22 01:03:46.636659 2015] 
[ssl:warn] [pid 2127:tid 140159444633472] AH01909: RSA certificate 
configured for example.com:443 does NOT include an ID which matches the 
server name*
My certificate is a self-signed certificate generated with openssl. I guess 
it's bound by default to port 443, but I can't find any documentation, in 
the man page or elsewhere, that indicates that the port can be changed when 
generating a certificate.

Is there a way to debug this better? How can I simulate an image upload in 
the Django shell, or is that even possible? Do I need to change the logging 
configurations so that the details of these errors pop up somewhere? Why 
does this seem to fail silently other than the cryptic "IO error message"?

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to