<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Hub not sending Internet http Request after reboot]]></title><description><![CDATA[<p dir="auto">I've programmed buttons on a Hub LR with an Internet Request posting  a JSON message to one of our servers. It worked as intended.<br />
Came back a few weeks later, didn't work anymore (no changes). Added a second button with similar programming, also not working.</p>
<p dir="auto">I reset the hub, programmed one, working again. Programmed 29 more in a similar fashion, moved the hub out to production within 10 minutes (so with a power cycled), and none of them worked anymore.</p>
<p dir="auto">Thinking the hub is bad, I tried the same with another hub, and first it's working, programmed 10 buttons, after power cycle again not working. Tried "jump starting" it with various methods, like adding more buttons, removing, changing settings, no luck, The hub itself seems to register the button push as the LED flashes and the button icon in the app wobbles.</p>
<p dir="auto">When using the SDK to submit a similar request on a "working" hub (essentially the example from the SDK tutorial at <a href="https://hubsdk.flic.io/static/tutorial/" rel="nofollow ugc">https://hubsdk.flic.io/static/tutorial/</a>), it also works fine and I get status code 200 back, as expected.</p>
<p dir="auto">When I run the same code in the SDK on a "malfunctioning" hub I get this error as a result:</p>
<pre><code>TypeError: cannot read property 'statusCode' of undefined
    at [anon] (duktape.c:56634) internal
    at [anon] (root/test1/main.js:37)
    at handleResponse (http.js:62)
    at handlePacket (pipe_communication.js:56)
    at readCallback (pipe_communication.js:93) preventsyield
</code></pre>
<p dir="auto">Anybody experienced something similar to this?</p>
<p dir="auto">We have a bunch of other flic hubs in use that do not seem to have that problem. I'm not sure if it's something I am doing, but the only action between it working and not working is a power cycle. Quite annoying and ready send 16 packs of buttons back to them.</p>
]]></description><link>https://community.flic.io/topic/18192/hub-not-sending-internet-http-request-after-reboot</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Mar 2026 16:47:47 GMT</lastBuildDate><atom:link href="https://community.flic.io/topic/18192.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Oct 2022 15:31:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hub not sending Internet http Request after reboot on Thu, 27 Oct 2022 10:39:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/4569">@alces</a> as you can see on <a href="https://superuser.com/questions/1581627/where-is-my-lan-hostname-stored" rel="nofollow ugc">https://superuser.com/questions/1581627/where-is-my-lan-hostname-stored</a>, hostnames on the LAN is not really a "basic feature of networking" since there are like four different "standards" for that. Currently, the only thing you should rely on is that you use a FQDN that the DNS resolver the DHCP server gives the hub will resolve.</p>
]]></description><link>https://community.flic.io/post/20452</link><guid isPermaLink="true">https://community.flic.io/post/20452</guid><dc:creator><![CDATA[Emil]]></dc:creator><pubDate>Thu, 27 Oct 2022 10:39:44 GMT</pubDate></item><item><title><![CDATA[Reply to Hub not sending Internet http Request after reboot on Mon, 24 Oct 2022 12:36:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/57">@Emil</a> Yes, computer name on the network. Does that mean you essentially have not implemented one of the basic features of networking? Although it seems to work in the beginning for some time?</p>
<p dir="auto">Is that then trye for using the FQDN, as well, and I can expect this stop at any random time?</p>
]]></description><link>https://community.flic.io/post/20450</link><guid isPermaLink="true">https://community.flic.io/post/20450</guid><dc:creator><![CDATA[alces]]></dc:creator><pubDate>Mon, 24 Oct 2022 12:36:19 GMT</pubDate></item><item><title><![CDATA[Reply to Hub not sending Internet http Request after reboot on Fri, 21 Oct 2022 22:01:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/4569">@alces</a> with hostname, do you mean the computer name on the local network? In that case, it's not something we support currently so don't expect it to work.</p>
]]></description><link>https://community.flic.io/post/20449</link><guid isPermaLink="true">https://community.flic.io/post/20449</guid><dc:creator><![CDATA[Emil]]></dc:creator><pubDate>Fri, 21 Oct 2022 22:01:34 GMT</pubDate></item><item><title><![CDATA[Reply to Hub not sending Internet http Request after reboot on Fri, 21 Oct 2022 15:05:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/57">@Emil</a>  Another update. Working with our networking team to see if requests to the name server may get blocked at some point (they don't), they suggested to try the FQDN, and that also worked on the "broken hub". So it seems after some time hostname only does not work anymore, something about how the received DHCP options are handled maybe? Would explain that it stops working after a power cycling.</p>
]]></description><link>https://community.flic.io/post/20448</link><guid isPermaLink="true">https://community.flic.io/post/20448</guid><dc:creator><![CDATA[alces]]></dc:creator><pubDate>Fri, 21 Oct 2022 15:05:31 GMT</pubDate></item><item><title><![CDATA[Reply to Hub not sending Internet http Request after reboot on Fri, 21 Oct 2022 14:29:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/57">@Emil</a> ok, with the changes in the code I get a more descriptive error:</p>
<p dir="auto">request status:<br />
Unknown hostname: ourserver: Temporary failure in name resolution<br />
undefined</p>
<p dir="auto">When i put the IP address in the request, it works.</p>
<p dir="auto">While this is a name resolution issue now, I still think it is somehow hub related. Having another (still working) hub on the same switch, that still works using the host name, while the "broken hub" has the name resolution problem (and none of our few hundred other pieces of equipment have a name resolution issue either).</p>
<p dir="auto">I can work around this for now using the IP, but it sounds like there might be some issue with the hub (firmware).</p>
]]></description><link>https://community.flic.io/post/20447</link><guid isPermaLink="true">https://community.flic.io/post/20447</guid><dc:creator><![CDATA[alces]]></dc:creator><pubDate>Fri, 21 Oct 2022 14:29:55 GMT</pubDate></item><item><title><![CDATA[Reply to Hub not sending Internet http Request after reboot on Fri, 21 Oct 2022 13:28:07 GMT]]></title><description><![CDATA[<p dir="auto">We have updated the example code so this error being thrown should not happen anymore.</p>
]]></description><link>https://community.flic.io/post/20446</link><guid isPermaLink="true">https://community.flic.io/post/20446</guid><dc:creator><![CDATA[Emil]]></dc:creator><pubDate>Fri, 21 Oct 2022 13:28:07 GMT</pubDate></item><item><title><![CDATA[Reply to Hub not sending Internet http Request after reboot on Tue, 18 Oct 2022 07:30:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/4569">@alces</a> the example is a bit simplified as it does not handle the error case. If the request couldn't be made, <code>res</code> will be undefined and <code>err</code> will contain the error. Could you possibly tell what the <code>err</code> parameter contains?</p>
]]></description><link>https://community.flic.io/post/20440</link><guid isPermaLink="true">https://community.flic.io/post/20440</guid><dc:creator><![CDATA[Emil]]></dc:creator><pubDate>Tue, 18 Oct 2022 07:30:57 GMT</pubDate></item></channel></rss>