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

Internal Server Error #15

Open
AndyReifman opened this issue Jul 8, 2024 · 16 comments
Open

Internal Server Error #15

AndyReifman opened this issue Jul 8, 2024 · 16 comments

Comments

@AndyReifman
Copy link

AndyReifman commented Jul 8, 2024

Problem

Recently I've started hitting an Internal Server Error webpage every time I try to navigate to the Overseerr web ui

Expected behavior

Overseerr UI to load

Actual behavior

White page with Internal Server Error displayed

Looking in the logs, this is the message outputted when I try to open the web page

AxiosError: connect ECONNREFUSED ::1:5055
    at AxiosError.from (file:///opt/node_modules/axios/lib/core/AxiosError.js:89:14)
    at RedirectableRequest.handleRequestError (file:///opt/node_modules/axios/lib/adapters/http.js:577:25)
    at RedirectableRequest.emit (node:events:517:28)
    at eventHandlers.<computed> (/opt/node_modules/follow-redirects/index.js:14:24)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  port: 5055,
  address: '::1',
  syscall: 'connect',
  code: 'ECONNREFUSED',
  errno: -111,
  config: {
    transitional: {
      silentJSONParsing: true,
      forcedJSONParsing: true,
      clarifyTimeoutError: false
    },
    adapter: [ 'xhr', 'http' ],
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 0,
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    env: { FormData: [Function], Blob: [class Blob] },
    validateStatus: [Function: validateStatus],
    headers: AxiosHeaders {
      Accept: 'application/json, text/plain, */*',
      'User-Agent': 'axios/1.3.4',
      'Accept-Encoding': 'gzip, compress, deflate, br'
    },
    method: 'get',
    url: 'http://localhost:5055/api/v1/settings/public',
    data: undefined
  },
  request: <ref *1> Writable {
    _writableState: WritableState {
      objectMode: false,
      highWaterMark: 16384,
      finalCalled: false,
      needDrain: false,
      ending: false,
      ended: false,
      finished: false,
      destroyed: false,
      decodeStrings: true,
      defaultEncoding: 'utf8',
      length: 0,
      writing: false,
      corked: 0,
      sync: true,
      bufferProcessing: false,
      onwrite: [Function: bound onwrite],
      writecb: null,
      writelen: 0,
      afterWriteTickInfo: null,
      buffered: [],
      bufferedIndex: 0,
      allBuffers: true,
      allNoop: true,
      pendingcb: 0,
      constructed: true,
      prefinished: false,
      errorEmitted: false,
      emitClose: true,
      autoDestroy: true,
      errored: null,
      closed: false,
      closeEmitted: false,
      [Symbol(kOnFinished)]: []
    },
    _events: [Object: null prototype] {
      response: [Function: handleResponse],
      error: [Function: handleRequestError],
      socket: [Function: handleRequestSocket]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    _options: {
      maxRedirects: 21,
      maxBodyLength: Infinity,
      protocol: 'http:',
      path: '/api/v1/settings/public',
      method: 'GET',
      headers: [Object: null prototype],
      agents: [Object],
      auth: undefined,
      beforeRedirect: [Function: dispatchBeforeRedirect],
      beforeRedirects: [Object],
      hostname: 'localhost',
      port: '5055',
      agent: undefined,
      nativeProtocols: [Object],
      pathname: '/api/v1/settings/public'
    },
    _ended: true,
    _ending: true,
    _redirectCount: 0,
    _redirects: [],
    _requestBodyLength: 0,
    _requestBodyBuffers: [],
    _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: false,
      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: [Socket],
      _header: 'GET /api/v1/settings/public HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'User-Agent: axios/1.3.4\r\n' +
        'Accept-Encoding: gzip, compress, deflate, br\r\n' +
        'Host: localhost:5055\r\n' +
        'Connection: close\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: nop],
      agent: [Agent],
      socketPath: undefined,
      method: 'GET',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      joinDuplicateHeaders: undefined,
      path: '/api/v1/settings/public',
      _ended: false,
      res: null,
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'localhost',
      protocol: 'http:',
      _redirectable: [Circular *1],
      [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: 'http://localhost:5055/api/v1/settings/public',
    [Symbol(kCapture)]: false
  },
  cause: Error: connect ECONNREFUSED ::1:5055
      at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
    errno: -111,
    code: 'ECONNREFUSED',
    syscall: 'connect',
    address: '::1',
    port: 5055
  }
}
@sinclairpaul
Copy link
Member

If possible could you try disabling IPV6 and retrying, as it looks to be an upstream issue relating to it.

@AndyReifman
Copy link
Author

If possible could you try disabling IPV6 and retrying, as it looks to be an upstream issue relating to it.

Disable on HA, Plex Server, or the entire home network?

@sinclairpaul
Copy link
Member

Just on the HA install, so the addon cannot bind to it.

@AndyReifman
Copy link
Author

Hmm, so I disabled IPv6, rebooted HA, and it looks like I'm still getting the same error.

I can hit url: 'http://localhost:5055/api/v1/settings/public' from my computer (using the correct HA url of course), but I'm not sure that's helpful.

@sinclairpaul
Copy link
Member

Problem is cause: Error: connect ECONNREFUSED ::1:5055

Which looks to be related to sct/overseerr#3839

@AndyReifman
Copy link
Author

AndyReifman commented Jul 9, 2024

lmiklosko commented Apr 5, 2024

Oof.

Wonder why I'm just now hitting this.

@Chefski
Copy link

Chefski commented Jul 12, 2024

Have you found any fix? I'm having the same problem

@SirJohnDoe
Copy link

Still happens. The addon in Alexbelgiums repo works fine (same version).

@mwilky
Copy link

mwilky commented Jul 15, 2024

If possible could you try disabling IPV6 and retrying, as it looks to be an upstream issue relating to it.

Disabled IPv6 and still got the same issue

@AndyReifman
Copy link
Author

I was still hitting this.

Switched to https://github.com/alexbelgium/hassio-addons/tree/master/overseerr yesterday and it appears to be working fine.

@gbcatrinoiu
Copy link

I was still hitting this.

Switched to https://github.com/alexbelgium/hassio-addons/tree/master/overseerr yesterday and it appears to be working fine.

good suggestion works fine for me too although I don't get why. it is basically the same version

@TheS1ngularity
Copy link

I'm having the same issue. No fix yet?

Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Sep 27, 2024
@AndrewVos
Copy link

Same issue for me.

@Chefski
Copy link

Chefski commented Sep 27, 2024

@AndrewVos
I've moved over to Jellyseerr now if you'd want to see if that helps. Works fine, seems the same, just name is different: https://github.com/alexbelgium/hassio-addons/tree/master/jellyseerr

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Sep 28, 2024
@HydrelioxGitHub
Copy link

HydrelioxGitHub commented Oct 10, 2024

Anything to try with this issue ?
It seems that this issues had already been asked for a solution #14 but has been closed because of stale.

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

9 participants