Author Topic: networking issue --- bug in gateway firmware 406?  (Read 10167 times)

Tom

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
networking issue --- bug in gateway firmware 406?
« on: April 13, 2011, 01:27:42 PM »
Hello,

before I post a ticket, I was wondering if anyone else has seen this problem.
My TED gateway is on DHCP, gets the IP address of 192.168.8.102. I go to the footprints and enable the energy postings to a third party API with 1minute intervals.
Everything is working fine.

Now I come back after five days, and the Third party API is still working, but these things are screwed up:
- the gateway is still using this IP address, but hasn't done any recent renewals of the lease
- the gateway's web server is still listening, but it doesn't find anymore of its pages:

tom@xxxxxx:~$ wget http://192.168.8.102/Footprints.html
--2011-04-13 16:06:22--  http://192.168.8.102/Footprints.html
Connecting to 192.168.8.102:80... connected.
HTTP request sent, awaiting response... 404 Not found
2011-04-13 16:06:22 ERROR 404: Not found.


Cheers
Tom


Tom

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: networking issue --- bug in gateway firmware 406?
« Reply #1 on: April 13, 2011, 01:31:12 PM »
BTW, a simple power cycle fixes it:


tom@d2009:~$ wget http://192.168.8.102/Footprints.html
--2011-04-13 16:26:27--  http://192.168.8.102/Footprints.html
Connecting to 192.168.8.102:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `Footprints.html'

    [ <=>                                                                                                                                                   ] 368         --.-K/s   in 0s     

2011-04-13 16:26:27 (81.5 MB/s) - `Footprints.html' saved [368]

TedDev

  • TED Software Developent
  • Administrator
  • Full Member
  • *****
  • Posts: 158
  • Karma: +0/-0
Re: networking issue --- bug in gateway firmware 406?
« Reply #2 on: April 14, 2011, 06:37:44 PM »
This has recently been fixed in our development tree. The fix is currently being tested and will be part of the next Beta firmware release in a few weeks.

The issue occurs when the 3rd party server being posted to is down (unresponsive) for a period of time (20-40 minutes).  The gateway is still colllecting data in this state, and will eventually reset on it own. The fix is to prevent the state to begin with.

dannyted

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +0/-0
    • Energy Monitor Blog
Re: networking issue --- bug in gateway firmware 406?
« Reply #3 on: April 15, 2011, 02:28:40 PM »
Yes I had seen the issue and posted about it last week.  It looks like they have addressed it.
My Energy Blog - http://energymonitorblog.com
     --A site dedicated to discussing power saving information.

My Personal Blog - http://dannymullen.net

MyTed5000 - http://myted5k.com/danny/
     --Live Data from my ted5000

Like me on Facebook
http://www.facebook.com/pages/EnergyMonitorB

Tom

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: networking issue --- bug in gateway firmware 406?
« Reply #4 on: May 28, 2011, 11:25:15 AM »
This has recently been fixed in our development tree. The fix is currently being tested and will be part of the next Beta firmware release in a few weeks.

The issue occurs when the 3rd party server being posted to is down (unresponsive) for a period of time (20-40 minutes).  The gateway is still colllecting data in this state, and will eventually reset on it own. The fix is to prevent the state to begin with.

I have not seen "will eventually reset of its own". From all the cases I have seen, it just gets stuck in this state for as many days as you leave it without a power cycle. Very bad for an embedded system.

dannyted

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +0/-0
    • Energy Monitor Blog
Re: networking issue --- bug in gateway firmware 406?
« Reply #5 on: May 31, 2011, 09:16:16 AM »
Any idea when the new firmware will be released?
My Energy Blog - http://energymonitorblog.com
     --A site dedicated to discussing power saving information.

My Personal Blog - http://dannymullen.net

MyTed5000 - http://myted5k.com/danny/
     --Live Data from my ted5000

Like me on Facebook
http://www.facebook.com/pages/EnergyMonitorB

TedDev

  • TED Software Developent
  • Administrator
  • Full Member
  • *****
  • Posts: 158
  • Karma: +0/-0
Re: networking issue --- bug in gateway firmware 406?
« Reply #6 on: June 05, 2011, 12:17:42 AM »
We've been internally testing the release candidate for the last few weeks and everything looks good so far. If no showstopper issues pop up between now and Monday we'll post the beta early next week.

dannyted

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +0/-0
    • Energy Monitor Blog
Re: networking issue --- bug in gateway firmware 406?
« Reply #7 on: June 05, 2011, 12:37:14 AM »
Thanks!
My Energy Blog - http://energymonitorblog.com
     --A site dedicated to discussing power saving information.

My Personal Blog - http://dannymullen.net

MyTed5000 - http://myted5k.com/danny/
     --Live Data from my ted5000

Like me on Facebook
http://www.facebook.com/pages/EnergyMonitorB

TedDev

  • TED Software Developent
  • Administrator
  • Full Member
  • *****
  • Posts: 158
  • Karma: +0/-0
Re: networking issue --- bug in gateway firmware 406?
« Reply #8 on: June 09, 2011, 06:54:08 PM »
Firmware beta has been released. Info available here:

http://www.theenergydetectiveforums.com/index.php/topic,296.0.html

dannyted

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +0/-0
    • Energy Monitor Blog
Re: networking issue --- bug in gateway firmware 406?
« Reply #9 on: June 10, 2011, 08:13:36 AM »
Thanks will try tomorrow evening.
My Energy Blog - http://energymonitorblog.com
     --A site dedicated to discussing power saving information.

My Personal Blog - http://dannymullen.net

MyTed5000 - http://myted5k.com/danny/
     --Live Data from my ted5000

Like me on Facebook
http://www.facebook.com/pages/EnergyMonitorB