[prev in list] [next in list] [prev in thread] [next in thread]
List: volkszaehler-dev
Subject: Re: [vz-users] "Network Error"
From: Andreas Goetz <cpuidle () gmail ! com>
Date: 2018-12-10 15:56:56
Message-ID: CAD+a8MhP-L+JY=4-v=zKPmtHiT-HXGe3RnDkeiQrJVLUjsnDpg () mail ! gmail ! com
[Download RAW message or body]
Ich verstehe es ernsthaft nicht da der Server auch korrekte Header
ausliefert:
Response
HTTP/1.1 200 OK
Content-Type: application/json
*Access-Control-Allow-Origin: **
Date: Mon, 10 Dec 2018 15:55:04 GMT
Cache-Control: no-cache, private
Connection: close
Server: Apache/2.4.25
Strict-Transport-Security: max-age=15724800
Aber sei's drum, Hauptsache es geht...
On Mon, Dec 10, 2018 at 2:26 PM Andreas Goetz <cpuidle@gmail.com> wrote:
> Die Meldung in der Konsole ist normal, kein Fehler. Der CORS Fehler
> verwirrt mich möglich. Die CORS Header sind im Repository drin, ich sehe
> sie aber auf Demo nicht. Trotzdem bekomme ich keinen Fehler wenn ich vom
> lokalen Browser aus cross.origin zugreife.
>
> Vielleicht hat ja Justin noch eine Idee.
>
> Viele Grüße,
> Andreas
>
>
> On Mon, Dec 10, 2018 at 2:03 PM Marc Haber <
> mh+volkszaehler-users@zugschlus.de> wrote:
>
> > On Mon, Dec 10, 2018 at 01:43:29PM +0100, Andreas Goetz wrote:
> > > Kannst Du mal bitte Deine htdocs/javascript/options.js aus dem
> > Volkszähler
> > > Verzeichnis zeigen?
> >
> > /home/pi/volkszaehler.org/htdocs/js/options.js ist ident mit
> >
> > https://raw.githubusercontent.com/volkszaehler/volkszaehler.org/25cfdb72ebbcd564ddb84204986be4a7d2eac28f/htdocs/js/options.js
> > ,
> > es fehlt also nur die im letzten Commit hinzugefügte gap-Variable.
> >
> > > Dort kannst Du auch demo auskommentieren.
> >
> > Nach dem Entfernen von
> > title: 'Volkszaehler Demo',
> > url: '
> > https://demo.volkszaehler.org/middleware.php'
> > }
> >
> > Kommt der Network Error nicht mehr, in der Browserkonsole steht jetzt
> > auch nur noch "Firefox can't establish a connection to the server at
> > ws://192.168.188.213/ws. autobahn.min.js:62:491".
> >
> > Im Firewall-Log steht nichts, wenn der Pi den Zugriff probieren würde,
> > dann ginge er auch durch.
> >
> > Kann das was damit zu tun haben, dass der Pi bei mir vollständiges und
> > funktionierendes IPv6 hat? Aber er kann demo.volkszaehler.org auch per
> > IPv6 erreichen.
> >
> > Grüße
> > Marc
> >
> > --
> >
> > -----------------------------------------------------------------------------
> > Marc Haber | "I don't trust Computers. They | Mailadresse im
> > Header
> > Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224
> > 1600402
> > Nordisch by Nature | How to make an American Quilt | Fax: *49 6224
> > 1600421
> >
>
[Attachment #3 (text/html)]
<div dir="ltr"><div dir="ltr">Ich verstehe es ernsthaft nicht da der Server auch \
korrekte Header ausliefert:<div><br></div><div><div>Response</div><div>HTTP/1.1 200 \
OK</div><div>Content-Type: application/json</div><div><b>Access-Control-Allow-Origin: \
*</b></div><div>Date: Mon, 10 Dec 2018 15:55:04 GMT</div><div>Cache-Control: \
no-cache, private</div><div>Connection: close</div><div>Server: \
Apache/2.4.25</div><div>Strict-Transport-Security: \
max-age=15724800</div></div><div><br></div><div>Aber sei's drum, Hauptsache es \
geht...</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 10, \
2018 at 2:26 PM Andreas Goetz <<a \
href="mailto:cpuidle@gmail.com">cpuidle@gmail.com</a>> wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div \
dir="ltr"><div>Die Meldung in der Konsole ist normal, kein Fehler. Der CORS Fehler \
verwirrt mich möglich. Die CORS Header sind im Repository drin, ich sehe sie aber \
auf Demo nicht. Trotzdem bekomme ich keinen Fehler wenn ich vom lokalen Browser aus \
cross.origin zugreife.</div><div><br></div><div>Vielleicht hat ja Justin noch eine \
Idee.</div><div><br></div><div>Viele \
Grüße,</div><div>Andreas</div><div><br></div></div><br><div \
class="gmail_quote"><div dir="ltr">On Mon, Dec 10, 2018 at 2:03 PM Marc Haber <<a \
href="mailto:mh%2Bvolkszaehler-users@zugschlus.de" \
target="_blank">mh+volkszaehler-users@zugschlus.de</a>> \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">On \
Mon, Dec 10, 2018 at 01:43:29PM +0100, Andreas Goetz wrote:<br> > Kannst Du mal \
bitte Deine htdocs/javascript/options.js aus dem Volkszähler<br> > Verzeichnis \
zeigen?<br> <br>
/home/pi/<a href="http://volkszaehler.org/htdocs/js/options.js" rel="noreferrer" \
target="_blank">volkszaehler.org/htdocs/js/options.js</a> ist ident mit<br> <a \
href="https://raw.githubusercontent.com/volkszaehler/volkszaehler.org/25cfdb72ebbcd564ddb84204986be4a7d2eac28f/htdocs/js/options.js" \
rel="noreferrer" target="_blank">https://raw.githubusercontent.com/volkszaehler/volksz \
aehler.org/25cfdb72ebbcd564ddb84204986be4a7d2eac28f/htdocs/js/options.js</a>,<br> es \
fehlt also nur die im letzten Commit hinzugefügte gap-Variable.<br> <br>
>Dort kannst Du auch demo auskommentieren.<br>
<br>
Nach dem Entfernen von<br>
title: 'Volkszaehler Demo',<br>
url: '<a \
href="https://demo.volkszaehler.org/middleware.php" rel="noreferrer" \
target="_blank">https://demo.volkszaehler.org/middleware.php</a>'<br> }<br>
<br>
Kommt der Network Error nicht mehr, in der Browserkonsole steht jetzt<br>
auch nur noch "Firefox can't establish a connection to the server at<br>
ws://<a href="http://192.168.188.213/ws" rel="noreferrer" \
target="_blank">192.168.188.213/ws</a>. autobahn.min.js:62:491".<br> <br>
Im Firewall-Log steht nichts, wenn der Pi den Zugriff probieren würde,<br>
dann ginge er auch durch.<br>
<br>
Kann das was damit zu tun haben, dass der Pi bei mir vollständiges und<br>
funktionierendes IPv6 hat? Aber er kann <a href="http://demo.volkszaehler.org" \
rel="noreferrer" target="_blank">demo.volkszaehler.org</a> auch per<br> IPv6 \
erreichen.<br> <br>
Grüße<br>
Marc<br>
<br>
-- <br>
-----------------------------------------------------------------------------<br>
Marc Haber | "I don't trust Computers. They | Mailadresse im \
Header<br> Leimen, Germany | lose things." Winona Ryder | Fon: *49 \
6224 1600402<br> Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 \
1600421<br> </blockquote></div>
</blockquote></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic