Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Could not fetch URL when creating ALIAS

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 806 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      RaulChiarella
      last edited by

      Hello.

      I am creating a alias using raw.githubusercontent but it's not working...
      It says "A valid URL or alias must be provided. Could not fetch usable data from 'raw.githubusercontent.com/[...]/hostsList.txt"

      Please, can someone help me?

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ Offline
        johnpoz LAYER 8 Global Moderator @RaulChiarella
        last edited by johnpoz

        @raulchiarella what exactly are you trying to pull - yes you would need a valid url.. Could you post the link to what your trying to use.

        Are you trying to use this list in the native alias - or pfblocker?

        this

        raw.githubusercontent.com/[...]/hostsList.txt
        

        Wouldn't be valid..

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          RaulChiarella @johnpoz
          last edited by

          @johnpoz said in Could not fetch URL when creating ALIAS:

          @raulchiarella what exactly are you trying to pull - yes you would need a valid url.. Could you post the link to what your trying to use.

          Are you trying to use this list in the native alias - or pfblocker?

          this

          raw.githubusercontent.com/[...]/hostsList.txt
          

          Wouldn't be valid..

          This is the link i'm using:

          https://raw.githubusercontent.com/victorfmaraujo/pfsense-aliases/master/WHATSAPP/whatsapp.as

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ Offline
            johnpoz LAYER 8 Global Moderator @RaulChiarella
            last edited by johnpoz

            @raulchiarella said in Could not fetch URL when creating ALIAS:

            https://raw.githubusercontent.com/victorfmaraujo/pfsense-aliases/master/WHATSAPP/whatsapp.as

            So created an alias using that, seems to pull fine. Then put into a rule to test the table being loaded. Tables are not really populated until the alias is actually put into a rule.

            But then you can see the table populated

            working.jpg

            edit: btw that list could you some clean up for sure... lots of duplicated networks.

            example - these are all listed

            185.60.216.0/22
            185.60.216.0/24
            185.60.217.0/24
            185.60.218.0/24
            185.60.219.0/24
            

            But that first /22 covers all of those /24s - there are multiple examples of that in that list..

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 2
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.