Open2300 - Support Question 2013x 12x 06x 102337

HTTP 1.1 Support

Question

Around 12:10 on 5/10/2013 for some reason wunderground was no longer charting the weather data I had been uploading for almost a year using wu2300 1.10 running on a RaspberryPi connected to a Lacrosse WS-2355.

After some debugging with tcpdump I was seeing a 502 Bad Gateway error returned by wunderground.

Further debugging by sending the GET URL with wget (as HTTP 1.1) suggested that perhaps wunderground was no longer happy with the HTTP 1.0 GET sent by wu2300.c/linux2300.c. If I sent the URL with wget (as a HTTP 1.1 GET) the data was uploaded and charted ok.

I updated my local copy of the source code to send HTTP 1.1 GET with Host: instead and this seems to work now. If others are having the same issue perhaps an official update could be made to use HTTP 1.1?

Environment

Open2300 version: 1.10
Libraries: mysql
Server OS: Linux raspberrypi 3.6.11+ #474
-- FraserB - 06 Dec 2013

Answer

Topic revision: r1 - 06 Dec 2013, FraserB
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.