Announcement

Collapse
No announcement yet.

Download tests files from local HTTP server doesn't work

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Download tests files from local HTTP server doesn't work

    Hello,

    I am developing my own PTS test and I want to download the needed tests files from a local HTTP server. In order to do that I wrote the URL http://LOCAL_IP_SERVER/remote_file in the download.xml file and put the NoInternetCommunication flag on TRUE. However, when I install the test I face the following error: "Internet support is needed and it's disabled or not available. Downloading of needed test files failed."

    Of course, I tried to reach the server and download the files using a browser and works OK.

    Many thanks in advance.

    Fabián.

  • #2
    Hmmm, what local IP block are you using? I may need to improve the detection of the Internet block handling for PTS.
    Michael Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      I am using 172.16.1.0/24, and the server is the 172.16.1.1.

      Anyway, I believe the problem is in the detection of Internet conectivity, I think PTS ckecks it first and if there is no internet access it crashes, although the specified site is in local network. I've just tried using another network where I have Internet access and it worked fine.

      Thank you.

      Comment


      • #4
        I think I may know what's happening and hope to have a resolution in Git later today or tomorrow... Will post back when ready for testing.
        Michael Larabel
        https://www.michaellarabel.com/

        Comment


        • #5
          Originally posted by ffrommel View Post
          I am using 172.16.1.0/24, and the server is the 172.16.1.1.

          Anyway, I believe the problem is in the detection of Internet conectivity, I think PTS ckecks it first and if there is no internet access it crashes, although the specified site is in local network. I've just tried using another network where I have Internet access and it worked fine.

          Thank you.
          The other option too would be just tossing it in your download-cache location, local or remote, and then it would get picked up automatically too.
          Michael Larabel
          https://www.michaellarabel.com/

          Comment


          • #6
            OK, great. I would be glad if you solve that issue.

            Referring to the remote download-cache solution, I tried that but I had some problems too, please check the other post where I was been participating.

            Thank you again.

            Comment

            Working...
            X