Problem resolved by rebooting emonpi! Why did emonpi local server still work OK; it was only emoncms.org I had the problem with?