adobe / adobe/aio-cli-plugin-app
`app:run --local` fails on wsl2 environments - [ERROR] Bind failed for TCP channel on endpoint [/172.17.0.1:3232]Bind failed
- Dominant language
- JavaScript
- Stars
- 28
- Forks
- 41
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 3
Description
**Describe the bug**
Running `aio app run --local` fails in wsl2 environments
I'm opening this issue for visibility.
https://github.com/apache/openwhisk/issues/5108
**To Reproduce**
Steps to reproduce the behavior:
1. In an `aio` project, run `aio app run --local`
2. `aio` errors out due to a port bind error
3. Check logs `dist/openwhisk-local.log.txt`
4. See error
**Expected behavior**
openwhisk should successfully run locally.
**Desktop (please complete the following information):**
- OS: Windows w/ WSL2 Ubuntu 20.04
- Browser: n/a
- Version:
```ts
➜ standalone-v1 java -jar openwhisk-standalone.jar --version
Git Commit - 6feda87
➜ ui.razzle git:(main) yarn aio info
yarn run v1.22.10
$ /home/elias/code/aem-react-aio-poc/ui.razzle/node_modules/.bin/aio info
System:
OS: Linux 5.4 Ubuntu 20.04.2 LTS (Focal Fossa)
CPU: (16) x64 AMD Ryzen 9 4900HS with Radeon Graphics
Memory: 8.87 GB / 12.02 GB
Shell: 5.8 - /usr/bin/zsh
Binaries:
Node: 14.16.1 - /tmp/yarn--1619720402133-0.7115322482991213/node
Yarn: 1.22.10 - /tmp/yarn--1619720402133-0.7115322482991213/yarn
npm: 6.14.12 - ~/.nvm/versions/node/v14.16.1/bin/npm
Virtualization:
Docker: 20.10.5 - /usr/bin/docker
npmGlobalPackages:
@adobe/aio-cli: Not Found
CLI plugins:
@adobe/aio-cli 6.0.0 (core)
@adobe/aio-cli-plugin-app 6.2.0 (core)
@adobe/aio-cli-plugin-auth 2.4.1 (core)
@adobe/aio-cli-plugin-certificate 0.2.1 (core)
@adobe/aio-cli-plugin-config 2.3.0 (core)
@adobe/aio-cli-plugin-console 3.3.0 (core)
@adobe/aio-cli-plugin-events 1.1.0 (core)
@adobe/aio-cli-plugin-info 1.1.1 (core)
@adobe/aio-cli-plugin-runtime 3.1.0 (core)
@oclif/plugin-autocomplete 0.3.0 (core)
@oclif/plugin-help 2.2.3 (core)
@oclif/plugin-not-found 1.2.4 (core)
@oclif/plugin-plugins 1.10.0 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
› Warning: Node version not supported. Supported versions are 10 and 12
Done in 1.90s.
```
Contributor guide
Assessment
This issue has not been assessed yet.