<div dir="ltr">Wayner,<div><br></div><div>Did you ensure that you loaded the fixture?</div><div><br></div><div> python manage.py loaddata default_oauth_apps</div><div><br></div><div>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 - </div><div><br></div><div><div> sed -i.bak 's@localhost:\(8000\|8080\)@172.16.238.2@g' \</div><div> /tmp/geoserver/data/security/filter/geonode-oauth2/config.xml && \</div><div> sed -i.bak 's@localhost:8000@172.16.238.2@g' \</div><div> /tmp/geoserver/data/security/role/geonode\ REST\ role\ service/config.xml && \</div></div><div><br></div><div>I had run into an issue with GEONODE_LOCKDOWN = True</div><div><br></div><div><a href="https://github.com/GeoNode/geonode/pull/2801">https://github.com/GeoNode/geonode/pull/2801</a><br></div><div><br></div><div>Cheers!</div><div><br></div><div>Dan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 4, 2017 at 2:12 PM, Wayner Barrios <span dir="ltr"><<a href="mailto:wayner@piensa.co" target="_blank">wayner@piensa.co</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span style="color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px">Hi All, </span></div><div><span style="color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px"><br></span></div><span style="color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px">I've been trying deployment on docker with the new authentication on docker, and I got the following error.</span><div><span style="color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px"><img src="cid:ii_1596b176975fd8a6" alt="Inline image 1" width="485" height="173"><br></span></div><div><span style="color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px">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:</span><span style="color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px"><br></span></div><div><pre style="box-sizing:border-box;font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:11.9px;margin-top:0px;margin-bottom:16px;font-stretch:normal;line-height:1.45;word-wrap:normal;padding:16px;overflow:auto;background-color:rgb(247,247,247);border-radius:3px;color:rgb(51,51,51)"><code style="box-sizing:border-box;font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:11.9px;padding:0px;margin:0px;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:transparent;border-radius:3px;word-break:normal;border:0px;display:inline;overflow:visible;line-height:inherit;word-wrap:normal">root@db8cd2498945:/usr/src/app<wbr># ping geoserver
PING geoserver (172.23.0.7): 56 data bytes
64 bytes from <a href="http://172.23.0.7" target="_blank">172.23.0.7</a>: icmp_seq=0 ttl=64 time=0.349 ms
64 bytes from <a href="http://172.23.0.7" target="_blank">172.23.0.7</a>: icmp_seq=1 ttl=64 time=0.194 ms
64 bytes from <a href="http://172.23.0.7" target="_blank">172.23.0.7</a>: icmp_seq=2 ttl=64 time=0.135 ms
64 bytes from <a href="http://172.23.0.7" target="_blank">172.23.0.7</a>: icmp_seq=3 ttl=64 time=0.210 ms
64 bytes from <a href="http://172.23.0.7" target="_blank">172.23.0.7</a>: icmp_seq=4 ttl=64 time=0.126 ms
64 bytes from <a href="http://172.23.0.7" target="_blank">172.23.0.7</a>: icmp_seq=5 ttl=64 time=0.163 ms
64 bytes from <a href="http://172.23.0.7" target="_blank">172.23.0.7</a>: icmp_seq=6 ttl=64 time=0.150 ms
root@db8cd2498945:/usr/src/app<wbr># 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="<a href="http://tomcat.apache.org/" target="_blank">http://tomcat.apache.org<wbr>/</a>">Home</a></span>......</code></pre><pre style="box-sizing:border-box;font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:11.9px;margin-top:0px;margin-bottom:16px;font-stretch:normal;line-height:1.45;word-wrap:normal;padding:16px;overflow:auto;border-radius:3px;color:rgb(51,51,51)"><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;white-space:normal">Does anyone give any solution or the best way to do that? I just followed those steps from GeoSolutions: <a href="https://github.com/GeoNode/geonode/files/685760/GeoSolutions_new_GeoServer_setup.txt" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none" target="_blank">GeoSolutions_<wbr>new_GeoServer_setup.txt</a></p><div><span style="font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;white-space:normal">Who can give me support on that?</span><br></div><div><span style="font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;white-space:normal"><br></span></div><div><span style="font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;white-space:normal">Best, </span></div><span class="HOEnZb"><font color="#888888"><div><span style="font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;white-space:normal">Wayner</span></div></font></span></pre></div></div>
<br>______________________________<wbr>_________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/geonode-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><b><font face="tahoma, sans-serif">Daniel Berry</font></b></div><div><span style="font-family:tahoma,sans-serif;font-size:small">Senior Software Engineer</span><font face="tahoma, sans-serif"> | Boundless</font></div><div><a href="mailto:dberry@boundlessgeo.com" target="_blank"><font face="tahoma, sans-serif">dberry<font color="#1155cc">@boundlessgeo.com</font></font></a></div><div><font face="tahoma, sans-serif">512-468-3946 (cell)</font></div><div><font face="tahoma, sans-serif">@boundlessgeo</font></div><div><br style="font-size:12.8px"><img src="https://docs.google.com/a/boundlessgeo.com/uc?id=0B_qVH4CJ8mXOa3E1YUNySzN2d00&export=download" style="font-size:12.8px"><br></div></div></div></div></div></div>
</div>