[Bug]: podcast episode download failed #2349

Closed
opened 2026-04-25 00:06:21 +02:00 by adam · 5 comments
Owner

Originally created by @Chandler-QJL on GitHub (Nov 7, 2024).

What happened?

Upon clicking download selected episode, shows "Started downloading episodes"
but failed instantly in Activities

What did you expect to happen?

downloading episode in Queue

Steps to reproduce the issue

  1. I use a network proxy
services:
  audiobookshelf:
    image: ghcr.io/advplyr/audiobookshelf:latest
    container_name: audiobookshelf
    ports:
      - 13378:80
    volumes:
      - /data/audiobooks:/audiobooks
      - /data/podcasts:/podcasts
      - ./config:/config
      - ./metadata:/metadata
    restart: unless-stopped
    extra_hosts:
      - "host.docker.internal:host-gateway"
    environment:
      DISABLE_SSRF_REQUEST_FILTER: "1" # Some time ago I follow the instruction here to make ABS successfully connect to the Internet via proxy, but I don't know what it means though. 
      HTTP_PROXY: "http://host.docker.internal:7890"
      HTTPS_PROXY: "http://host.docker.internal:7890"
  1. adding podcast
  2. download an episode

Audiobookshelf version

v2.16.2

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

None

Logs

Config /config /metadata
[2024-11-07 10:17:40.585] INFO: === Starting Server ===
[2024-11-07 10:17:40.590] INFO: [Server] Init v2.16.2
[2024-11-07 10:17:40.590] INFO: [Server] Node.js Version: v20.18.0
[2024-11-07 10:17:40.591] INFO: [Server] Platform: linux
[2024-11-07 10:17:40.591] INFO: [Server] Arch: x64
[2024-11-07 10:17:40.593] INFO: [Database] Initializing db at "/config/absdatabase.sqlite"
[2024-11-07 10:17:40.609] INFO: [Database] Loading extension /usr/local/lib/nusqlite3/libnusqlite3.so
[2024-11-07 10:17:40.609] INFO: [Database] Successfully loaded extension /usr/local/lib/nusqlite3/libnusqlite3.so
[2024-11-07 10:17:40.609] INFO: [Database] Db supports unaccent and unicode foldings
[2024-11-07 10:17:40.610] INFO: [Database] Db connection was successful
[2024-11-07 10:17:40.628] INFO: [MigrationManager] Migrating database up to version 2.16.2
[2024-11-07 10:17:40.628] INFO: [MigrationManager] Migrations to run: v2.15.1-reindex-nocase.js, v2.15.2-index-creation.js
[2024-11-07 10:17:40.649] INFO: Created a backup of the original database.
[2024-11-07 10:17:40.650] INFO: { event: 'migrating', name: 'v2.15.1-reindex-nocase.js' }
[2024-11-07 10:17:40.652] INFO: [2.15.1 migration] UPGRADE BEGIN: 2.15.1-reindex-nocase 
[2024-11-07 10:17:40.652] INFO: [2.15.1 migration] Reindexing NOCASE indices to fix potential hidden corruption issues
[2024-11-07 10:17:40.690] INFO: [2.15.1 migration] UPGRADE END: 2.15.1-reindex-nocase 
[2024-11-07 10:17:40.711] INFO: {
  event: 'migrated',
  name: 'v2.15.1-reindex-nocase.js',
  durationSeconds: 0.061
}
[2024-11-07 10:17:40.713] INFO: { event: 'migrating', name: 'v2.15.2-index-creation.js' }
[2024-11-07 10:17:40.714] INFO: [2.15.2 migration] UPGRADE BEGIN: 2.15.2-index-creation
[2024-11-07 10:17:40.715] INFO: [2.15.2 migration] Creating index for bookAuthors
[2024-11-07 10:17:40.726] INFO: [2.15.2 migration] Creating index for bookSeries
[2024-11-07 10:17:40.734] INFO: [2.15.2 migration] Deleting existing podcastEpisode index
[2024-11-07 10:17:40.740] INFO: [2.15.2 migration] Creating index for podcastEpisode and createdAt
[2024-11-07 10:17:40.742] INFO: [2.15.2 migration] UPGRADE END: 2.15.2-index-creation
[2024-11-07 10:17:40.745] INFO: {
  event: 'migrated',
  name: 'v2.15.2-index-creation.js',
  durationSeconds: 0.033
}
[2024-11-07 10:17:40.747] INFO: [MigrationManager] Migrations successfully applied to the original database.
[2024-11-07 10:17:40.819] INFO: [Database] Db initialized with models: SequelizeMeta, user, library, libraryFolder, book, podcast, podcastEpisode, libraryItem, mediaProgress, series, bookSeries, author, bookAuthor, collection, collectionBook, playlist, playlistMediaItem, device, playbackSession, feed, feedEpisode, setting, customMetadataProvider, mediaItemShare
[2024-11-07 10:17:40.829] INFO: [Database] Server upgrade detected from 2.15.0 to 2.16.2
[2024-11-07 10:17:40.836] INFO: [LogManager] Removed daily log: 2024-10-22.txt
[2024-11-07 10:17:40.836] INFO: [LogManager] Init current daily log filename: 2024-11-07.txt
[2024-11-07 10:17:40.841] INFO: [BackupManager] 0 Backups Found
[2024-11-07 10:17:40.842] INFO: [BackupManager] Auto Backups are disabled
[2024-11-07 10:17:40.849] INFO: [Watcher] Initializing watcher for "audiobooks".
[2024-11-07 10:17:40.850] INFO: [Watcher] Initializing watcher for "podcasts".
[2024-11-07 10:17:40.855] INFO: Listening on port :80
[2024-11-07 10:17:40.867] INFO: [Watcher] "podcasts" Ready
[2024-11-07 10:17:40.889] INFO: [Watcher] "audiobooks" Ready
[2024-11-07 10:17:56.094] INFO: [SocketAuthority] Socket Connected P_ZFwApLZdbCGL8-AAAB
[2024-11-07 10:18:19.523] ERROR: [ffmpegHelpers] Failed to download podcast episode with url "https://sphinx.acast.com/p/open/s/62b0ada25c7ea10012f541cb/e/670ac1d9497379924656d60d/media.mp3?tk=eyJ0ayI6ImRlZmF1bHQiLCJhZHMiOnRydWUsInNwb25zIjp0cnVlLCJzdGF0dXMiOiJwdWJsaWMifQ==&sig=GqndowfMZKTIdzGa00uuS8llDh4HhR3uwVPuQraJia4" AxiosError: Client network socket disconnected before secure TLS connection was established
    at TLSSocket.onConnectEnd (node:_tls_wrap:1730:19)
    at TLSSocket.emit (node:events:531:35)
    at endReadableNT (node:internal/streams/readable:1696:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  localAddress: undefined,
  port: '7890',
  host: 'host.docker.internal',
  path: null,
  code: 'ECONNRESET',
  config: {
    transitional: {
      silentJSONParsing: true,
      forcedJSONParsing: true,
      clarifyTimeoutError: false
    },
    adapter: [Function: httpAdapter],
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 30000,
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    env: { FormData: [Function] },
    validateStatus: [Function: validateStatus],
    headers: {
      Accept: 'application/json, text/plain, */*',
      'User-Agent': 'audiobookshelf (+https://audiobookshelf.org)',
      host: 'stitcher2.acast.com'
    },
    url: 'https://sphinx.acast.com/p/open/s/62b0ada25c7ea10012f541cb/e/670ac1d9497379924656d60d/media.mp3?tk=eyJ0ayI6ImRlZmF1bHQiLCJhZHMiOnRydWUsInNwb25zIjp0cnVlLCJzdGF0dXMiOiJwdWJsaWMifQ==&sig=GqndowfMZKTIdzGa00uuS8llDh4HhR3uwVPuQraJia4',
    method: 'get',
    responseType: 'stream',
    data: undefined
  },
  request: <ref *1> Writable {
    _events: {
      close: undefined,
      error: [Function: handleRequestError],
      prefinish: undefined,
      finish: undefined,
      drain: undefined,
      response: [Function: handleResponse],
      socket: [Array],
      timeout: undefined,
      abort: undefined
    },
    _writableState: WritableState {
      highWaterMark: 16384,
      length: 0,
      corked: 0,
      onwrite: [Function: bound onwrite],
      writelen: 0,
      bufferedIndex: 0,
      pendingcb: 0,
      [Symbol(kState)]: 17580812,
      [Symbol(kBufferedValue)]: null
    },
    _maxListeners: undefined,
    _options: {
      maxRedirects: 21,
      maxBodyLength: 10485760,
      protocol: 'https:',
      path: 'https://stitcher2.acast.com/livestitches/d1bfd4cb04afb648e4997d128acf8bd5.mp3?aid=670ac1d9497379924656d60d&chid=62b0ada25c7ea10012f541cb&ci=Z7wjiK4JLUt40qMuvaC4UoZ54wNand7LH54Ou4b1YI279YymGi8A8Q%3D%3D&pf=rss&sv=sphinx%401.224.0&uid=cb94be0af053588379a56e562d7548ab&Expires=1730986399307&Key-Pair-Id=K38CTQXUSD0VVB&Signature=TwQJfZCD2SOc9Uvhv3ZykYO8aDOKIaQ69xuvn91QebN0Kn6xAsHdtfGBpnMAeSqjhn1O0n0uWuS-4c3R-eAP~odhJXXoxkWbqmoD6hGbSAZi3sMrGr4abWjQJUuWw3tzDGBlRbtcyvW2r1YHEMYxxn1wn45CPAp3CMGNF64ASD0ujbc1Vl3ZYrGGramqr5IB28c2NYBIeyINPx66Hfu23ix~UO7p3PjHWp0EcMAK1RAYgRuORnId0s83poCIsmXMnZzun74hydyNUIC2-tAtX0lHx2-kFe6fuFMP~dWa6xq0qMp4xxIHPZYnqgIqOnq0jO7zugVZN030zZ0jP~VSOQ__',
      method: 'GET',
      headers: [Object],
      agent: undefined,
      agents: [Object],
      auth: null,
      hostname: 'host.docker.internal',
      port: '7890',
      beforeRedirect: [Function: beforeRedirect],
      nativeProtocols: [Object],
      pathname: '/livestitches/d1bfd4cb04afb648e4997d128acf8bd5.mp3',
      search: '?aid=670ac1d9497379924656d60d&chid=62b0ada25c7ea10012f541cb&ci=Z7wjiK4JLUt40qMuvaC4UoZ54wNand7LH54Ou4b1YI279YymGi8A8Q%3D%3D&pf=rss&sv=sphinx%401.224.0&uid=cb94be0af053588379a56e562d7548ab&Expires=1730986399307&Key-Pair-Id=K38CTQXUSD0VVB&Signature=TwQJfZCD2SOc9Uvhv3ZykYO8aDOKIaQ69xuvn91QebN0Kn6xAsHdtfGBpnMAeSqjhn1O0n0uWuS-4c3R-eAP~odhJXXoxkWbqmoD6hGbSAZi3sMrGr4abWjQJUuWw3tzDGBlRbtcyvW2r1YHEMYxxn1wn45CPAp3CMGNF64ASD0ujbc1Vl3ZYrGGramqr5IB28c2NYBIeyINPx66Hfu23ix~UO7p3PjHWp0EcMAK1RAYgRuORnId0s83poCIsmXMnZzun74hydyNUIC2-tAtX0lHx2-kFe6fuFMP~dWa6xq0qMp4xxIHPZYnqgIqOnq0jO7zugVZN030zZ0jP~VSOQ__',
      href: 'https://stitcher2.acast.com/livestitches/d1bfd4cb04afb648e4997d128acf8bd5.mp3?aid=670ac1d9497379924656d60d&chid=62b0ada25c7ea10012f541cb&ci=Z7wjiK4JLUt40qMuvaC4UoZ54wNand7LH54Ou4b1YI279YymGi8A8Q%3D%3D&pf=rss&sv=sphinx%401.224.0&uid=cb94be0af053588379a56e562d7548ab&Expires=1730986399307&Key-Pair-Id=K38CTQXUSD0VVB&Signature=TwQJfZCD2SOc9Uvhv3ZykYO8aDOKIaQ69xuvn91QebN0Kn6xAsHdtfGBpnMAeSqjhn1O0n0uWuS-4c3R-eAP~odhJXXoxkWbqmoD6hGbSAZi3sMrGr4abWjQJUuWw3tzDGBlRbtcyvW2r1YHEMYxxn1wn45CPAp3CMGNF64ASD0ujbc1Vl3ZYrGGramqr5IB28c2NYBIeyINPx66Hfu23ix~UO7p3PjHWp0EcMAK1RAYgRuORnId0s83poCIsmXMnZzun74hydyNUIC2-tAtX0lHx2-kFe6fuFMP~dWa6xq0qMp4xxIHPZYnqgIqOnq0jO7zugVZN030zZ0jP~VSOQ__',
      query: 'aid=670ac1d9497379924656d60d&chid=62b0ada25c7ea10012f541cb&ci=Z7wjiK4JLUt40qMuvaC4UoZ54wNand7LH54Ou4b1YI279YymGi8A8Q%3D%3D&pf=rss&sv=sphinx%401.224.0&uid=cb94be0af053588379a56e562d7548ab&Expires=1730986399307&Key-Pair-Id=K38CTQXUSD0VVB&Signature=TwQJfZCD2SOc9Uvhv3ZykYO8aDOKIaQ69xuvn91QebN0Kn6xAsHdtfGBpnMAeSqjhn1O0n0uWuS-4c3R-eAP~odhJXXoxkWbqmoD6hGbSAZi3sMrGr4abWjQJUuWw3tzDGBlRbtcyvW2r1YHEMYxxn1wn45CPAp3CMGNF64ASD0ujbc1Vl3ZYrGGramqr5IB28c2NYBIeyINPx66Hfu23ix~UO7p3PjHWp0EcMAK1RAYgRuORnId0s83poCIsmXMnZzun74hydyNUIC2-tAtX0lHx2-kFe6fuFMP~dWa6xq0qMp4xxIHPZYnqgIqOnq0jO7zugVZN030zZ0jP~VSOQ__',
      hash: null
    },
    _ended: true,
    _ending: true,
    _redirectCount: 1,
    _redirects: [],
    _requestBodyLength: 0,
    _requestBodyBuffers: [],
    _eventsCount: 3,
    _onNativeResponse: [Function (anonymous)],
    _currentRequest: ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: false,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: true,
      maxRequestsOnConnectionReached: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: false,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      strictContentLength: false,
      _contentLength: 0,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      _closed: false,
      socket: [TLSSocket],
      _header: 'GET https://stitcher2.acast.com/livestitches/d1bfd4cb04afb648e4997d128acf8bd5.mp3?aid=670ac1d9497379924656d60d&chid=62b0ada25c7ea10012f541cb&ci=Z7wjiK4JLUt40qMuvaC4UoZ54wNand7LH54Ou4b1YI279YymGi8A8Q%3D%3D&pf=rss&sv=sphinx%401.224.0&uid=cb94be0af053588379a56e562d7548ab&Expires=1730986399307&Key-Pair-Id=K38CTQXUSD0VVB&Signature=TwQJfZCD2SOc9Uvhv3ZykYO8aDOKIaQ69xuvn91QebN0Kn6xAsHdtfGBpnMAeSqjhn1O0n0uWuS-4c3R-eAP~odhJXXoxkWbqmoD6hGbSAZi3sMrGr4abWjQJUuWw3tzDGBlRbtcyvW2r1YHEMYxxn1wn45CPAp3CMGNF64ASD0ujbc1Vl3ZYrGGramqr5IB28c2NYBIeyINPx66Hfu23ix~UO7p3PjHWp0EcMAK1RAYgRuORnId0s83poCIsmXMnZzun74hydyNUIC2-tAtX0lHx2-kFe6fuFMP~dWa6xq0qMp4xxIHPZYnqgIqOnq0jO7zugVZN030zZ0jP~VSOQ__ HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'User-Agent: audiobookshelf (+https://audiobookshelf.org)\r\n' +
        'host: stitcher2.acast.com\r\n' +
        'Connection: keep-alive\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: nop],
      agent: [Agent],
      socketPath: undefined,
      method: 'GET',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      joinDuplicateHeaders: undefined,
      path: 'https://stitcher2.acast.com/livestitches/d1bfd4cb04afb648e4997d128acf8bd5.mp3?aid=670ac1d9497379924656d60d&chid=62b0ada25c7ea10012f541cb&ci=Z7wjiK4JLUt40qMuvaC4UoZ54wNand7LH54Ou4b1YI279YymGi8A8Q%3D%3D&pf=rss&sv=sphinx%401.224.0&uid=cb94be0af053588379a56e562d7548ab&Expires=1730986399307&Key-Pair-Id=K38CTQXUSD0VVB&Signature=TwQJfZCD2SOc9Uvhv3ZykYO8aDOKIaQ69xuvn91QebN0Kn6xAsHdtfGBpnMAeSqjhn1O0n0uWuS-4c3R-eAP~odhJXXoxkWbqmoD6hGbSAZi3sMrGr4abWjQJUuWw3tzDGBlRbtcyvW2r1YHEMYxxn1wn45CPAp3CMGNF64ASD0ujbc1Vl3ZYrGGramqr5IB28c2NYBIeyINPx66Hfu23ix~UO7p3PjHWp0EcMAK1RAYgRuORnId0s83poCIsmXMnZzun74hydyNUIC2-tAtX0lHx2-kFe6fuFMP~dWa6xq0qMp4xxIHPZYnqgIqOnq0jO7zugVZN030zZ0jP~VSOQ__',
      _ended: false,
      res: null,
      aborted: false,
      timeoutCb: [Function: emitRequestTimeout],
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'host.docker.internal',
      protocol: 'https:',
      _redirectable: [Circular *1],
      [Symbol(shapeMode)]: false,
      [Symbol(kCapture)]: false,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype],
      [Symbol(errored)]: null,
      [Symbol(kHighWaterMark)]: 16384,
      [Symbol(kRejectNonStandardBodyWrites)]: false,
      [Symbol(kUniqueHeaders)]: null
    },
    _currentUrl: 'https://stitcher2.acast.com/livestitches/d1bfd4cb04afb648e4997d128acf8bd5.mp3?aid=670ac1d9497379924656d60d&chid=62b0ada25c7ea10012f541cb&ci=Z7wjiK4JLUt40qMuvaC4UoZ54wNand7LH54Ou4b1YI279YymGi8A8Q%3D%3D&pf=rss&sv=sphinx%401.224.0&uid=cb94be0af053588379a56e562d7548ab&Expires=1730986399307&Key-Pair-Id=K38CTQXUSD0VVB&Signature=TwQJfZCD2SOc9Uvhv3ZykYO8aDOKIaQ69xuvn91QebN0Kn6xAsHdtfGBpnMAeSqjhn1O0n0uWuS-4c3R-eAP~odhJXXoxkWbqmoD6hGbSAZi3sMrGr4abWjQJUuWw3tzDGBlRbtcyvW2r1YHEMYxxn1wn45CPAp3CMGNF64ASD0ujbc1Vl3ZYrGGramqr5IB28c2NYBIeyINPx66Hfu23ix~UO7p3PjHWp0EcMAK1RAYgRuORnId0s83poCIsmXMnZzun74hydyNUIC2-tAtX0lHx2-kFe6fuFMP~dWa6xq0qMp4xxIHPZYnqgIqOnq0jO7zugVZN030zZ0jP~VSOQ__',
    _timeout: null,
    _isRedirect: true,
    [Symbol(shapeMode)]: true,
    [Symbol(kCapture)]: false
  }
}

Additional Notes

No response

Originally created by @Chandler-QJL on GitHub (Nov 7, 2024). ### What happened? Upon clicking download selected episode, shows "Started downloading episodes" but failed instantly in Activities ### What did you expect to happen? downloading episode in Queue ### Steps to reproduce the issue 1. I use a network proxy ``` services: audiobookshelf: image: ghcr.io/advplyr/audiobookshelf:latest container_name: audiobookshelf ports: - 13378:80 volumes: - /data/audiobooks:/audiobooks - /data/podcasts:/podcasts - ./config:/config - ./metadata:/metadata restart: unless-stopped extra_hosts: - "host.docker.internal:host-gateway" environment: DISABLE_SSRF_REQUEST_FILTER: "1" # Some time ago I follow the instruction here to make ABS successfully connect to the Internet via proxy, but I don't know what it means though. HTTP_PROXY: "http://host.docker.internal:7890" HTTPS_PROXY: "http://host.docker.internal:7890" ``` 2. adding podcast 3. download an episode ### Audiobookshelf version v2.16.2 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? None ### Logs ```shell Config /config /metadata [2024-11-07 10:17:40.585] INFO: === Starting Server === [2024-11-07 10:17:40.590] INFO: [Server] Init v2.16.2 [2024-11-07 10:17:40.590] INFO: [Server] Node.js Version: v20.18.0 [2024-11-07 10:17:40.591] INFO: [Server] Platform: linux [2024-11-07 10:17:40.591] INFO: [Server] Arch: x64 [2024-11-07 10:17:40.593] INFO: [Database] Initializing db at "/config/absdatabase.sqlite" [2024-11-07 10:17:40.609] INFO: [Database] Loading extension /usr/local/lib/nusqlite3/libnusqlite3.so [2024-11-07 10:17:40.609] INFO: [Database] Successfully loaded extension /usr/local/lib/nusqlite3/libnusqlite3.so [2024-11-07 10:17:40.609] INFO: [Database] Db supports unaccent and unicode foldings [2024-11-07 10:17:40.610] INFO: [Database] Db connection was successful [2024-11-07 10:17:40.628] INFO: [MigrationManager] Migrating database up to version 2.16.2 [2024-11-07 10:17:40.628] INFO: [MigrationManager] Migrations to run: v2.15.1-reindex-nocase.js, v2.15.2-index-creation.js [2024-11-07 10:17:40.649] INFO: Created a backup of the original database. [2024-11-07 10:17:40.650] INFO: { event: 'migrating', name: 'v2.15.1-reindex-nocase.js' } [2024-11-07 10:17:40.652] INFO: [2.15.1 migration] UPGRADE BEGIN: 2.15.1-reindex-nocase [2024-11-07 10:17:40.652] INFO: [2.15.1 migration] Reindexing NOCASE indices to fix potential hidden corruption issues [2024-11-07 10:17:40.690] INFO: [2.15.1 migration] UPGRADE END: 2.15.1-reindex-nocase [2024-11-07 10:17:40.711] INFO: { event: 'migrated', name: 'v2.15.1-reindex-nocase.js', durationSeconds: 0.061 } [2024-11-07 10:17:40.713] INFO: { event: 'migrating', name: 'v2.15.2-index-creation.js' } [2024-11-07 10:17:40.714] INFO: [2.15.2 migration] UPGRADE BEGIN: 2.15.2-index-creation [2024-11-07 10:17:40.715] INFO: [2.15.2 migration] Creating index for bookAuthors [2024-11-07 10:17:40.726] INFO: [2.15.2 migration] Creating index for bookSeries [2024-11-07 10:17:40.734] INFO: [2.15.2 migration] Deleting existing podcastEpisode index [2024-11-07 10:17:40.740] INFO: [2.15.2 migration] Creating index for podcastEpisode and createdAt [2024-11-07 10:17:40.742] INFO: [2.15.2 migration] UPGRADE END: 2.15.2-index-creation [2024-11-07 10:17:40.745] INFO: { event: 'migrated', name: 'v2.15.2-index-creation.js', durationSeconds: 0.033 } [2024-11-07 10:17:40.747] INFO: [MigrationManager] Migrations successfully applied to the original database. [2024-11-07 10:17:40.819] INFO: [Database] Db initialized with models: SequelizeMeta, user, library, libraryFolder, book, podcast, podcastEpisode, libraryItem, mediaProgress, series, bookSeries, author, bookAuthor, collection, collectionBook, playlist, playlistMediaItem, device, playbackSession, feed, feedEpisode, setting, customMetadataProvider, mediaItemShare [2024-11-07 10:17:40.829] INFO: [Database] Server upgrade detected from 2.15.0 to 2.16.2 [2024-11-07 10:17:40.836] INFO: [LogManager] Removed daily log: 2024-10-22.txt [2024-11-07 10:17:40.836] INFO: [LogManager] Init current daily log filename: 2024-11-07.txt [2024-11-07 10:17:40.841] INFO: [BackupManager] 0 Backups Found [2024-11-07 10:17:40.842] INFO: [BackupManager] Auto Backups are disabled [2024-11-07 10:17:40.849] INFO: [Watcher] Initializing watcher for "audiobooks". [2024-11-07 10:17:40.850] INFO: [Watcher] Initializing watcher for "podcasts". [2024-11-07 10:17:40.855] INFO: Listening on port :80 [2024-11-07 10:17:40.867] INFO: [Watcher] "podcasts" Ready [2024-11-07 10:17:40.889] INFO: [Watcher] "audiobooks" Ready [2024-11-07 10:17:56.094] INFO: [SocketAuthority] Socket Connected P_ZFwApLZdbCGL8-AAAB [2024-11-07 10:18:19.523] ERROR: [ffmpegHelpers] Failed to download podcast episode with url "https://sphinx.acast.com/p/open/s/62b0ada25c7ea10012f541cb/e/670ac1d9497379924656d60d/media.mp3?tk=eyJ0ayI6ImRlZmF1bHQiLCJhZHMiOnRydWUsInNwb25zIjp0cnVlLCJzdGF0dXMiOiJwdWJsaWMifQ==&sig=GqndowfMZKTIdzGa00uuS8llDh4HhR3uwVPuQraJia4" AxiosError: Client network socket disconnected before secure TLS connection was established at TLSSocket.onConnectEnd (node:_tls_wrap:1730:19) at TLSSocket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { localAddress: undefined, port: '7890', host: 'host.docker.internal', path: null, code: 'ECONNRESET', config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [Function: httpAdapter], transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 30000, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: [Function] }, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'audiobookshelf (+https://audiobookshelf.org)', host: 'stitcher2.acast.com' }, url: 'https://sphinx.acast.com/p/open/s/62b0ada25c7ea10012f541cb/e/670ac1d9497379924656d60d/media.mp3?tk=eyJ0ayI6ImRlZmF1bHQiLCJhZHMiOnRydWUsInNwb25zIjp0cnVlLCJzdGF0dXMiOiJwdWJsaWMifQ==&sig=GqndowfMZKTIdzGa00uuS8llDh4HhR3uwVPuQraJia4', method: 'get', responseType: 'stream', data: undefined }, request: <ref *1> Writable { _events: { close: undefined, error: [Function: handleRequestError], prefinish: undefined, finish: undefined, drain: undefined, response: [Function: handleResponse], socket: [Array], timeout: undefined, abort: undefined }, _writableState: WritableState { highWaterMark: 16384, length: 0, corked: 0, onwrite: [Function: bound onwrite], writelen: 0, bufferedIndex: 0, pendingcb: 0, [Symbol(kState)]: 17580812, [Symbol(kBufferedValue)]: null }, _maxListeners: undefined, _options: { maxRedirects: 21, maxBodyLength: 10485760, protocol: 'https:', path: 'https://stitcher2.acast.com/livestitches/d1bfd4cb04afb648e4997d128acf8bd5.mp3?aid=670ac1d9497379924656d60d&chid=62b0ada25c7ea10012f541cb&ci=Z7wjiK4JLUt40qMuvaC4UoZ54wNand7LH54Ou4b1YI279YymGi8A8Q%3D%3D&pf=rss&sv=sphinx%401.224.0&uid=cb94be0af053588379a56e562d7548ab&Expires=1730986399307&Key-Pair-Id=K38CTQXUSD0VVB&Signature=TwQJfZCD2SOc9Uvhv3ZykYO8aDOKIaQ69xuvn91QebN0Kn6xAsHdtfGBpnMAeSqjhn1O0n0uWuS-4c3R-eAP~odhJXXoxkWbqmoD6hGbSAZi3sMrGr4abWjQJUuWw3tzDGBlRbtcyvW2r1YHEMYxxn1wn45CPAp3CMGNF64ASD0ujbc1Vl3ZYrGGramqr5IB28c2NYBIeyINPx66Hfu23ix~UO7p3PjHWp0EcMAK1RAYgRuORnId0s83poCIsmXMnZzun74hydyNUIC2-tAtX0lHx2-kFe6fuFMP~dWa6xq0qMp4xxIHPZYnqgIqOnq0jO7zugVZN030zZ0jP~VSOQ__', method: 'GET', headers: [Object], agent: undefined, agents: [Object], auth: null, hostname: 'host.docker.internal', port: '7890', beforeRedirect: [Function: beforeRedirect], nativeProtocols: [Object], pathname: '/livestitches/d1bfd4cb04afb648e4997d128acf8bd5.mp3', search: '?aid=670ac1d9497379924656d60d&chid=62b0ada25c7ea10012f541cb&ci=Z7wjiK4JLUt40qMuvaC4UoZ54wNand7LH54Ou4b1YI279YymGi8A8Q%3D%3D&pf=rss&sv=sphinx%401.224.0&uid=cb94be0af053588379a56e562d7548ab&Expires=1730986399307&Key-Pair-Id=K38CTQXUSD0VVB&Signature=TwQJfZCD2SOc9Uvhv3ZykYO8aDOKIaQ69xuvn91QebN0Kn6xAsHdtfGBpnMAeSqjhn1O0n0uWuS-4c3R-eAP~odhJXXoxkWbqmoD6hGbSAZi3sMrGr4abWjQJUuWw3tzDGBlRbtcyvW2r1YHEMYxxn1wn45CPAp3CMGNF64ASD0ujbc1Vl3ZYrGGramqr5IB28c2NYBIeyINPx66Hfu23ix~UO7p3PjHWp0EcMAK1RAYgRuORnId0s83poCIsmXMnZzun74hydyNUIC2-tAtX0lHx2-kFe6fuFMP~dWa6xq0qMp4xxIHPZYnqgIqOnq0jO7zugVZN030zZ0jP~VSOQ__', href: 'https://stitcher2.acast.com/livestitches/d1bfd4cb04afb648e4997d128acf8bd5.mp3?aid=670ac1d9497379924656d60d&chid=62b0ada25c7ea10012f541cb&ci=Z7wjiK4JLUt40qMuvaC4UoZ54wNand7LH54Ou4b1YI279YymGi8A8Q%3D%3D&pf=rss&sv=sphinx%401.224.0&uid=cb94be0af053588379a56e562d7548ab&Expires=1730986399307&Key-Pair-Id=K38CTQXUSD0VVB&Signature=TwQJfZCD2SOc9Uvhv3ZykYO8aDOKIaQ69xuvn91QebN0Kn6xAsHdtfGBpnMAeSqjhn1O0n0uWuS-4c3R-eAP~odhJXXoxkWbqmoD6hGbSAZi3sMrGr4abWjQJUuWw3tzDGBlRbtcyvW2r1YHEMYxxn1wn45CPAp3CMGNF64ASD0ujbc1Vl3ZYrGGramqr5IB28c2NYBIeyINPx66Hfu23ix~UO7p3PjHWp0EcMAK1RAYgRuORnId0s83poCIsmXMnZzun74hydyNUIC2-tAtX0lHx2-kFe6fuFMP~dWa6xq0qMp4xxIHPZYnqgIqOnq0jO7zugVZN030zZ0jP~VSOQ__', query: 'aid=670ac1d9497379924656d60d&chid=62b0ada25c7ea10012f541cb&ci=Z7wjiK4JLUt40qMuvaC4UoZ54wNand7LH54Ou4b1YI279YymGi8A8Q%3D%3D&pf=rss&sv=sphinx%401.224.0&uid=cb94be0af053588379a56e562d7548ab&Expires=1730986399307&Key-Pair-Id=K38CTQXUSD0VVB&Signature=TwQJfZCD2SOc9Uvhv3ZykYO8aDOKIaQ69xuvn91QebN0Kn6xAsHdtfGBpnMAeSqjhn1O0n0uWuS-4c3R-eAP~odhJXXoxkWbqmoD6hGbSAZi3sMrGr4abWjQJUuWw3tzDGBlRbtcyvW2r1YHEMYxxn1wn45CPAp3CMGNF64ASD0ujbc1Vl3ZYrGGramqr5IB28c2NYBIeyINPx66Hfu23ix~UO7p3PjHWp0EcMAK1RAYgRuORnId0s83poCIsmXMnZzun74hydyNUIC2-tAtX0lHx2-kFe6fuFMP~dWa6xq0qMp4xxIHPZYnqgIqOnq0jO7zugVZN030zZ0jP~VSOQ__', hash: null }, _ended: true, _ending: true, _redirectCount: 1, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _eventsCount: 3, _onNativeResponse: [Function (anonymous)], _currentRequest: ClientRequest { _events: [Object: null prototype], _eventsCount: 7, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: true, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, strictContentLength: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET https://stitcher2.acast.com/livestitches/d1bfd4cb04afb648e4997d128acf8bd5.mp3?aid=670ac1d9497379924656d60d&chid=62b0ada25c7ea10012f541cb&ci=Z7wjiK4JLUt40qMuvaC4UoZ54wNand7LH54Ou4b1YI279YymGi8A8Q%3D%3D&pf=rss&sv=sphinx%401.224.0&uid=cb94be0af053588379a56e562d7548ab&Expires=1730986399307&Key-Pair-Id=K38CTQXUSD0VVB&Signature=TwQJfZCD2SOc9Uvhv3ZykYO8aDOKIaQ69xuvn91QebN0Kn6xAsHdtfGBpnMAeSqjhn1O0n0uWuS-4c3R-eAP~odhJXXoxkWbqmoD6hGbSAZi3sMrGr4abWjQJUuWw3tzDGBlRbtcyvW2r1YHEMYxxn1wn45CPAp3CMGNF64ASD0ujbc1Vl3ZYrGGramqr5IB28c2NYBIeyINPx66Hfu23ix~UO7p3PjHWp0EcMAK1RAYgRuORnId0s83poCIsmXMnZzun74hydyNUIC2-tAtX0lHx2-kFe6fuFMP~dWa6xq0qMp4xxIHPZYnqgIqOnq0jO7zugVZN030zZ0jP~VSOQ__ HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'User-Agent: audiobookshelf (+https://audiobookshelf.org)\r\n' + 'host: stitcher2.acast.com\r\n' + 'Connection: keep-alive\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, joinDuplicateHeaders: undefined, path: 'https://stitcher2.acast.com/livestitches/d1bfd4cb04afb648e4997d128acf8bd5.mp3?aid=670ac1d9497379924656d60d&chid=62b0ada25c7ea10012f541cb&ci=Z7wjiK4JLUt40qMuvaC4UoZ54wNand7LH54Ou4b1YI279YymGi8A8Q%3D%3D&pf=rss&sv=sphinx%401.224.0&uid=cb94be0af053588379a56e562d7548ab&Expires=1730986399307&Key-Pair-Id=K38CTQXUSD0VVB&Signature=TwQJfZCD2SOc9Uvhv3ZykYO8aDOKIaQ69xuvn91QebN0Kn6xAsHdtfGBpnMAeSqjhn1O0n0uWuS-4c3R-eAP~odhJXXoxkWbqmoD6hGbSAZi3sMrGr4abWjQJUuWw3tzDGBlRbtcyvW2r1YHEMYxxn1wn45CPAp3CMGNF64ASD0ujbc1Vl3ZYrGGramqr5IB28c2NYBIeyINPx66Hfu23ix~UO7p3PjHWp0EcMAK1RAYgRuORnId0s83poCIsmXMnZzun74hydyNUIC2-tAtX0lHx2-kFe6fuFMP~dWa6xq0qMp4xxIHPZYnqgIqOnq0jO7zugVZN030zZ0jP~VSOQ__', _ended: false, res: null, aborted: false, timeoutCb: [Function: emitRequestTimeout], upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'host.docker.internal', protocol: 'https:', _redirectable: [Circular *1], [Symbol(shapeMode)]: false, [Symbol(kCapture)]: false, [Symbol(kBytesWritten)]: 0, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(errored)]: null, [Symbol(kHighWaterMark)]: 16384, [Symbol(kRejectNonStandardBodyWrites)]: false, [Symbol(kUniqueHeaders)]: null }, _currentUrl: 'https://stitcher2.acast.com/livestitches/d1bfd4cb04afb648e4997d128acf8bd5.mp3?aid=670ac1d9497379924656d60d&chid=62b0ada25c7ea10012f541cb&ci=Z7wjiK4JLUt40qMuvaC4UoZ54wNand7LH54Ou4b1YI279YymGi8A8Q%3D%3D&pf=rss&sv=sphinx%401.224.0&uid=cb94be0af053588379a56e562d7548ab&Expires=1730986399307&Key-Pair-Id=K38CTQXUSD0VVB&Signature=TwQJfZCD2SOc9Uvhv3ZykYO8aDOKIaQ69xuvn91QebN0Kn6xAsHdtfGBpnMAeSqjhn1O0n0uWuS-4c3R-eAP~odhJXXoxkWbqmoD6hGbSAZi3sMrGr4abWjQJUuWw3tzDGBlRbtcyvW2r1YHEMYxxn1wn45CPAp3CMGNF64ASD0ujbc1Vl3ZYrGGramqr5IB28c2NYBIeyINPx66Hfu23ix~UO7p3PjHWp0EcMAK1RAYgRuORnId0s83poCIsmXMnZzun74hydyNUIC2-tAtX0lHx2-kFe6fuFMP~dWa6xq0qMp4xxIHPZYnqgIqOnq0jO7zugVZN030zZ0jP~VSOQ__', _timeout: null, _isRedirect: true, [Symbol(shapeMode)]: true, [Symbol(kCapture)]: false } } ``` ### Additional Notes _No response_
adam added the bug label 2026-04-25 00:06:21 +02:00
adam closed this issue 2026-04-25 00:06:21 +02:00
Author
Owner

