# ASL3 statpost error

**URL:** <https://community.allstarlink.org/t/asl3-statpost-error/22280>\
**Category:** AllStarLink\
**Created:** [November 18, 2024, 6:07am UTC](https://community.allstarlink.org/t/asl3-statpost-error/22280 "2024-11-18T06:07:09Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![W2DB](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/57b2e6/32.png) [@W2DB](https://community.allstarlink.org/u/W2DB)\
**Post date:** [November 18, 2024, 6:07am UTC](https://community.allstarlink.org/t/asl3-statpost-error/22280/1 "2024-11-18T06:07:09Z")

</div>

Trying out asl3 on a node computer and getting this error every several seconds:

_**[2024-11-17 23:51:56.237] WARNING[624]: app\_rpt.c:1009 perform\_statpost: statpost to URL ‘[http://stats.allstarlink.org/uhandler?node=490891&time=1731909116&seqno=11&nodes=&apprptvers=3.0.4&apprptuptime=115&totalkerchunks=1&totalkeyups=4&totaltxtime=30&timeouts=0&totalexecdcommands=2](http://stats.allstarlink.org/uhandler?node=490891&time=1731909116&seqno=11&nodes=&apprptvers=3.0.4&apprptuptime=115&totalkerchunks=1&totalkeyups=4&totaltxtime=30&timeouts=0&totalexecdcommands=2)’ failed with code 401**_

In rpt\_http\_registrations.conf the node number and password are correct.

_**statpost\_url = [http://stats.allstarlink.org/uhandler](http://stats.allstarlink.org/uhandler)**_ is in and un-commented in rpt.conf

What could be wrong?  
GeorgeC W2DB

---

<div class="post-metadata">

**Author:** ![N8EI](https://community.allstarlink.org/user_avatar/community.allstarlink.org/n8ei/32/4254_2.png) [@N8EI](https://community.allstarlink.org/u/N8EI)\
**Post date:** [November 20, 2024, 11:25pm UTC](https://community.allstarlink.org/t/asl3-statpost-error/22280/2 "2024-11-20T23:25:12Z")

</div>

Do you have the `statpost_url` inside of your node’s configuration and not the template configuration? Specifically right after something like this:

```auto
[460181](node-main)
statpost_url = http://stats.allstarlink.org/uhandler
idrecording = |iN8EI
duplex = 2
rxchannel = SimpleUSB/460181

```

The “Failed with Code 401” means your statpost isn’t passing along a valid node and node password.

---

<div class="post-metadata">

**Author:** ![NY2US](https://community.allstarlink.org/user_avatar/community.allstarlink.org/ny2us/32/3212_2.png) [@NY2US](https://community.allstarlink.org/u/NY2US)\
**Post date:** [December 7, 2024, 7:29pm UTC](https://community.allstarlink.org/t/asl3-statpost-error/22280/3 "2024-12-07T19:29:34Z")

</div>

George, did you ever get that statpost 401 error resolved? I’m having the same issue on my ASL3 server at a remote site, returning the same error on all 4 nodes on the server, yet they are all registered up and running (426090,091,095,099). The statpost\_url line is under the node stanza for each node in rpt.conf. I have a Hamvoip node at the same site and not receiving that error. My ASL3 node can ping [stats.allstarlink.org](http://stats.allstarlink.org) and I don’t see where the router at the site would be blocking anything outgoing port 80. I can connect inbound on http for the servers ALS3 web portal login page. Maybe one of the ASL admins can chime in on this. For the time being I’m going to have to comment out the stats url as the errors are clogging up my terminal in asteriks verbose mode.

---

<div class="post-metadata">

**Author:** ![W2DB](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/57b2e6/32.png) [@W2DB](https://community.allstarlink.org/u/W2DB)\
**Post date:** [December 8, 2024, 4:20am UTC](https://community.allstarlink.org/t/asl3-statpost-error/22280/4 "2024-12-08T04:20:33Z")

</div>

Nope, I just gave up and ignore the error messages. I have two other nodes same site, no problems except they are ASL v1. I don’t know much about hamvoip so cannot make any comparison there.

GeorgeC W2DB

---

<div class="post-metadata">

**Author:** ![NY2US](https://community.allstarlink.org/user_avatar/community.allstarlink.org/ny2us/32/3212_2.png) [@NY2US](https://community.allstarlink.org/u/NY2US)\
**Post date:** [December 9, 2024, 5:29am UTC](https://community.allstarlink.org/t/asl3-statpost-error/22280/5 "2024-12-09T05:29:41Z")

</div>

I think I might know what’s going on now, on my end anyway. Check the ASL3 manual under IAX registrations. I’m using an LTE modem at the site on T-Mobile, and like AT&T, outgoing http traffic may end up being directed through a proxy/web accelerator, and then any registration requests getting passed through end up with a different IP being used by the node. This is an issue with those noded using rpt\_http\_registrations.conf in the new ASL3. I had to resort my node registration back to iax.conf (per those instructions). So my guess is the stats node registration which is using http, is sending a proxy IP back to Allstarlink which doesn’t like that mismatch, thinking the node is unregistered.

---

<div class="post-metadata">

**Author:** ![W2DB](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/57b2e6/32.png) [@W2DB](https://community.allstarlink.org/u/W2DB)\
**Post date:** [December 9, 2024, 8:49am UTC](https://community.allstarlink.org/t/asl3-statpost-error/22280/6 "2024-12-09T08:49:43Z")

</div>

I’m on ATT fiber internet. But I have two other nodes older installs that work just fine… this just seems like an asl3 issue

GeorgeC

---

<div class="post-metadata">

**Author:** ![N8EI](https://community.allstarlink.org/user_avatar/community.allstarlink.org/n8ei/32/4254_2.png) [@N8EI](https://community.allstarlink.org/u/N8EI)\
**Post date:** [December 9, 2024, 2:31pm UTC](https://community.allstarlink.org/t/asl3-statpost-error/22280/7 "2024-12-09T14:31:34Z")

</div>

Failing with error 401 is “HTTP 401” which means bad password. The only way that happens is if the statpost line inside of rpt.conf isn’t within the configuration stanza for your particular node. If it’s anywhere else, it lacks the credentials because it doesn’t know what node is belongs to.

---

<div class="post-metadata">

**Author:** ![W2DB](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/57b2e6/32.png) [@W2DB](https://community.allstarlink.org/u/W2DB)\
**Post date:** [December 9, 2024, 3:59pm UTC](https://community.allstarlink.org/t/asl3-statpost-error/22280/8 "2024-12-09T15:59:06Z")

</div>

I’ll need to check that. I didn’t mess with that during installation. But that thin client is put away for now, it will replace the one on 490891 sometime soon.

GeorgeC w2db

---

<div class="post-metadata">

**Author:** ![ae5tc](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/a/22d042/32.png) [@ae5tc](https://community.allstarlink.org/u/ae5tc)\
**Post date:** [December 9, 2024, 10:24pm UTC](https://community.allstarlink.org/t/asl3-statpost-error/22280/9 "2024-12-09T22:24:48Z")

</div>

There is no password being sent in those requests. Its a simple HTTP post like this:  
`GET /uhandler.php?node=xxxxxx&time=1733781858&seqno=1&nodes=&apprptvers=3.1.0&apprptuptime=1733781858&totalkerchunks=0&totalkeyups=0&totaltxtime=0&timeouts=0&totalexecdcommands=0 HTTP/1.1\r\n`

Someone else pointed out if you’re being proxied by your ISP, it fails. I concur, I’ve got two nodes, one with a static nat and one which has source/global nat. The global nat node gets this same error message consistently. I would assume handler is looking for nodes with the same apparent IP (STUN) as the web request. This mismatches because the web proxy for the statpost path of traffic is not the same as the global IP for all other traffic.

If I get adventurous, I’ll prove it on my home network/node by removing the static nat and seeing if the message starts after forcing a squid proxy in the middle of the http path.

Another option might be to get a VPN service and route all of your traffic through it.

---

<div class="post-metadata">

**Author:** ![N8EI](https://community.allstarlink.org/user_avatar/community.allstarlink.org/n8ei/32/4254_2.png) [@N8EI](https://community.allstarlink.org/u/N8EI)\
**Post date:** [December 10, 2024, 12:08am UTC](https://community.allstarlink.org/t/asl3-statpost-error/22280/10 "2024-12-10T00:08:20Z")

</div>

Yeah, there’s no password in the line I was thinking about the node number being missing not the registration password. My bad - too much multitasking.

An HTTP 401 error comes from when the IP sending the GET’s URI **node** doesn’t match the registration IP address. So if for some reason your IP egress from a proxy or SNAT is flopping around then yes, you will get the 401s.

---

<div class="post-metadata">

**Author:** ![W2DB](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/57b2e6/32.png) [@W2DB](https://community.allstarlink.org/u/W2DB)\
**Post date:** [December 10, 2024, 3:48am UTC](https://community.allstarlink.org/t/asl3-statpost-error/22280/11 "2024-12-10T03:48:15Z")

</div>

The other two nodes are not static IP. they work fine. When I went to run up the ASL3 box (HP Thin Client) it has a filesystem error, need to run fsck on it then check. But my lack of sleep last night has caught up. This will wait  
GeorgeC

---

<div class="post-metadata">

**Author:** ![W2DB](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/57b2e6/32.png) [@W2DB](https://community.allstarlink.org/u/W2DB)\
**Post date:** [December 10, 2024, 4:18am UTC](https://community.allstarlink.org/t/asl3-statpost-error/22280/12 "2024-12-10T04:18:41Z")

</div>

Light just went on. There must be an IP address mismatch. that never seemed to matter before. I was working on the replacement node 490891 but using the same node number. Switched to node 490892 and checked. Now statpost gives error 404. Is there a published list of error codes published, that would be a great idea.  
GeorgeC W2DB

---

<div class="post-metadata">

**Author:** ![N8EI](https://community.allstarlink.org/user_avatar/community.allstarlink.org/n8ei/32/4254_2.png) [@N8EI](https://community.allstarlink.org/u/N8EI)\
**Post date:** [December 10, 2024, 11:48am UTC](https://community.allstarlink.org/t/asl3-statpost-error/22280/13 "2024-12-10T11:48:23Z")

</div>

> [@W2DB](#):
>
> Is there a published list of error codes published, that would be a great idea.

They are normal HTTP status codes.

---

<div class="post-metadata">

**Author:** ![W2DB](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/57b2e6/32.png) [@W2DB](https://community.allstarlink.org/u/W2DB)\
**Post date:** [December 10, 2024, 1:16pm UTC](https://community.allstarlink.org/t/asl3-statpost-error/22280/14 "2024-12-10T13:16:13Z")

</div>

👌

Didn’t recognize 401 at first, now I looked and got it.  
Thanks  
GC

---

<div class="post-metadata">

**Author:** ![K2IP](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/0ea827/32.png) [@K2IP](https://community.allstarlink.org/u/K2IP)\
**Post date:** [December 2, 2026, 7:15pm UTC](https://community.allstarlink.org/t/asl3-statpost-error/22280/15 "2026-12-02T19:15:31Z")

</div>

Hi, I’m getting this error too. New Vultr VPS with Debian 13 and ASL3. The two nodes on the single server register with the correct IPv4 address but statposts fail with a 401 authentication warning. I have tried moving from htttp to IAX2 registration but it made no difference. rpt.conf Statpost\_url is positioned under the [node]. Allmon3 is installed and operating normally.

I dont think any source-NAT or proxy is going on because the Allmon3 reaches out to remote nodes using AMI and I use a firewall filter on the source IP, which works.

[2026-11-29 05:37:48.922] WARNING[50195] app\_rpt.c: statpost to URL '[http://stats.allstarlink.org/uhandler?node=47167&time=1795930668&seqno=1&nodes=&apprptvers=3.10.9&apprptuptime=0&totalkerchunks=0&totalkeyups=0&totaltxtime=0&timeouts=0&totalexecdcommands=0&keyed=0&keytime=10](http://stats.allstarlink.org/uhandler?node=47167&time=1795930668&seqno=1&nodes=&apprptvers=3.10.9&apprptuptime=0&totalkerchunks=0&totalkeyups=0&totaltxtime=0&timeouts=0&totalexecdcommands=0&keyed=0&keytime=10)' failed with code 401: Unauthorized  
[2026-11-29 05:37:48.924] WARNING[50194] app\_rpt.c: statpost to URL '[http://stats.allstarlink.org/uhandler?node=59669&time=1795930668&seqno=1&nodes=&apprptvers=3.10.9&apprptuptime=0&totalkerchunks=0&totalkeyups=0&totaltxtime=0&timeouts=0&totalexecdcommands=0&keyed=0&keytime=10](http://stats.allstarlink.org/uhandler?node=59669&time=1795930668&seqno=1&nodes=&apprptvers=3.10.9&apprptuptime=0&totalkerchunks=0&totalkeyups=0&totaltxtime=0&timeouts=0&totalexecdcommands=0&keyed=0&keytime=10)' failed with code 401: Unauthorized

All suggestions welcome. I would really like to keep the stats if possible.

73, de K2IP (Tony)
