[aprssig] APRS POST HTTP
Rafał Antas
antas.rafal at gmail.com
Fri Mar 6 03:45:13 EST 2020
Hi,
thanks for the reply ;) we are using BME280 and air pollution SDS011. Right
now we are using Generic HTTP Advanced where I found they way it is
working right now using POST
[image: image.png]
[image: image.png]
I tried to use port 8080 and using curl it responded with http 400 error. I
am not a pgood rogrammer just IT geek. I can use UDP but I have no clue how
packet should look in ESP..
Pozdrawiam,
Rafał Antas
pt., 6 mar 2020 o 00:59 John Gorkos <jgorkos at gmail.com> napisał(a):
> Start here:
>
> https://github.com/hessu/aprsc/blob/master/tools/aprsis-http-post
>
>
>
> try port 8080 instead of 14580. It WILL take a code change in your
> client, from what I can tell, but before you start tearing things apart,
> wait for Hessu to opine. It looks like the java aprs daemon looks for a
> websocket connection on 14580, and I’m not sure aprsc is interpreting the
> connection as a websocket connection.
>
>
>
> If Heikki hasn’t chimed in within a few days, I’ll tear deeper into it
> with you. I have enough ESP8266s and ESP32s to build a supercomputing
> cluster at this point.
>
>
>
> de AB0OO
>
> John Gorkos
>
>
>
> *From: *aprssig <aprssig-bounces at lists.tapr.org> on behalf of Rafał Antas
> <antas.rafal at gmail.com>
> *Date: *Thursday, March 5, 2020 at 1:21 PM
> *To: *<aprssig at lists.tapr.org>
> *Subject: *[aprssig] APRS POST HTTP
>
>
>
> Hi Guys,
>
>
>
> I am writing to you since you might help with my small problem. My friend
> (SQ2CET) and I (SQ4LOL) developed small WX station using ESP8266 powered by
> ESPEASY software. Everything was fine WX date was pushed to APRS.fi without
> any problems till yesterday. Poland APRS server (Poland.aprs2.net
> <http://poland.aprs2.net/>) was migrated from java to aprsc and I think
> this is causing this problem for us. We are using POST http method to push
> data to APRS. I am trying to compare Poland APRS server, running on aprsc
> to Czech running java. Everything is ok when we are sending data to Czech
> server, but Poland server is not. I tried to compare it using curl command.
>
> Poland:
>
> curl --verbose --data "user SQ4LOL pass 12345" poland.aprs2.net:14580
>
> * Rebuilt URL to: poland.aprs2.net:14580/
>
> * Trying 46.21.223.230...
>
> * TCP_NODELAY set
>
> * Connected to poland.aprs2.net (46.21.223.230) port 14580 (#0)
>
> > POST / HTTP/1.1
>
> > Host: poland.aprs2.net:14580
>
> > User-Agent: curl/7.55.1
>
> > Accept: */*
>
> > Content-Length: 22
>
> > Content-Type: application/x-www-form-urlencoded
>
> >
>
> * upload completely sent off: 22 out of 22 bytes
>
> # aprsc 2.1.5-g8af3cdc
>
> # Invalid login command
>
> # Invalid login command
>
> * Connection #0 to host poland.aprs2.net left intact
>
>
>
> Czech:
>
>
>
> curl --verbose --data "user SQ4LOL pass 12345" czech.aprs2.net:14580
>
> * Rebuilt URL to: czech.aprs2.net:14580/
>
> * Trying 89.235.48.27...
>
> * TCP_NODELAY set
>
> * Connected to czech.aprs2.net (89.235.48.27) port 14580 (#0)
>
> > POST / HTTP/1.1
>
> > Host: czech.aprs2.net:14580
>
> > User-Agent: curl/7.55.1
>
> > Accept: */*
>
> > Content-Length: 22
>
> > Content-Type: application/x-www-form-urlencoded
>
> >
>
> * upload completely sent off: 22 out of 22 bytes
>
> # javAPRSSrvr 3.15b08
>
>
>
> Do you have any idea how we can solve this small problem?
>
> Pozdrawiam,
>
> Rafał Antas
>
> _______________________________________________ aprssig mailing list
> aprssig at lists.tapr.org
> http://lists.tapr.org/mailman/listinfo/aprssig_lists.tapr.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/aprssig_lists.tapr.org/attachments/20200306/39add2d3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 37462 bytes
Desc: not available
URL: <http://lists.tapr.org/pipermail/aprssig_lists.tapr.org/attachments/20200306/39add2d3/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 32653 bytes
Desc: not available
URL: <http://lists.tapr.org/pipermail/aprssig_lists.tapr.org/attachments/20200306/39add2d3/attachment-0001.png>
More information about the aprssig
mailing list