-
Notifications
You must be signed in to change notification settings - Fork 293
Connection broken by SSLError #267
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
Comments
have you tried setting the |
oh. you're using docker. the plugin would have to pass those through 🤔 |
Thanks @dschep. I did added http(s)_proxy variables to my local machine. But I am not sure how to pass those along with the plugin. Is there some obvious option that i missed? :-s |
Nope. No obvious solution for you. Not too difficult to addres, but I'm unsure how I want to approach this. I see 3 options:
custom:
pythonRequirements:
dockerizePip: true
dockerEnvVars:
- http_proxy
- https_proxy |
The quick answer is configuring it in docker but we're looking at how the plugin might handle this more gracefully. |
Thanks @bsamuel-ui , i made the change per your suggestion and it seems to work 👍 I got some errors but probably from other configuration. I will test it out more. Thanks! |
Just realized that we've already got #231 which is the 2nd option I mentioned. Cleaned it up and opening a PR for you to tests. |
@dschep , this is a bit silly. But how do I test it? :( where do i specify the env variables? |
You don't have to specify any vars or options. Install the branch as I indicated in #271 and it should work. It passes ALL the environment variables to docker |
I got this error after installing the branch:
|
oops. the docs aren't right. it doesn't do all env vars. I'll push a fix to the docs soon, but you want: custom:
pythonRequirements:
dockerEnv:
- https_proxy |
* Add environment variables to docker run cmd * Pass env vars to docker Based on serverless#231 & closes serverless#267 * format * fix docs * Update README.md
* Add environment variables to docker run cmd * Pass env vars to docker Based on serverless#231 & closes serverless#267 * format * fix docs * Update README.md
Hi,
I am able to use the plugin on my home machine. However, running sls package at my work machine (Win10) return this error:
It seems like some proxy / certificate issues. I am not familiar with linux or networking so not so sure how to get around it. I specified the proxies server in docker setting with no luck.
Has anyone seen similar issue?
The text was updated successfully, but these errors were encountered: