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

Error when trying to initialize with Acquia recipe #9

Open
DicksB opened this issue May 17, 2021 · 4 comments
Open

Error when trying to initialize with Acquia recipe #9

DicksB opened this issue May 17, 2021 · 4 comments

Comments

@DicksB
Copy link

DicksB commented May 17, 2021

MacOS 11.3.1
Docker Desktop 3.3.3
Lando 3.1.4

Having corrected my ACLI problem (thanks to Mike Milano), I got my "hello" application up and running under 3.1.4. I then tried initializing a project with the Acquia Cloud recipe:

% lando init --source acquia -v
? Enter an Acquia API key (obfuscated)
? Enter an Acquia API secret [hidden]
lando 09:41:24 ERROR ==> TypeError: Cannot read property 'data' of undefined
at /snapshot/lando/build/cli/integrations/lando-acquia/lib/api.js
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Same error occurs whether initializing an empty directory, or a directory into which I've already cloned a codebase from Acquia Cloud:

% lando init -v --source cwd --recipe acquia
? Enter an Acquia API key (obfuscated)
? Enter an Acquia API secret [hidden]
lando 09:40:00 ERROR ==> TypeError: Cannot read property 'data' of undefined
at /snapshot/lando/build/cli/integrations/lando-acquia/lib/api.js
at processTicksAndRejections (internal/process/task_queues.js:97:5)

@mikemilano
Copy link

We've tracked this down to most likely being a VPN issue. It works outside the VPN.

@wesleymusgrove
Copy link

I'm getting this too.
image

I've got a working drupal8 recipe for when I'm on VPN/corporate proxy that requires custom CA certificates to be installed. Is there a way to specify proxy/CAfile info into /snapshot/lando/build/cli/integrations/lando-acquia/lib/api.js?

@rtfm-47 rtfm-47 transferred this issue from lando/lando Nov 24, 2021
@michaelsilao
Copy link

hi just wanted to know if someone has resolved this? im getting this same issue currently on my office machine

@sammykumar
Copy link

I had the same issue. My environment MacOS (M1) is behind a corporate VPN (Zscaler). Adding my Zscaler's root certificate to Node and Curl solved my issue.

Node: https://docs.devwithlando.io/guides/lando-corporate-network-tips.html#add-cert-to-host-environment
Curl: https://docs.devwithlando.io/guides/lando-corporate-network-tips.html#adding-certs-for-native-curl

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

No branches or pull requests

6 participants