• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 714 Views
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
    RaulChiarella
    last edited by Feb 28, 2022, 3:40 PM

    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?

    J 1 Reply Last reply Feb 28, 2022, 3:43 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @RaulChiarella
      last edited by johnpoz Feb 28, 2022, 3:44 PM Feb 28, 2022, 3:43 PM

      @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.7.2, 24.11

      R 1 Reply Last reply Feb 28, 2022, 3:48 PM Reply Quote 0
      • R
        RaulChiarella @johnpoz
        last edited by Feb 28, 2022, 3:48 PM

        @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

        J 1 Reply Last reply Feb 28, 2022, 3:54 PM Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator @RaulChiarella
          last edited by johnpoz Feb 28, 2022, 4:06 PM Feb 28, 2022, 3:54 PM

          @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.7.2, 24.11

          1 Reply Last reply Reply Quote 2
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received