I can't deliver with the error "Client log: Cannot send metrics to the server."

I can’t stream with the error « Client log: Cannot send metrics to the server. » How can I fix this?

error[2023/8/26 13:23:49] Client log: Cannot send metrics to the server.
{
  "tags": [
    "client"
  ],
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0",
  "stackTrace": "NetworkError when attempting to fetch resource.\n",
  "url": "https://arcadia.video/w/(stream URL)"
}

What do you mean « you can’t stream »? The player doesn’t work?

I don’t know either.
When I look at the distribution screen, it freezes on the first screen and I can’t see it.

I just updated PeerTube and did a delivery test, and I got this kind of error log.

warn[2023/8/26 21:53:01] Client log: HLS.js error: mediaError - fatal: false - bufferStalledError
{
  "tags": [
    "client"
  ],
  "username": "(USER NAME)",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
  "url": "https://arcadia.video/w/(streaming URL)"
}
warn[2023/8/26 21:53:06] Client log: HLS.js error: mediaError - fatal: false - bufferStalledError
{
  "tags": [
    "client"
  ],
  "username": "(USER NAME)",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
  "url": "https://arcadia.video/w/(streaming URL)"
}
warn[2023/8/26 21:53:18] Warning in tracker.
{
  "err": {
    "stack": "Error: Unknown infoHash 7303fc87960f87cb0693d95b4444cf0d34754ec1 requested by ip 45.8.223.205\n    at Server.<anonymous> (/var/www/peertube/versions/peertube-v5.2.0/dist/server/controllers/tracker.js:56:20)\n    at Generator.next (<anonymous>)\n    at fulfilled (/var/www/peertube/versions/peertube-v5.2.0/node_modules/tslib/tslib.js:164:62)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
    "message": "Unknown infoHash 7303fc87960f87cb0693d95b4444cf0d34754ec1 requested by ip 45.8.223.205"
  }
}
warn[2023/8/26 21:53:19] Client log: HLS.js error: mediaError - fatal: false - bufferStalledError
{
  "tags": [
    "client"
  ],
  "username": "(USER NAME)",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
  "url": "https://arcadia.video/w/(streaming URL)"
}
warn[2023/8/26 21:53:50] Client log: HLS.js error: mediaError - fatal: false - bufferStalledError
{
  "tags": [
    "client"
  ],
  "username": "(USER NAME)",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
  "url": "https://arcadia.video/w/(streaming URL)"
}

The distribution tool uses OBS.

Can you try with another web browser?

I tried it, but I can’t watch the distribution with the following error.

