It's still not working for me: WebSocket connection to 'ws://mosscrkmqtt.duckdns.org:9001/mqtt' failed: Error in connection establishment: net::ERR_ADDRESS_UNREACHABLE
mosscrkmqtt.duckdns.org resolves $ dig mosscrkmqtt.duckdns.org ; <<>> DiG 9.10.6 <<>> mosscrkmqtt.duckdns.org ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13595 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4000 ;; QUESTION SECTION: ;mosscrkmqtt.duckdns.org. IN A ;; ANSWER SECTION: mosscrkmqtt.duckdns.org. 58 IN A 75.190.103.181 ;; Query time: 154 msec ;; SERVER: 192.168.0.91#53(192.168.0.91) ;; WHEN: Wed Sep 18 07:01:49 PDT 2019 ;; MSG SIZE rcvd: 68 but I can't open port 9001 $ telnet mosscrkmqtt.duckdns.org 9001 Trying 75.190.103.181... telnet: connect to address 75.190.103.181: Network is unreachable telnet: Unable to connect to remote host Can you confirm port 9001 is open to the outside world and is port forwarding to your weewx computer host? Eric On Tue, Sep 17, 2019 at 8:36 PM K Weaver <[email protected]> wrote: > Ok, problem solved. I put my dynamic DNS in the web socket host location > and it looks all good now. > > On Tue, Sep 17, 2019, 7:54 PM K Weaver <[email protected]> wrote: > >> The 162 IP may be my dynamic dns... >> >> On Tue, Sep 17, 2019, 7:38 PM Eric Mears <[email protected]> wrote: >> >>> I'm seeing this when I use the chrome debugger: >>> >>> mqttws31.min.js:36 WebSocket connection to 'ws:// >>> 192.168.86.51:9001/mqtt' failed: Error in connection establishment: >>> net::ERR_CONNECTION_TIMED_OUT >>> >>> >>> I don't think 192.168.86.51 is right, mosscreekweather.org is mapping >>> to 162.241.244.37 >>> >>> Did you open port 9001 to the outside world on your router? >>> >>> >>> Eric >>> >>> >>> On Tue, Sep 17, 2019 at 2:52 PM K Weaver <[email protected]> wrote: >>> >>>> I have mqtt up and running with mo errors. 1883 for the port and 9001 >>>> for the web socket. >>>> >>>> When Im home on the wifi I can connect and get the green flashing dot. >>>> Over the web outside my network it gets the pending connection message. >>>> >>>> I can post logs later if needed. I was hoping I was missing something >>>> simple. >>>> >>>> Mosscreekweather.org/weewx >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "weewx-user" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/weewx-user/8e9d790d-75bd-4fea-b0b2-e34c5555e063%40googlegroups.com >>>> . >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "weewx-user" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/CACzmTWfW_feh2j-X3AsXu7CF2PxDGYeVO1iGz2XqNswLt0M0Eg%40mail.gmail.com >>> <https://groups.google.com/d/msgid/weewx-user/CACzmTWfW_feh2j-X3AsXu7CF2PxDGYeVO1iGz2XqNswLt0M0Eg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/CAJ3%3D2yWV797-Vt5L-kW%3DpdudCmtPaB8qA5hOYr52SmGwZX73mA%40mail.gmail.com > <https://groups.google.com/d/msgid/weewx-user/CAJ3%3D2yWV797-Vt5L-kW%3DpdudCmtPaB8qA5hOYr52SmGwZX73mA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CACzmTWcL6EwmCJ4CqstnN7peUq9HgfDzxYSb8LDoDgYS5342dQ%40mail.gmail.com.
