Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL errors on download #69

Open
danihodovic opened this issue Jan 3, 2019 · 4 comments
Open

SSL errors on download #69

danihodovic opened this issue Jan 3, 2019 · 4 comments

Comments

@danihodovic
Copy link

danihodovic commented Jan 3, 2019

Hi,

I automatically install opm libraries when deploying OpenResty. This has a tendency to fail due to SSL errors from the upstream when performing this on AWS instances in the Sao Paolo region (sa-east-1). The other regions work fine.

docker run --rm --entrypoint=/usr/local/openresty/bin/opm --name lua-installation -v /usr/local/openresty/site/lualib/:/usr/local/openresty/site/lualib/ openresty/openresty:1.13.6.2-2-alpine-fat get pintsized/lua-resty-http
[10:31:32]   stderr: |-
[10:31:32]     * Fetching knyar/nginx-lua-prometheus
[10:31:32]     curl: (35) error:14004438:SSL routines:CONNECT_CR_SRVR_HELLO:tlsv1 alert internal error
[10:31:32]     ERROR: failed to run command "curl -sS -i -A 'opm 0.0.5 (x86_64-linux-thread-multi, perl v5.26.2)' 'https://opm.openresty.org/api/pkg/fetch?account=knyar&;name=nginx-lua-prometheus&op=&version='"

From my local machine it works fine and uses servers in DigitalOcean Singapore.

$ dig +short opm.openresty.org
v2.openresty.com.
188.166.239.230

From my Sao Paolo instances it fails and uses DigitalOcean US servers.

11:01:30 ~ ip-10-102-134-106 % dig +short opm.openresty.org
v2.openresty.com.
174.138.55.201
@TristanPeers
Copy link

Same here - AWS EU Ireland, cannot download packages.

@dndx
Copy link
Member

dndx commented Jan 4, 2019

Hi,

We are aware of possible issue that OPM connection is unreliable. We are working on investigating the cause and will update here as soon as more information is available.

@dstockton
Copy link

Same here

@shiftie
Copy link

shiftie commented Apr 21, 2023

any news about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants