Yeah, that's why I mentioned my ISP was blocking the port. I called them today, and the guy told me they weren't blocking the port though. I find that hard to believe, since they are known to block a fair share of service ports to keep servers off their system. I also tested straight on the cable modem with the same result, so I know they were to blame.
Anyways, the time synchronization started working probably two hours ago. I am thinking that the ISP went ahead and opened the port in the meantime due to my call.
In any case, I had already opened ticket #7010 (
http://jira.boxee.tv/browse/BOXEE-7010 ) due to this, and I think solely relying on an internet connection to get time for the device isn't exactly a robust solution.
I just tried starting the Boxee with no net connection, and it does see the time as 12:00 AM. I brought the net connection back, and it did attain the correct time, so that is good. That said, I think if the normal NTP synchronization fails, trying "ntpdate -u" should be tried immediately after.
Something like...
Step 1: try "ntpdate pool.ntp.org"
Step 2: if "date +%Y" is 2000, try "ntpdate -u pool.ntp.org"
That way, with step 2, you'll at least get any people who may have set up their router's firewall wrong, or have ISPs like mine.
I still think the RTC should be updated if a valid date/time is attained though, as that could then be read from to get a date/time if the internet were out in the future. I almost think that may not be possible though due to the nature of the device. I'm sure you devs know better.
In any case, thank you, esch, for writing back. It is appreciated!
Bookmarks