Couldn't send to server, URLError: [Errno -2] Name or service not known

Is anyone else experiencing this error when trying to post data to emoncms.org?

Couldn't send to server, URLError: [Errno -2] Name or service not known

I've swapped ISP and router today and can no longer connect my main "live" pi to emoncms.org. I have managed to get another Pi/SDcard combo working but I cannot for the life of me get a response from emoncms.org on the Pi that has been working flawless for months, until today.

I had assumed it was due to the ISP/router change (although every other device in the house has switched without an issue) but now a new user is trying to set up a system and getting the same error " Newbie. Trouble geting OpenEnergyMonitor to work

I have already started reinstalling the troublesome image from scratch so I can't do any further checks now.

Paul

JRFeeney's picture

Re: Couldn't send to server, URLError: [Errno -2] Name or service not known

I am getting the same error but it is a first time install.

 

The emonBase - Raspberry Pi EmonHub configuration:

[[localemoncms]]
    Type = EmonHubEmoncmsHTTPInterfacer
    [[[init_settings]]]
    [[[runtimesettings]]]
        pubchannels = ToRFM12,
        subchannels = ToEmonCMS,
        url = http://192.168.25.102\emoncms
        apikey = xxxx
        senddata = 1
        sendstatus = 1

 

and I get this in the log files:

2015-10-05 21:55:58,630 INFO     localemoncms sending: http://192.168.25.102\emoncms/input/bulk.json?apikey=E-M-O-N-C-M-S-A-P-I-K-E-Y&data=[[1444082131,10,9,0,0,0,121.51,0,0,0,0,0,0,1,-36],[1444082153,10,10,0,0,0,121.68,0,0,0,0,0,0,1,-36]]&sentat=1444082158
2015-10-05 21:55:58,910 WARNING  localemoncms localemoncms couldn't send to server, URLError: [Errno -2] Name or service not known
2015-10-05 21:55:58,911 WARNING  localemoncms send failure: wanted 'ok' but got ''

 

 

JRFeeney's picture

Re: Couldn't send to server, URLError: [Errno -2] Name or service not known

Oooops!

http://192.168.25.102\emoncms

Should be

http://192.168.25.102/emoncms

 

Sorry

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.