Server won't connect to internet services Topic is solved

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
stewie
Posts: 5
Joined: Thursday 28 January 2016 13:48
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Contact:

Server won't connect to internet services

Post by stewie »

I installed Domoticz on Windows and tested following services successfully: Kodi, weatherunderground, email notification, android notification

I also installed it on my raspberry pi on my existing raspbian which connects via wlan0. On the raspberry I can get Kodi working fine but not weatherunderground, or any notifications so it seems that the services using internet doesn't work.

I can open websites on the raspberry, so there is an internet connection.

For example, if I use http://api.wunderground.com/api/MYAPI/c ... ENG66.json on my windows system it works fine but on the raspberry it says:
"error": {
"type": "station offline"
}


Anyone knows what's going on?
stewie
Posts: 5
Joined: Thursday 28 January 2016 13:48
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Contact:

Re: Server won't connect to internet services

Post by stewie »

So I tried more services, but nothing seems to be working on my raspbery pi domoticz installation. Everything is working fine on my windows installation.

This is from the log:
2016-01-31 17:47:07.308 Error: ForecastIO: Error getting http data!
2016-01-31 17:47:07.309 Error: Wunderground: Error getting http data!
2016-01-31 17:54:32.746 Error: Pushbullet:
2016-01-31 17:54:32.746 Error: Notification sent (pushbullet) => Failed
2016-01-31 17:54:32.782 Active notification subsystems: (0/10)
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Server won't connect to internet services

Post by gizmocuz »

Sounds like an internet/dns problem, did you try some wget commands ?
Quality outlives Quantity!
stewie
Posts: 5
Joined: Thursday 28 January 2016 13:48
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Contact:

Re: Server won't connect to internet services

Post by stewie »

Yes it seems like it. But I can access internet, update programs and use wget commands just fine.

Is there maybe a setting in domoticz or in domoticz.sh that can be changed?

Maybe I should note that I'm using UnoDNS as a DNS server
Sneezydevil
Posts: 111
Joined: Monday 18 January 2016 9:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Server won't connect to internet services

Post by Sneezydevil »

I am not familiar with the inner workings of UnoDNS, but what happens when you wget the Weatherunderground url, does that work?

Is UnoDNS vital to the Pi? Otherwise you can try and force your ISP's DNS and see what happens.
stewie
Posts: 5
Joined: Thursday 28 January 2016 13:48
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Contact:

Re: Server won't connect to internet services

Post by stewie »

tested wget http://www.wunderground.com/US/CA/San_Francisco.html : It successfully retrieved the .html
tested wget http://api.wunderground.com/api/MYAPI/c ... ENG66.json but it says "station offline"

I then used my ISP's DNS and now everything is working fine. UnoDNS is used to turn off my region identification so that I can watch netflix USA. So it is not vital for the Pi, but I do need it. Anyone knows how I can workaround this?
Sneezydevil
Posts: 111
Joined: Monday 18 January 2016 9:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Server won't connect to internet services

Post by Sneezydevil »

Where is the setting for UnoDNS, in your router or on every device?
And are using the Pi to watch NetFlix on?
stewie
Posts: 5
Joined: Thursday 28 January 2016 13:48
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Contact:

Re: Server won't connect to internet services

Post by stewie »

Currently in the router. I am not using Domoticz Pi for netflix. So I guess the would be my work around.

Just hoped there would be a proper solution should this problem occur again, but at least now I know what the problem is.

Thanks for the help guys.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest