Skip to content

Issues accessing Fastly endpoints from within docker that runs in Gitpod #9354

@shaal

Description

@shaal

Bug description

Issues accessing Fastly endpoints from within docker that runs in Gitpod

When running curl https://www.drupal.org/files/issues/2020-03-30/2759397-25.patch -vvv, I am getting -

*   Trying 151.101.2.217:443...
* Connected to www.drupal.org (151.101.2.217) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):

And then it hangs for a minute, and display

* OpenSSL SSL_connect: Connection reset by peer in connection to www.drupal.org:443 
* Closing connection 0
curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to www.drupal.org:443

Steps to reproduce

  • Open any Gitpod workspace (tested in US Gitpod workspace)
  • Confirm 10 times that you can run curl https://www.fastly.com with no issues ✅
  • docker run -it debian:11
  • apt update
  • apt install curl -y
  • Confirm 10 times that you can run curl https://www.fastly.com with no issues

You'll notice that inside docker, sometimes it works perfect, and sometimes it just hang up

Workspace affected

No response

Expected behavior

No response

Example repository

No response

Anything else?

(This was found because of new errors when running composer requests to drupal.org (which uses Fastly CDN) through DrupalPod.

This might be a temporary Fastly issue? but it's weird why I cannot replicate this in Gitpod itself (not inside docker inside Gitpod), nor I can replicate that on local machine with or without Docker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    team: workspaceIssue belongs to the Workspace teamtype: bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions