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

Issue while running docker app. #2

Open
dgkris opened this issue Aug 29, 2024 · 2 comments
Open

Issue while running docker app. #2

dgkris opened this issue Aug 29, 2024 · 2 comments

Comments

@dgkris
Copy link

dgkris commented Aug 29, 2024

While running the application it says connection timeout to the sip server. username@sipserverip : connection timeout.

im able to connect via sip clients to the server. hence raising an issue

:"nodejs|Mongoose","version":"5.9.2|7.8.1"},"platform":"Node.js v19.9.0, LE","os":{"name":"linux","architecture":"x64","version":"5.15.153.1-microsoft-standard-WSL2","type":"Linux"}}}}
mongo-1 | {"t":{"$date":"2024-08-29T17:10:51.681+00:00"},"s":"I", "c":"NETWORK", "id":6788700, "ctx":"conn2","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":2}}
duplex-1 | node:events:491
duplex-1 | throw er; // Unhandled 'error' event
duplex-1 | ^
duplex-1 |
mongo-1 | {"t":{"$date":"2024-08-29T17:10:51.950+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1","msg":"Connection ended","attr":{"remote":"172.18.0.3:36108","uuid":{"uuid":{"$uuid":"27fa3f36-f071-49ca-b6b4-c304f11deda2"}},"connectionId":1,"connectionCount":1}}
duplex-1 | Error: Unexpected server response: 401
mongo-1 | {"t":{"$date":"2024-08-29T17:10:51.951+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn2","msg":"Connection ended","attr":{"remote":"172.18.0.3:36114","uuid":{"uuid":{"$uuid":"28329936-c414-43e1-bd57-9bc55df6ef71"}},"connectionId":2,"connectionCount":0}}
duplex-1 | at ClientRequest. (/home/duplex/speech-engine/node_modules/ws/lib/websocket.js:913:7)
duplex-1 | at ClientRequest.emit (node:events:513:28)
duplex-1 | at HTTPParser.parserOnIncomingClient (node:_http_client:693:27)
duplex-1 | at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
duplex-1 | at TLSSocket.socketOnData (node:_http_client:535:22)
duplex-1 | at TLSSocket.emit (node:events:513:28)
duplex-1 | at addChunk (node:internal/streams/readable:324:12)
duplex-1 | at readableAddChunk (node:internal/streams/readable:297:9)
duplex-1 | at Readable.push (node:internal/streams/readable:234:10)

@dgkris
Copy link
Author

dgkris commented Aug 29, 2024

reg: sip: @: Register: Connection timed out

@waveplate
Copy link
Owner

Error: Unexpected server response: 401

something is sending a 401 and the error is coming from websocket.js -- are you using elevenlabs? if not, you need to disable it and use espeak. if you are meaning to use elevenlabs, temporarily switch to espeak and see if the error goes away. if so, double check your API key is valid, and you have credits etc.

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

No branches or pull requests

2 participants