[GeoNode-devel] Geoserver: No AuthenticationProvider on GeoNode Container
Daniel Berry
dberry at boundlessgeo.com
Wed Jan 4 15:58:19 PST 2017
Wayner,
Did you ensure that you loaded the fixture?
python manage.py loaddata default_oauth_apps
In my docker setup I also needed to run some sed statements for the
security filter and role file for oauth2 in geoserver data dir,
specifically these -
sed -i.bak 's at localhost:\(8000\|8080\)@172.16.238.2 at g' \
/tmp/geoserver/data/security/filter/geonode-oauth2/config.xml && \
sed -i.bak 's at localhost:8000 at 172.16.238.2@g' \
/tmp/geoserver/data/security/role/geonode\ REST\ role\
service/config.xml && \
I had run into an issue with GEONODE_LOCKDOWN = True
https://github.com/GeoNode/geonode/pull/2801
Cheers!
Dan
On Wed, Jan 4, 2017 at 2:12 PM, Wayner Barrios <wayner at piensa.co> wrote:
>
> Hi All,
>
> I've been trying deployment on docker with the new authentication on
> docker, and I got the following error.
> [image: Inline image 1]
>
> However, django container and geoserver container are connected in the
> same network, because I can ping it and curl it. As you can see in the
> following:
>
> root at db8cd2498945:/usr/src/app# ping geoserver
> PING geoserver (172.23.0.7): 56 data bytes
> 64 bytes from 172.23.0.7: icmp_seq=0 ttl=64 time=0.349 ms
> 64 bytes from 172.23.0.7: icmp_seq=1 ttl=64 time=0.194 ms
> 64 bytes from 172.23.0.7: icmp_seq=2 ttl=64 time=0.135 ms
> 64 bytes from 172.23.0.7: icmp_seq=3 ttl=64 time=0.210 ms
> 64 bytes from 172.23.0.7: icmp_seq=4 ttl=64 time=0.126 ms
> 64 bytes from 172.23.0.7: icmp_seq=5 ttl=64 time=0.163 ms
> 64 bytes from 172.23.0.7: icmp_seq=6 ttl=64 time=0.150 ms
>
> root at db8cd2498945:/usr/src/app# curl geoserver:8080
>
>
>
> <!DOCTYPE html>
> <html lang="en">
> <head>
> <meta charset="UTF-8" />
> <title>Apache Tomcat/9.0.0.M13</title>
> <link href="favicon.ico" rel="icon" type="image/x-icon" />
> <link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
> <link href="tomcat.css" rel="stylesheet" type="text/css" />
> </head>
>
> <body>
> <div id="wrapper">
> <div id="navigation" class="curved container">
> <span id="nav-home"><a href="http://tomcat.apache.org/">Home</a></span>......
>
> Does anyone give any solution or the best way to do that? I just followed those steps from GeoSolutions: GeoSolutions_new_GeoServer_setup.txt <https://github.com/GeoNode/geonode/files/685760/GeoSolutions_new_GeoServer_setup.txt>
> Who can give me support on that?
>
> Best,
> Wayner
>
>
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-devel
>
>
--
*Daniel Berry*
Senior Software Engineer | Boundless
dberry at boundlessgeo.com
512-468-3946 (cell)
@boundlessgeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20170104/1372876e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 115475 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20170104/1372876e/attachment-0001.png>
More information about the geonode-devel
mailing list