<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Luiz,<br>
<br>
very simple, the way the app is configured triggers the security
exceptions of most browsers, for example on Chromium:<br>
<br>
Failed to load resource: <a class="moz-txt-link-freetext" href="net::ERR_INSECURE_RESPONSE">net::ERR_INSECURE_RESPONSE</a>
<a class="moz-txt-link-freetext" href="https://52.34.132.55/api/v1/links.geojson">https://52.34.132.55/api/v1/links.geojson</a> Failed to load resource:
<a class="moz-txt-link-freetext" href="net::ERR_INSECURE_RESPONSE">net::ERR_INSECURE_RESPONSE</a><br>
<br>
This happens for a combination of reasons: the frontend loads from
hiperguardioes.neblinalab.net but calls the API on 52.34.132.55
which has an invalid SSL certificate which must be accepted
explicitly (not really practical).<br>
Make sure API calls go to the same domain. If they must go to a
different domain, that domain must have a valid SSL certificate
and CORS needs to be enabled (although it should be enabled by
default).<br>
<br>
Everything clear?<br>
<br>
Federico<br>
<br>
<br>
On 11/26/2015 09:59 PM, Luiz A. Menezes Filho wrote:<br>
</div>
<blockquote
cite="mid:CA+Lk5gkRUX2KP84isPAw5FFg0=ZvU6x17-ccpCF7geV952Ag9w@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>I just deployed nodeshot to an amazon ec2 instance
using ubuntu 14.04. Everything seemed fine but the
authentication is not working. I can login but can't add
nodes or edit profile, doing it causes an "Authentication
credentials were not provided." error.<br>
<br>
</div>
The nodeshot is hosted at: <a moz-do-not-send="true"
href="https://hiperguardioes.neblinalab.net/"
target="_blank">https://hiperguardioes.neblinalab.net/</a><br>
</div>
This account is available for testing:<br>
</div>
<div>user: hyperuser<br>
</div>
<div>pass: 123<br>
<br>
</div>
<div>Any idea of what's happening?<br>
</div>
<div><br>
</div>
<div>Thx,<br>
</div>
Att,</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Nodeshot mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nodeshot@ml.ninux.org">Nodeshot@ml.ninux.org</a>
<a class="moz-txt-link-freetext" href="http://ml.ninux.org/mailman/listinfo/nodeshot">http://ml.ninux.org/mailman/listinfo/nodeshot</a>
</pre>
</blockquote>
<br>
</body>
</html>