Page 1 of 1
Not Transmitting / Error 404
Posted: Sat Jan 11, 2020 3:58 pm
by ZL1LAC
I'm running Pi-Star:4.1.0-RC7 / Dashboard: 20191220.
Board Firmware 1.4.17
I have entered all the information needed to get pocsag working, the dashboard says pocsag is enabled and working but nothing is coming in.
When I try and test this via the command line I get this odd result.
Code: Select all
pi-star@pi-star(rw):~$ sudo pistar-dapnetapi zl1lac "Hello World - this is a test" debug
Request to DAPNET API: {
"text": "PI-STAR: Hello World - this is a test",
"callSignNames": [
"zl1lac"
],
"transmitterGroupNames": [
"all"
],
"emergency": false
}
ERROR: (22) HTTP page not retrieved. The requested url was not found or returned another error with the HTTP error code being 400 or above. This return code only appears if -f, --fail is used.
What the heck am I doing wrong?
Re: Not Transmitting / Error 404
Posted: Sun Feb 21, 2021 10:19 pm
by F1PTL
hi,
version 4.1.4 pi-star error 22
sudo /usr/local/sbin/pistar-dapnetapi f8ffp "message test"
ERROR: (22) HTTP page not retrieved. The requested url was not found or returned another error with the HTTP error code being 400 or above. This return code only appears if -f, --fail is used.
73's
Bruno
Re: Not Transmitting / Error 404
Posted: Wed Oct 05, 2022 6:54 am
by GM8SAU
HI All
I have searched all the forum now and cant fins any answers on how to get the pocsag.api to function all the correct login user-is and auth-cods are correct it just seems my api script that runs in pi-star just fails to connect or is asking all the wrong question of hampager.de/api ??
I always get this:
pi-star@gb7ei-pi-star(ro):~$ sudo pistar-dapnetapi m0sia "test ignore" debug
Request to DAPNET API: {
"text": "GB7EI-PI-STAR: test ignore",
"callSignNames": [
"m0sia"
],
"transmitterGroupNames": [
"uk-all,uk-sc-northwest"
],
"emergency": false
}
ERROR: (22) HTTP page not retrieved. The requested url was not found or returned another error with the HTTP error code being 400 or above. This return code only
appears if -f, --fail is used.
There are some on this forum that have got it to work but I have not seen any answers as to what was changes to make it work
My setup is working on Transmit I get all the traffic seen on a test pager Just cant use the API in Pi-Star to send some test message into dapnet
any useful ideas I have emailed directly some users on this forum but sadly no replies.
Thanks Barry GM8SAU Keeper GB7EI
Re: Not Transmitting / Error 404
Posted: Sat Oct 08, 2022 1:27 pm
by W0CHP
Your problem is emphasized below...
GM8SAU wrote: ↑Wed Oct 05, 2022 6:54 am
pi-star@gb7ei-pi-star(ro):~$ sudo pistar-dapnetapi
m0sia "test ignore" debug
`m0isa` does not exist as a valid recipient in hampager.de, likely.
Conversely, if I send to a valid, hampager-registered recipient, it works fine for me...
Code: Select all
sudo pistar-dapnetapi K2IE "test...ignore"
Request to DAPNET API: {
"text": "PI-STAR-DEV: test...ignore",
"callSignNames": [
"K2IE"
],
"transmitterGroupNames": [
"us-mn","us-mn-mnc157","us-nj"
],
"emergency": false
}
Answer from DAPNET API: '{
"text": "PI-STAR-DEV: test...ignore",
"callSignNames": [
"K2IE"
],
"transmitterGroupNames": [
"us-mn",
"us-mn-mnc157",
"us-nj"
],
"emergency": false,
"timestamp": "2022-10-08T13:25:57.581383Z",
"ownerName": "w0chp"
}'
Page to "K2IE" in transmitter group(s) "us-mn","us-mn-mnc157","us-nj" successfully sent.