serverless / compose

Orchestrate Serverless Framework in monorepos
https://serverless.com/framework/docs/guides/compose
MIT License
111 stars 15 forks source link

Request network error: FetchError: request to https://service-xxxxxx-xxxxxx.gz.apigw.tencentcs.com/release/ failed #168

Closed mefengl closed 1 year ago

mefengl commented 1 year ago

Are you certain it's a bug?

Are you using the latest version?

Is there an existing issue for this?

Issue description

it will show an error that indicates a failed call to https://....tencentcs.com/release, I don't know why it need to call Tencent. I have already set export SERVERLESS_PLATFORM_VENDOR=aws in my .zshrc

Service configuration (serverless-compose.yml) content

N/A

Command name and used flags

serverless deploy

Command output

...
Request network error: FetchError: request to https://service-xxxxxx-xxxxxx.gz.apigw.tencentcs.com/release/ failed, reason: write EPROTO xxxxxxxxxxxx:error:xxxxxxxxxx:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1600:SSL alert number 80
medikoo commented 1 year ago

SERVERLESS_PLATFORM_VENDOR is Serverless Components specific settings.

If you're in China, simply set SLS_GEO_LOCATION=no-cn and Framework should work as everywhere else.

Nonetheless we indeed need to turn off Tencent support, as it stopped working