Not Transmitting / Error 404

Here is where you can get help with using and setting up POCSAG and related topics
Post Reply
ZL1LAC
Posts: 4
Joined: Tue Oct 15, 2019 10:51 am

Not Transmitting / Error 404

Post by ZL1LAC » Sat Jan 11, 2020 3:58 pm

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

[email protected](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?

F1PTL
Posts: 1
Joined: Tue Feb 16, 2021 8:57 pm

Re: Not Transmitting / Error 404

Post by F1PTL » Sun Feb 21, 2021 10:19 pm

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

GM8SAU
Posts: 1
Joined: Sun Oct 02, 2022 5:50 pm

Re: Not Transmitting / Error 404

Post by GM8SAU » Wed Oct 05, 2022 6:54 am

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:

[email protected](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

W0CHP
Posts: 15
Joined: Mon Oct 12, 2020 2:33 pm

Re: Not Transmitting / Error 404

Post by W0CHP » Sat Oct 08, 2022 1:27 pm

Your problem is emphasized below...
GM8SAU wrote:
Wed Oct 05, 2022 6:54 am
[email protected](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.

Post Reply