What cloudflare service are you using? I just do my DDNS with them, then I proxy all except the MQTT. I thought about using their tunnel, but it would have required wholesale changes which I didn't want to do. On Wednesday, July 26, 2023 at 7:40:51 AM UTC-4 gary....@gmail.com wrote:
> Doesn't matter where the mosquitto server is hosted, cloudflare doesn't > allow WS or WSS > Yes, my server has it's own SSL cert and is a cname, no proxy via > cloudflare. > > > On Tuesday, July 25, 2023 at 9:55:05 PM UTC-4 Kevin Crivelli wrote: > >> I get that in theory and I think I got close to setting that up right >> before but could you give me some more details on your setup? Do you just >> make like anl cname for the mqtt like mqtt.yourdnsname.com and turn off >> proxy for it. Here's the thing tho, I'm using a public mqtt server. Thought >> that would get around it.. I'm just confused but on the right track >> >> On Tue, Jul 25, 2023, 9:47 PM gary....@gmail.com <gary....@gmail.com> >> wrote: >> >>> If you read their docs/faq carefully, you will note that a ws/wss >>> connection is not supported. >>> I get around this by proxying all except the mqtt server. That one is >>> the same server, just a different cname. >>> Give that a try. It is the only 'solution' I could come up with. >>> >>> On Monday, July 24, 2023 at 11:49:06 AM UTC-4 Kevin Davis wrote: >>> >>>> Do you know what ports ARE available to you? You can change the port >>>> from 1883 in config.xml. >>>> >>>> -Kevin >>>> >>>> On Mon, Jul 24, 2023 at 8:20 AM Kevin Crivelli <kevinjc...@gmail.com> >>>> wrote: >>>> >>>>> I have been able to get MQTT to work via my local address inside my >>>>> network however when I attempt to do this at my website >>>>> https://kevinheaven.net which goes through cloudflare I am unable to >>>>> get this to work. I had discovered that cloudflare does not support the >>>>> ports that mqtt work through. I am wondering if anyone else has run into >>>>> this issue and if so has found a work around for it. I am using a public >>>>> MQTT broker hive.mq. >>>>> >>>>> -- >>>>> 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 weewx-user+...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/weewx-user/0a014d25-6dc5-432c-b53e-0d6ccc299288n%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/weewx-user/0a014d25-6dc5-432c-b53e-0d6ccc299288n%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 weewx-user+...@googlegroups.com. >>> >> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/94e58efa-9a56-4141-9758-7ec8ecf4548bn%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/94e58efa-9a56-4141-9758-7ec8ecf4548bn%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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/06bf9e3c-0aad-43c1-a47d-508ea86effebn%40googlegroups.com.