@nichwall commented on GitHub (Nov 7, 2024):

Have you tried multiple podcasts? Do any of them work?

Have you tried removing the docker proxy stuff? I haven't seen that in a compose before.

@nichwall commented on GitHub (Nov 7, 2024): Have you tried multiple podcasts? Do any of them work? Have you tried removing the docker proxy stuff? I haven't seen that in a compose before.
Author
Owner

@Chandler-QJL commented on GitHub (Nov 7, 2024):

Have you tried multiple podcasts? Do any of them work?

Have you tried removing the docker proxy stuff? I haven't seen that in a compose before.

Currently I'm using the proxy to bypass the GFW in China to scrape metadata from Audible, which is blocked by the GFW. Just starting to give the podcast library a try. No problem adding podcasts, but downloading episodes just failed.

@Chandler-QJL commented on GitHub (Nov 7, 2024): > Have you tried multiple podcasts? Do any of them work? > > Have you tried removing the docker proxy stuff? I haven't seen that in a compose before. Currently I'm using the proxy to bypass the GFW in China to scrape metadata from Audible, which is blocked by the GFW. Just starting to give the podcast library a try. No problem adding podcasts, but downloading episodes just failed.
Author
Owner

@advplyr commented on GitHub (Nov 8, 2024):

I wasn't able to reproduce this issue using that podcast so this is an issue with your network. We can re-open if it is an Abs issue

@advplyr commented on GitHub (Nov 8, 2024): I wasn't able to reproduce this issue using that podcast so this is an issue with your network. We can re-open if it is an Abs issue
Author
Owner

@Chandler-QJL commented on GitHub (Nov 8, 2024):

I wasn't able to reproduce this issue using that podcast so this is an issue with your network. We can re-open if it is an Abs issue

The problem was first mentioned in #2666 and also encountered in #2078. Likely a TLS issue. Something to do with the aforementioned axios module then.

@Chandler-QJL commented on GitHub (Nov 8, 2024): > I wasn't able to reproduce this issue using that podcast so this is an issue with your network. We can re-open if it is an Abs issue The problem was first mentioned in #2666 and also encountered in #2078. Likely a TLS issue. Something to do with the aforementioned `axios` module then.
Author
Owner

@advplyr commented on GitHub (Nov 8, 2024):

Since we can't upgrade axios we could potentially use native fetch, but I'd like to find the actual issue with axios. Where they patched it. Maybe we can set up a workaround

@advplyr commented on GitHub (Nov 8, 2024): Since we can't upgrade axios we could potentially use native fetch, but I'd like to find the actual issue with axios. Where they patched it. Maybe we can set up a workaround
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2349