[aprssig] APRS POST HTTP
John Gorkos
jgorkos at gmail.com
Thu Mar 5 18:59:50 EST 2020
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) 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/20200305/d1e1e80a/attachment.html>
More information about the aprssig
mailing list