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

Docker compose client fails under linux #37

Open
capital-G opened this issue Dec 15, 2022 · 0 comments
Open

Docker compose client fails under linux #37

capital-G opened this issue Dec 15, 2022 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@capital-G
Copy link
Owner

- SC_HOST=${SC_HOST:-host.docker.internal}
- SC_PORT=${SC_PORT:-57120}
- BACKEND_ADDRESS=${BACKEND_ADDRESS:-http://host.docker.internal:3000}

host.docker.internal is a macOS/Windows featuer, for linux see https://stackoverflow.com/questions/48546124/what-is-linux-equivalent-of-host-docker-internal

Creating webrtcgui_client_1 ... done
Attaching to webrtcgui_client_1                                                                                                    
client_1  |  
client_1  | > supercollider_web_rtc_gui@0.2.1 client /root/web_rtc_gui 
client_1  | > ts-node --esm src/client.ts 
client_1  |  
client_1  | Start client 
client_1  | Backend address: https://remote.dennis-scheiba.com 
client_1  | SuperCollider address: host.docker.internal:57120 
client_1  | Client port: 57220 
client_1  | Auth token: "somePW" 
client_1  | Started client 
client_1  | Connected to server 
client_1  | Received freq: 113.30357142857143 
client_1  | Received freq: 119.75 
client_1  | Received freq: 132.98214285714286 
client_1  | Received freq: 152.32142857142856 
client_1  | Received freq: 167.92857142857142 
client_1  | Error: getaddrinfo ENOTFOUND host.docker.internal 
client_1  |     at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:71:26) { 
client_1  |   errno: -3008, 
client_1  |   code: 'ENOTFOUND', 
client_1  |   syscall: 'getaddrinfo', 
client_1  |   hostname: 'host.docker.internal' 
client_1  | } 
client_1  | npm ERR! code ELIFECYCLE 
client_1  | npm ERR! errno 1 
client_1  | npm ERR! supercollider_web_rtc_gui@0.2.1 client: `ts-node --esm src/client.ts` 
client_1  | npm ERR! Exit status 1 
client_1  | npm ERR!  
client_1  | npm ERR! Failed at the supercollider_web_rtc_gui@0.2.1 client script. 
client_1  | npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 
client_1  |  
client_1  | npm ERR! A complete log of this run can be found in: 
client_1  | npm ERR!     /root/.npm/_logs/2022-12-15T16_03_32_530Z-debug.log 
webrtcgui_client_1 exited with code 1
@capital-G capital-G added the bug Something isn't working label Dec 15, 2022
@capital-G capital-G added this to the v0.3.0 milestone Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant