[ckan-dev] User sessions don't work

Antonio Jesús Sánchez Padial antonio.sanchez at inia.es
Wed Dec 7 08:09:39 UTC 2016


Hi Carl,

Thanks for your support.

We are running CKAN behind Apache (in port 80). Requests are served via 
WSGI. CKAN config file says it runs on port 5000, but I think that only 
happens in debug mode, doesn't it?

This is my Apache VirtualHost configuration for CKAN, though I think 
it's the standard one:

    <VirtualHost *:80>
         ServerName data.inia.es
         WSGIScriptAlias / /etc/ckan/default/apache.wsgi
         # pass authorization info on (needed for rest api)
         WSGIPassAuthorization On
         # Deploy as a daemon (avoids conflicts between CKAN instances)
         WSGIDaemonProcess ckan_default display-name=ckan_default
    processes=2 threads=15
         WSGIProcessGroup ckan_default
         ErrorLog /var/log/apache2/ckan_default.error.log
         CustomLog /var/log/apache2/ckan_default.custom.log combined
         <IfModule mod_rpaf.c>
             RPAFenable On
             RPAFsethostname On
             RPAFproxy_ips 127.0.0.1
         </IfModule>
    </VirtualHost>

I didn't find anything remarkable in the logs, either.

Best regards,


El 05/12/2016 a las 15:48, Carl Lange escribió:
> Hi Antonio,
>
> Is your CKAN behind basic HTTP authentication?
> Is your CKAN hosted at a port other than 80?
> Did you do anything special with the nginx settings at 
> /etc/nginx/sites-available/ckan?
>
> Cheers,
> Carl
>
>
> On Mon, 5 Dec 2016 at 12:57 Antonio Jesús Sánchez Padial 
> <antonio.sanchez at inia.es <mailto:antonio.sanchez at inia.es>> wrote:
>
>     Hi CKAN friends,
>
>     probably this is a very basic question, but I feel I need some
>     guidance
>     at this moment.
>
>     We have installed CKAN in our private network. We can login and it
>     works
>     fine with the admin user. We have created also some non-admin users to
>     play with. When we login with those users it seems to work, but
>     when we
>     navigate to any other page in the CKAN site the session is lost (the
>     login and register links appear in the top bar, instead of the user
>     information).
>
>     Can anyone point us where to find additional information about
>     what are
>     we doing wrong? I couldn't find anything on google, or ckan doc, but I
>     feel like I'm not using the proper wording.
>
>     Thanks,
>
>     --
>     Antonio Jesús Sánchez Padial
>     Jefe del Servicio de Biometría
>     antonio.sanchez at inia.es <mailto:antonio.sanchez at inia.es>
>     Tlfno: +34 91 347 6831 <tel:+34%20913%2047%2068%2031>
>     INIA, Ctra.m de La Coruña, km.7
>     28040 Madrid
>
>     Boletín Agrobits de ciencia de datos en investigación agraria
>     http://agrobits.spadial.com
>
>     _______________________________________________
>     ckan-dev mailing list
>     ckan-dev at lists.okfn.org <mailto:ckan-dev at lists.okfn.org>
>     https://lists.okfn.org/mailman/listinfo/ckan-dev
>     Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev

-- 
Antonio Jesús Sánchez Padial
Jefe del Servicio de Biometría
antonio.sanchez at inia.es
Tlfno: +34 91 347 6831
INIA, Ctra.m de La Coruña, km.7
28040 Madrid

Boletín Agrobits de ciencia de datos en investigación agraria
   http://agrobits.spadial.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20161207/5962670f/attachment-0003.html>


More information about the ckan-dev mailing list