error[2023/8/27 18:15:34] Client log: Cannot build the player
{
  "tags": [
    "client"
  ],
  "username": "(USER NAME)",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
  "stackTrace": "Cannot read properties of undefined (reading 'state')\nTypeError: Cannot read properties of undefined (reading 'state')\n    at https://arcadia.video/client/ja-JP/2293.8591ea1f48e76966.js:1:268888\n    at Generator.next (<anonymous>)\n    at e (https://arcadia.video/client/ja-JP/main.18895fd6dd4b2857.js:3:711716)\n    at c (https://arcadia.video/client/ja-JP/main.18895fd6dd4b2857.js:3:711918)\n    at https://arcadia.video/client/ja-JP/main.18895fd6dd4b2857.js:3:711977\n    at new E (https://arcadia.video/client/ja-JP/polyfills.737628ee7146c22a.js:1:80775)\n    at https://arcadia.video/client/ja-JP/main.18895fd6dd4b2857.js:3:711859\n    at u.buildPlayer (https://arcadia.video/client/ja-JP/2293.8591ea1f48e76966.js:1:270807)\n    at https://arcadia.video/client/ja-JP/2293.8591ea1f48e76966.js:1:268466\n    at Generator.next (<anonymous>)",
  "url": "https://arcadia.video/w/(streaming URL)"
}
error[2023/8/27 18:15:34] Client log: エラー: Cannot read properties of undefined (reading 'name')
{
  "tags": [
    "client"
  ],
  "username": "(USER NAME)",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
  "url": "https://arcadia.video/w/(streaming URL)"
}
warn[2023/8/27 18:15:44] Client log: HLS.js error: mediaError - fatal: false - bufferStalledError
{
  "tags": [
    "client"
  ],
  "username": "(USER NAME)",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
  "url": "https://arcadia.video/w/(streaming URL)"
}
warn[2023/8/27 18:15:49] Client log: HLS.js error: mediaError - fatal: false - bufferStalledError
{
  "tags": [
    "client"
  ],
  "username": "(USER NAME)",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
  "url": "https://arcadia.video/w/(streaming URL)"
}
warn[2023/8/27 18:16:04] Client log: HLS.js error: mediaError - fatal: false - bufferStalledError
{
  "tags": [
    "client"
  ],
  "username": "(USER NAME)",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
  "url": "https://arcadia.video/w/(streaming URL)"
}
warn[2023/8/27 18:16:07] Client log: HLS.js error: mediaError - fatal: false - bufferStalledError
{
  "tags": [
    "client"
  ],
  "username": "root",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
  "url": "https://arcadia.video/w/(streaming URL)"
}
warn[2023/8/27 18:16:21] Client log: HLS.js error: mediaError - fatal: false - bufferStalledError
{
  "tags": [
    "client"
  ],
  "username": "root",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
  "url": "https://arcadia.video/w/(streaming URL)"
}
error[2023/8/27 18:16:53] Client log: Cannot notify user is watching.
{
  "tags": [
    "client"
  ],
  "username": "(USER NAME)",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
  "stackTrace": "Failed to fetch\nTypeError: Failed to fetch\n    at https://arcadia.video/client/ja-JP/polyfills.737628ee7146c22a.js:1:81824\n    at P.<computed> (https://arcadia.video/client/ja-JP/polyfills.737628ee7146c22a.js:1:75737)\n    at Ss.notifyUserIsWatching (https://arcadia.video/client/ja-JP/2293.8591ea1f48e76966.js:1:120362)\n    at https://arcadia.video/client/ja-JP/2293.8591ea1f48e76966.js:1:119923\n    at y.<computed> (https://arcadia.video/client/ja-JP/polyfills.737628ee7146c22a.js:1:90825)\n    at i.invokeTask (https://arcadia.video/client/ja-JP/polyfills.737628ee7146c22a.js:1:69444)\n    at lt.runTask (https://arcadia.video/client/ja-JP/polyfills.737628ee7146c22a.js:1:64752)\n    at invokeTask (https://arcadia.video/client/ja-JP/polyfills.737628ee7146c22a.js:1:70503)\n    at invoke (https://arcadia.video/client/ja-JP/polyfills.737628ee7146c22a.js:1:70404)\n    at c.args.<computed> (https://arcadia.video/client/ja-JP/polyfills.737628ee7146c22a.js:1:90537)",
  "url": "https://arcadia.video/w/(streaming URL)"
}
error[2023/8/27 18:16:53] Client log: Cannot send metrics to the server.
{
  "tags": [
    "client"
  ],
  "username": "(USER NAME)",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
  "stackTrace": "Failed to fetch\nTypeError: Failed to fetch\n    at https://arcadia.video/client/ja-JP/polyfills.737628ee7146c22a.js:1:81824\n    at P.<computed> (https://arcadia.video/client/ja-JP/polyfills.737628ee7146c22a.js:1:75737)\n    at https://arcadia.video/client/ja-JP/2293.8591ea1f48e76966.js:1:155772\n    at y.<computed> (https://arcadia.video/client/ja-JP/polyfills.737628ee7146c22a.js:1:90825)\n    at i.invokeTask (https://arcadia.video/client/ja-JP/polyfills.737628ee7146c22a.js:1:69444)\n    at lt.runTask (https://arcadia.video/client/ja-JP/polyfills.737628ee7146c22a.js:1:64752)\n    at invokeTask (https://arcadia.video/client/ja-JP/polyfills.737628ee7146c22a.js:1:70503)\n    at invoke (https://arcadia.video/client/ja-JP/polyfills.737628ee7146c22a.js:1:70404)\n    at c.args.<computed> (https://arcadia.video/client/ja-JP/polyfills.737628ee7146c22a.js:1:90537)",
  "url": "https://arcadia.video/w/(streaming URL)"
}
warn[2023/8/27 18:17:59] Client log: HLS.js error: mediaError - fatal: false - bufferStalledError
{
  "tags": [
    "client"
  ],
  "username": "(USER NAME)",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
  "url": "https://arcadia.video/w/(streaming URL)"
}
warn[2023/8/27 18:21:31] Client log: Hls.js is not supported in this browser!
{
  "tags": [
    "client"
  ],
  "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1",
  "url": "https://arcadia.video/w/(streaming URL)"
}
warn[2023/8/27 18:21:50] Client log: Hls.js is not supported in this browser!
{
  "tags": [
    "client"
  ],
  "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1",
  "url": "https://arcadia.video/w/(streaming URL)"
}

Can you share the video URL?

This is the URL.

Can you stream into it?

I can connect with OBS.
When it comes to showing it, it is necessary to match the time.

I mean can you stream into it now, so I can test?

I can’t do it today, but can I deliver it tomorrow?

Will you watch the broadcast tomorrow at 19:00 Japan time?

No sorry, but maybe 21-22.

Can you share your OBS encoding settings?

I’m going to do a delivery test around 21:00.
The image below is the OBS settings.

Here are my OBS encoding settings.

Is there a problem with the above settings?

Try x264 in software mode

If it still doesn’t work, ask your admin to enable live transcoding of find another instance that enabled it :slight_smile:

1 « J'aime »

I tried x264 in software mode and it still didn’t work, so I tried enabling transcoding, but OBS started connecting and reconnecting frequently.

warn[2023/9/1 19:11:30] Video 5f6e2513-4c00-4b7d-9991-c2fa0702d35d has already a live session. Refusing stream 6e876fbf-ffa5-4908-ab63-369a9fa80692.
{
  "tags": [
    "live",
    "K49B3CJC",
    "5f6e2513-4c00-4b7d-9991-c2fa0702d35d"
  ]
}
warn[2023/9/1 19:12:02] Video 5f6e2513-4c00-4b7d-9991-c2fa0702d35d has already a live session. Refusing stream 6e876fbf-ffa5-4908-ab63-369a9fa80692.
{
  "tags": [
    "live",
    "CSKW4651",
    "5f6e2513-4c00-4b7d-9991-c2fa0702d35d"
  ]
}
warn[2023/9/1 19:12:22] Video 5f6e2513-4c00-4b7d-9991-c2fa0702d35d has already a live session. Refusing stream 6e876fbf-ffa5-4908-ab63-369a9fa80692.
{
  "tags": [
    "live",
    "66V5U435",
    "5f6e2513-4c00-4b7d-9991-c2fa0702d35d"
  ]
}