Wunderground upload problem using TCP

I am trying to upload my information from my Particle to Wunderground. I have a weather station getting all the required information. This is my code relevant to this issue:

char SERVER [] = "rupdate.wunderground.com"; //Standard server - for sends once per minute or less
char WEBPAGE [] = "GET /weatherstation/updateweatherstation.php?";

//Station Identification
char ID [] = "KMNGRANA2"; //Your station ID here
char PASSWORD [] = "<my password here>"; //your Weather Underground password here

TCPClient client;
void weatherReport()
{ 
if (client.connect(SERVER, 80)) {    //Output all variables needed by Wunderground
client.print(WEBPAGE);
client.print("ID=");
client.print(ID);
client.print("&PASSWORD=");
client.print(PASSWORD);
client.print("&dateutc=now"); //can use 'now' instead of time if sending in real time
client.print("&tempf=");
client.print(tempF);
client.print("&dewptf=");
client.print(dewpointF);
client.print("&humidity="); 
client.print(humidity);
client.print("&baromin=");
client.print(inchesMercury);
client.print("&winddir=");
client.print(winddir);
client.print("&windspeedmph=");
client.print(windspdmph);
client.print("&rainin=");
client.print(rainin);
client.print("&dailyrainin=");
client.print(dailyrainin);
client.print("&windgustmph=");
client.print(windgustmph);
client.print("&wwindgustdir=");
client.print(windgustdir);
client.print("&windspdmph_avg2m=");
client.print(windspdmph_avg2m);
client.print("&winddir_avg2m=");
client.print(winddir_avg2m);
client.print("&windgustmph_10m=");
client.print(windgustmph_10m);    
client.print("&windgustdir_10m=");
client.print(windgustdir_10m);
client.print("&action=updateraw"); //Standard update rate - for sending once a minute or less
client.print("&softwaretype=Particle-Photon&action=updateraw&realtime=1&rtfreq=5"); //Rapid Fire update rate - for sending multiple times per minute, specify frequency in seconds
client.println();
delay(5000);
}
else
{
Serial.println(("Connection failed"));
return;
}
}

The weather station had been broadcasting extremely well until recently. Now Wundergroud doesn’t register that it has been receiving any data at all.I have read that it might be an issue with the DNS but I don’t know what that means or how to fix it.
The other thing I am interested in is using a Webhook instead of TCP and I would appropriate any help.
Thanks in advance,
Ben

Hi, I have the same problem! Look here: https://apicommunity.wunderground.com/weatherapi/topics/cannot-update-pws-http1-1-408-request-timeout

There is another member who got stuck with wunderground and webhooks, maybe this will help you too

It’s a post from: https://apicommunity.wunderground.com/weatherapi/topics/cannot-update-pws-http1-1-408-request-timeout