Skip to content

URL not accesible through http #7

@CarlosTejeiro

Description

@CarlosTejeiro

Hi Team,

Just mention that http seems to be not available for URL http://trex-tgn.cisco.com
In my case docker build fails because http is not accesible, https works well

carlos@RMAMWM32011:~/TRexAppHosting$ docker build -t trexapp .
[+] Building 45.3s (8/10)
 => [internal] load build definition from Dockerfile                                                               0.0s
 => => transferring dockerfile: 600B                                                                               0.0s
 => [internal] load .dockerignore                                                                                  0.0s
 => => transferring context: 2B                                                                                    0.0s
 => [internal] load metadata for docker.io/library/ubuntu:16.04                                                    2.3s
 => [internal] load build context                                                                                  0.0s
 => => transferring context: 347B                                                                                  0.0s
 => [1/6] FROM docker.io/library/ubuntu:16.04@sha256:1f1a2d56de1d604801a9671f301190704c25d604a416f59e03c04f5c6ffe  0.0s
 => CACHED [2/6] RUN apt-get update                                                                                0.0s
 => CACHED [3/6] RUN apt-get -y install python              wget              bash              net-tools          0.0s
 => ERROR [4/6] RUN wget http://trex-tgn.cisco.com/trex/release/v2.56.tar.gz &&     tar -zxvf v2.56.tar.gz -C /   42.9s
------
 > [4/6] RUN wget http://trex-tgn.cisco.com/trex/release/v2.56.tar.gz &&     tar -zxvf v2.56.tar.gz -C / &&     chown root:root /v2.56  &&     rm v2.56.tar.gz:
#7 0.504 --2023-06-29 16:17:35--  http://trex-tgn.cisco.com/trex/release/v2.56.tar.gz
#7 0.504 Resolving trex-tgn.cisco.com (trex-tgn.cisco.com)... ::ffff:173.36.109.208, 173.36.109.208
#7 0.745 Connecting to trex-tgn.cisco.com (trex-tgn.cisco.com)|::ffff:173.36.109.208|:80... failed: Connection refused.
#7 21.80 Connecting to trex-tgn.cisco.com (trex-tgn.cisco.com)|173.36.109.208|:80... failed: Connection refused.
------
executor failed running [/bin/sh -c wget http://trex-tgn.cisco.com/trex/release/v2.56.tar.gz &&     tar -zxvf v2.56.tar.gz -C / &&     chown root:root /v2.56  &&     rm v2.56.tar.gz]: exit code: 4
carlos@RMAMWM32011:~/TRexAppHosting$

If I change dockerfile to use https works well :

<...>
RUN wget https://trex-tgn.cisco.com/trex/release/v2.56.tar.gz --no-check-certificate && \
<..>

it works well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions