OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: marcelmah on October 18, 2021, 10:59:14 am

Title: /update_tables.py[58137] error fetching alias url https://bla.bla.com/support.tx
Post by: marcelmah on October 18, 2021, 10:59:14 am
Hi,

We use a URL table alias that refreshes every day to centrally manage a list of IP's that are used in firewall rules.
This worked great untill now.

I keep getting this error:
2021-10-17T18:50:01   /update_tables.py[58137]   error fetching alias url https://bla.bla.com/support.txt   
2021-10-17T18:50:01   /update_tables.py[58137]   fetch alias url https://bla.bla.com/support.txt (lines: 8)

So it downloads the file as it knows it's 8 lines, but then throws an error. I can't seem to find why, is there any other log I can view to figure out why it throws an error?
Title: Re: /update_tables.py[58137] error fetching alias url https://bla.bla.com/support.tx
Post by: Fright on October 18, 2021, 07:53:58 pm
hi
you can try to
curl https://bla.bla.com/support.txt
via console
there may be some error. e.g. certificate error
Title: Re: /update_tables.py[58137] error fetching alias url https://bla.bla.com/support.tx
Post by: marcelmah on October 21, 2021, 09:13:08 am
The curl command went fine, no problems...

Figured it out though, it was a special char in the file, to bad OPNsense can't handle this or throws a usable error.
But the alias and the firewall rules It's used in is working fine again.
Title: Re: /update_tables.py[58137] error fetching alias url https://bla.bla.com/support.tx
Post by: Fright on October 21, 2021, 10:38:37 am
Quote
Figured it out though, it was a special char in the file, to bad OPNsense can't handle this or throws a usable error.
may be some exception on address parsing.
but it's hard to say without an example