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

Fatal error recording in Basic Example #1775

Closed
nvazquezg opened this issue Dec 1, 2021 · 2 comments
Closed

Fatal error recording in Basic Example #1775

nvazquezg opened this issue Dec 1, 2021 · 2 comments

Comments

@nvazquezg
Copy link

Description

Using the Basic Example that licode provides, the recording function is broken. If the "Toggle Recording" button is clicked, the server process fails (Erizo Agent), all users get disconnected and no recording file is generated. The following errors are registered in the logs:

2021-12-01T13:19:33.648  - INFO: RoomController - message: addExternalOuput, streamId: 818879690683490700, url:/tmp/918959610545643600.mkv
[erizo-3ec451d5-7aa8-064b-3348-375cce4e0b23] 2021-12-01T13:19:33.653  - INFO: Publisher - message: Adding ExternalOutput, id: /tmp/918959610545643600.mkv_818879690683490700, url: /tmp/918959610545643600.mkv, state: erizo, data: true, audio: true, video: true, label: 25JOtfeiJJIZkXwXQy6I4QE6AgBnlHxkuzZo, screen: false, attributes: {}, metadata: {type: publisher}, muteStream: {audio: false, video: false}, encryptTransport: true, handlerProfile: {}, minVideoBW: 0, maxVideoBW: 300, mediaConfiguration: default, singlePC: true, streamPriorityStrategy: false, connectionTargetBw: 0, publicIP: 10.201.54.153, privateRegexp: {}, isRemote: true type: publisher
[erizo-3ec451d5-7aa8-064b-3348-375cce4e0b23] FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal.
[erizo-3ec451d5-7aa8-064b-3348-375cce4e0b23]  1: 0x9d8da0 node::Abort() [node]
[erizo-3ec451d5-7aa8-064b-3348-375cce4e0b23]  2: 0x9d9f56 node::OnFatalError(char const*, char const*) [node]
[erizo-3ec451d5-7aa8-064b-3348-375cce4e0b23]  3: 0xb37b8a v8::Utils::ReportApiFailure(char const*, char const*) [node]
[erizo-3ec451d5-7aa8-064b-3348-375cce4e0b23]  4: 0x7fd2ec29061d ExternalOutput::New(Nan::FunctionCallbackInfo<v8::Value> const&) [/opt/licode/erizoAPI/build/Release/addon.node]
 5: 0x7fd2ec244f6f  [/opt/licode/erizoAPI/build/Release/addon.node]
[erizo-3ec451d5-7aa8-064b-3348-375cce4e0b23]  6: 0xba4edb  [node]
[erizo-3ec451d5-7aa8-064b-3348-375cce4e0b23]  7: 0xba5a62 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [node]
[erizo-3ec451d5-7aa8-064b-3348-375cce4e0b23]  8: 0x13726d9  [node]
2021-12-01T13:19:33.743  - INFO: ErizoAgent - message: closed, erizoId: 3ec451d5-7aa8-064b-3348-375cce4e0b23
2021-12-01T13:19:33.753  - INFO: ErizoAgent - message: launched new ErizoJS, erizoId: 25d0420c-9ff8-7799-19a3-e5a02cf0457f
[erizo-25d0420c-9ff8-7799-19a3-e5a02cf0457f] 2021-12-01T13:19:34.413  - INFO: ErizoJS - Starting ioThreadPool, useNicer is undefined
[erizo-25d0420c-9ff8-7799-19a3-e5a02cf0457f] 2021-12-01T13:19:34.506  - INFO: ErizoJS - message: Started, erizoId: 25d0420c-9ff8-7799-19a3-e5a02cf0457f, isDebugMode: false

Steps to reproduce the issue:

  1. Run latest docker image with default configuration:
    docker run --name licode -p 3000:3000 -p $MIN_PORT-$MAX_PORT:$MIN_PORT-$MAX_PORT/udp -p 3001:3001 -p 8080:8080 -e "MIN_PORT=$MIN_PORT" -e "MAX_PORT=$MAX_PORT" -e "PUBLIC_IP=$PUBLIC_IP" -e "NETWORK_INTERFACE=eth0" lynckia/licode:pre-v10.11
  2. Configure secure access through HTTPS and WSS.
  3. Connect to the Basic Sample.
  4. Click "Toggle Recording".

Describe the results you received:
FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal.

Describe the results you expected:
Recording started and a MKV file generated in /tmp.

Additional information you deem important (e.g. issue happens only occasionally):
Happens every time. With Chrome and also Firefox. With SinglePC enabled and disabled.

Licode commit/release where the issue is happening
pre-v10.11

Additional environment details (Local, AWS, Docker, etc.):
docker image: lynckia/licode:pre-v10.11

@peererror
Copy link

getting same error did you resolve this

@nvazquezg
Copy link
Author

Fixed in #1786

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