No, not for mqtt websockets. That's connected to your mosquitto installation and not a webserver like nginx or apache.
Check your mosquitto logs to see what's happening On Thursday, October 3, 2019 at 9:45:02 PM UTC-4, K Weaver wrote: > > Does it matter if I'm using Apache or nginx? > > > On Thu, Oct 3, 2019, 2:54 PM K Weaver <[email protected] <javascript:>> > wrote: > >> I used cloud but couldn't get the client to connect.... >> >> I can't figure out why it shuts down like that around 9 every morning. >> >> It seems like the sub for the client is connecting separately to the raw >> data and the real time. >> >> On Thu, Oct 3, 2019, 1:25 PM Pat <[email protected] <javascript:>> >> wrote: >> >>> Have you considered trying a free public broker to resolve some of the >>> other issues outlined in this post for the interim? Then once those are >>> fixed you can focus on making your broker stable? >>> >>> >>> >>> On Thursday, October 3, 2019 at 11:40:38 AM UTC-4, K Weaver wrote: >>>> >>>> And checking from work its back down again...😒 >>>> >>>> On Wed, Oct 2, 2019, 10:40 PM K Weaver <[email protected]> wrote: >>>> >>>>> 10:39 pm Its up. I'm not gonna try to make any edits if anyone wants >>>>> to check it out. >>>>> Sorry about that >>>>> >>>>> >>>>> On Wed, Oct 2, 2019, 7:51 PM Pat <[email protected]> wrote: >>>>> >>>>>> I still think you have something else going on. You posted 18 minutes >>>>>> ago, and I cannot reach it. >>>>>> >>>>>> WebSocket connection to 'ws://mosscrkmqtt.duckdns.org:9001/mqtt' >>>>>> failed: Unknown reason >>>>>> >>>>>> >>>>>> >>>>>> On Wednesday, October 2, 2019 at 7:32:39 PM UTC-4, K Weaver wrote: >>>>>>> >>>>>>> It's accessable online now if anyone is available to check it out. >>>>>>> >>>>>>> On Wed, Oct 2, 2019, 2:12 PM K Weaver <[email protected]> wrote: >>>>>>> >>>>>>>> for some reason it disconnects every morning around 9 am >>>>>>>> >>>>>>>> On Tue, Oct 1, 2019, 10:18 PM K Weaver <[email protected]> wrote: >>>>>>>> >>>>>>>>> I'm able to pull it up on my phone without WiFi . >>>>>>>>> >>>>>>>>> On Tue, Oct 1, 2019, 8:07 PM Pat <[email protected]> wrote: >>>>>>>>> >>>>>>>>>> Looks like it's down again - or it's not working externally still >>>>>>>>>> >>>>>>>>>> On Tuesday, October 1, 2019 at 6:39:02 PM UTC-4, K Weaver wrote: >>>>>>>>>>> >>>>>>>>>>> I'm home from work now and reset it. >>>>>>>>>>> I'm not sure why it shut down... >>>>>>>>>>> >>>>>>>>>>> On Tue, Oct 1, 2019, 3:29 PM Pat <[email protected]> wrote: >>>>>>>>>>> >>>>>>>>>>>> Looks like it's down again or you have a firewall issue again. >>>>>>>>>>>> >>>>>>>>>>>> WebSocket connection to 'ws://mosscrkmqtt.duckdns.org:9001/mqtt' >>>>>>>>>>>> failed: Unknown reason >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Monday, September 30, 2019 at 10:26:05 PM UTC-4, K Weaver >>>>>>>>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> Hey, its back up and running now. Only thing now it appears to >>>>>>>>>>>>> be flipping between raw data and real time data...... >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Here is a snippet of the log. You can really see it flipping >>>>>>>>>>>>> back and forth on the site. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> ': 1} >>>>>>>>>>>>> Sep 30 19:57:26 raspberrypi weewx[23528]: restx: MQTT: >>>>>>>>>>>>> Published record 2019-09-30 19:57:26 EDT (1569887846) >>>>>>>>>>>>> Sep 30 19:57:31 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> ServerThread: GET: >>>>>>>>>>>>> dateutc=now&action=updateraw&realtime=1&id=24C86E0936CB&mt=tower&sensor=00004264&humidity=56&tempf=73.4&baromin=29.31&battery=low&rssi=3 >>>>>>>>>>>>> Sep 30 19:57:31 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> MainThread: raw data: >>>>>>>>>>>>> dateutc=now&action=updateraw&realtime=1&id=24C86E0936CB&mt=tower&sensor=00004264&humidity=56&tempf=73.4&baromin=29.31&battery=low&rssi=3 >>>>>>>>>>>>> Sep 30 19:57:31 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> MainThread: ignored parameter realtime=1 >>>>>>>>>>>>> Sep 30 19:57:31 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> MainThread: ignored parameter action=updateraw >>>>>>>>>>>>> Sep 30 19:57:31 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> MainThread: raw packet: {'sensor_type.00004264.24C86E0936CB': >>>>>>>>>>>>> 'tower', >>>>>>>>>>>>> 'battery.00004264.24C86E0936CB': 1, >>>>>>>>>>>>> 'sensor_id.00004264.24C86E0936CB': >>>>>>>>>>>>> '00004264', 'dateTime.00004264.24C86E0936CB': 1569887851, >>>>>>>>>>>>> 'humidity.00004264.24C86E0936CB': 56.0, 'dateTime': 1569887851, >>>>>>>>>>>>> 'temperature.00004264.24C86E0936CB': 73.4, >>>>>>>>>>>>> 'pressure.00004264.24C86E0936CB': 29.31, >>>>>>>>>>>>> 'rssi.00004264.24C86E0936CB': >>>>>>>>>>>>> 75.0, 'bridge_id.00004264.24C86E0936CB': '24C86E0936CB', >>>>>>>>>>>>> 'usUnits.00004264.24C86E0936CB': 1, 'usUnits': 1} >>>>>>>>>>>>> Sep 30 19:57:31 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> MainThread: mapped packet: {'txBatteryStatus': 1, 'outTemp': >>>>>>>>>>>>> 73.4, >>>>>>>>>>>>> 'outHumidity': 56.0, 'dateTime': 1569887851, 'pressure': 29.31, >>>>>>>>>>>>> 'rxCheckPercent': 75.0, 'usUnits': 1} >>>>>>>>>>>>> Sep 30 19:57:31 raspberrypi weewx[23528]: restx: MQTT: >>>>>>>>>>>>> Published record 2019-09-30 19:57:31 EDT (1569887851) >>>>>>>>>>>>> Sep 30 19:57:41 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> MainThread: empty queue >>>>>>>>>>>>> Sep 30 19:57:44 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> ServerThread: GET: >>>>>>>>>>>>> dateutc=now&action=updateraw&realtime=1&id=24C86E0936CB&mt=5N1x31&sensor=00000583&windspeedmph=0&winddir=338&rainin=0.00&dailyrainin=0.00&baromin=29.31&battery=normal&rssi=3 >>>>>>>>>>>>> Sep 30 19:57:44 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> MainThread: raw data: >>>>>>>>>>>>> dateutc=now&action=updateraw&realtime=1&id=24C86E0936CB&mt=5N1x31&sensor=00000583&windspeedmph=0&winddir=338&rainin=0.00&dailyrainin=0.00&baromin=29.31&battery=normal&rssi=3 >>>>>>>>>>>>> Sep 30 19:57:44 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> MainThread: ignored parameter realtime=1 >>>>>>>>>>>>> Sep 30 19:57:44 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> MainThread: ignored parameter rainin=0.00 >>>>>>>>>>>>> Sep 30 19:57:44 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> MainThread: ignored parameter action=updateraw >>>>>>>>>>>>> Sep 30 19:57:44 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> MainThread: raw packet: {'rainfall.00000583.24C86E0936CB': 0.0, >>>>>>>>>>>>> 'battery.00000583.24C86E0936CB': 0, >>>>>>>>>>>>> 'sensor_id.00000583.24C86E0936CB': >>>>>>>>>>>>> '00000583', 'rssi.00000583.24C86E0936CB': 75.0, >>>>>>>>>>>>> 'windspeed.00000583.24C86E0936CB': 0.0, >>>>>>>>>>>>> 'winddir.00000583.24C86E0936CB': >>>>>>>>>>>>> 338.0, 'dateTime': 1569887864, 'pressure.00000583.24C86E0936CB': >>>>>>>>>>>>> 29.31, >>>>>>>>>>>>> 'usUnits.00000583.24C86E0936CB': 1, >>>>>>>>>>>>> 'rain_total.00000583.24C86E0936CB': >>>>>>>>>>>>> 0.0, 'bridge_id.00000583.24C86E0936CB': '24C86E0936CB', >>>>>>>>>>>>> 'dateTime.00000583.24C86E0936CB': 1569887864, >>>>>>>>>>>>> 'sensor_type.00000583.24C86E0936CB': '5N1x31', 'usUnits': 1} >>>>>>>>>>>>> Sep 30 19:57:44 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> MainThread: mapped packet: {'txBatteryStatus': 0, 'rain': 0.0, >>>>>>>>>>>>> 'dateTime': >>>>>>>>>>>>> 1569887864, 'windDir': 338.0, 'pressure': 29.31, 'windSpeed': >>>>>>>>>>>>> 0.0, >>>>>>>>>>>>> 'rxCheckPercent': 75.0, 'usUnits': 1} >>>>>>>>>>>>> Sep 30 19:57:44 raspberrypi weewx[23528]: restx: MQTT: >>>>>>>>>>>>> Published record 2019-09-30 19:57:44 EDT (1569887864) >>>>>>>>>>>>> Sep 30 19:57:46 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> ServerThread: GET: >>>>>>>>>>>>> dateutc=now&action=updateraw&realtime=1&id=24C86E0936CB&mt=tower&sensor=00004264&humidity=56&tempf=73.4&baromin=29.31&battery=low&rssi=3 >>>>>>>>>>>>> Sep 30 19:57:47 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> MainThread: raw data: >>>>>>>>>>>>> dateutc=now&action=updateraw&realtime=1&id=24C86E0936CB&mt=tower&sensor=00004264&humidity=56&tempf=73.4&baromin=29.31&battery=low&rssi=3 >>>>>>>>>>>>> Sep 30 19:57:47 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> MainThread: ignored parameter realtime=1 >>>>>>>>>>>>> Sep 30 19:57:47 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> MainThread: ignored parameter action=updateraw >>>>>>>>>>>>> Sep 30 19:57:47 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> MainThread: raw packet: {'sensor_type.00004264.24C86E0936CB': >>>>>>>>>>>>> 'tower', >>>>>>>>>>>>> 'battery.00004264.24C86E0936CB': 1, >>>>>>>>>>>>> 'sensor_id.00004264.24C86E0936CB': >>>>>>>>>>>>> '00004264', 'dateTime.00004264.24C86E0936CB': 1569887867, >>>>>>>>>>>>> 'humidity.00004264.24C86E0936CB': 56.0, 'dateTime': 1569887867, >>>>>>>>>>>>> 'temperature.00004264.24C86E0936CB': 73.4, >>>>>>>>>>>>> 'pressure.00004264.24C86E0936CB': 29.31, >>>>>>>>>>>>> 'rssi.00004264.24C86E0936CB': >>>>>>>>>>>>> 75.0, 'bridge_id.00004264.24C86E0936CB': '24C86E0936CB', >>>>>>>>>>>>> 'usUnits.00004264.24C86E0936CB': 1, 'usUnits': 1} >>>>>>>>>>>>> Sep 30 19:57:47 raspberrypi weewx[23528]: interceptor: >>>>>>>>>>>>> MainThread: mapped packet: {'txBatteryStatus': 1, 'outTemp': >>>>>>>>>>>>> 73.4, >>>>>>>>>>>>> 'outHumidity': 56.0, 'dateTime': 1569887867, 'pressure': 29.31, >>>>>>>>>>>>> 'rxCheckPercent': 75.0, 'usUnits': 1} >>>>>>>>>>>>> Sep 30 19:57:47 raspberrypi weewx[23528]: restx: MQTT: >>>>>>>>>>>>> Published record 2019-09-30 19:57:47 EDT (1569887867) >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>> 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/7e4016d5-d246-456c-b8ec-1ce9641c1289%40googlegroups.com >>>>>>>>>>>> >>>>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/7e4016d5-d246-456c-b8ec-1ce9641c1289%40googlegroups.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/c671c7b2-5fbd-4b98-b26a-607e5ae5530b%40googlegroups.com >>>>>>>>>> >>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/c671c7b2-5fbd-4b98-b26a-607e5ae5530b%40googlegroups.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/4ccf1ec8-2adb-4c87-a239-68e5500868a0%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/weewx-user/4ccf1ec8-2adb-4c87-a239-68e5500868a0%40googlegroups.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] <javascript:>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/40fdcf58-8c8f-4f72-8eb9-3ab343c15ab8%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/40fdcf58-8c8f-4f72-8eb9-3ab343c15ab8%40googlegroups.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/5d77205b-bbba-43f8-b949-8b5e3d6b8ee0%40googlegroups.com.
