Trying to login and linking my Spotify account to Your_Spotify docker container gives "502 Bad Gateway nginx" error message
Spotify login page should load and allow me to login and link my Spotify account to Your_Spotify docker container.
[migrations] started
[migrations] 01-nginx-site-confs-default: executing...
[migrations] 01-nginx-site-confs-default: succeeded
[migrations] 02-default-location: executing...
[migrations] 02-default-location: succeeded
[migrations] done
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support the app dev(s) visit:
your_spotify: https://github.com/sponsors/Yooooomi
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 99
User gid: 100
-------------------------------------
Setting resolver to 192.168.1.1
Setting worker_processes to 8
generating self-signed keys in /config/keys, you can replace these with your own keys if required
....+.................+...+.+..............+.......+......+.....+...+......+.............+...+.....+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+....+...+..+...+.......+...+........+.+......+..+.......+.....+.........+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..............+.......+...+.....+....+.....+.+..+.........+......+...+.+........+.............+....................+...+............+.......+......+..+...+....+..+....+...............+..+.......+........+..........+..+.+.....+.+.....+..........+...+............+......+.....+...+......+..........+........+.+..+....+...........+.......+...+..+.+.....+.+...........+....+........+......+.+..................+...+..+................+..+....+.........+...........+.+..............+.........................+.....+.+...+.........+...+..+.+..+....+...+..+....+.................+...+.+...+..+.........+.+........+...+....+...+...+..+.......+......+.....+...+.........+...+............+.............+........+......+...+...............+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.......+.+....................+......+...+.............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+...+............+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.......+..+..........+..+.+.........+.....+...+....+...+...+..+.+...........+.+.........+.........+.........+.....+.............+............+...+..+.......+.....+..........+...........+....+.....+....+.....+.+......+.........+.....+......+.............+.........+........+.......+...........+.+...+......+..+...+......+..........+........+...+...+.+.....+.+.............................+...+.......+..............+.+......+..+.............+..+.+.....+.........+.+..+.......+..+..........+...+........+.............+......+...........+....+........+.......+...+......+..............+.+..+..........+..+......+.+.....+.+...............+..............+...+.+.....+............+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
Setting API Endpoint to 'http://192.168.1.23:280/api'
[custom-init] No custom files found, skipping...
yarn run v1.22.19
$ node ./lib/migrations.js
[info] Trying to connect to database at mongodb://mongo:27017/your_spotify
/app/www/server/node_modules/mongoose/lib/connection.js:824
const serverSelectionError = new ServerSelectionError();
^
MongooseServerSelectionError: getaddrinfo ENOTFOUND mongo
at Connection.openUri (/app/www/server/node_modules/mongoose/lib/connection.js:824:32)
at /app/www/server/node_modules/mongoose/lib/index.js:381:10
at /app/www/server/node_modules/mongoose/lib/helpers/promiseOrCallback.js:41:5
at new Promise (<anonymous>)
at promiseOrCallback (/app/www/server/node_modules/mongoose/lib/helpers/promiseOrCallback.js:40:10)
at Mongoose._promiseOrCallback (/app/www/server/node_modules/mongoose/lib/index.js:1234:10)
at Mongoose.connect (/app/www/server/node_modules/mongoose/lib/index.js:380:20)
at /app/www/server/lib/database/index.js:39:49
at Generator.next (<anonymous>)
at /app/www/server/lib/database/index.js:22:71 {
reason: TopologyDescription {
type: 'Unknown',
servers: Map(1) {
'mongo:27017' => ServerDescription {
address: 'mongo:27017',
type: 'Unknown',
hosts: [],
passives: [],
arbiters: [],
tags: {},
minWireVersion: 0,
maxWireVersion: 0,
roundTripTime: -1,
lastUpdateTime: 102927729,
lastWriteDate: 0,
error: MongoNetworkError: getaddrinfo ENOTFOUND mongo
at connectionFailureError (/app/www/server/node_modules/mongodb/lib/cmap/connect.js:387:20)
at Socket.<anonymous> (/app/www/server/node_modules/mongodb/lib/cmap/connect.js:310:22)
at Object.onceWrapper (node:events:628:26)
at Socket.emit (node:events:513: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) {
[Symbol(errorLabels)]: Set(0) {}
},
topologyVersion: null,
setName: null,
setVersion: null,
electionId: null,
logicalSessionTimeoutMinutes: null,
primary: null,
me: null,
'$clusterTime': null
}
},
stale: false,
compatible: true,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
setName: null,
maxElectionId: null,
maxSetVersion: null,
commonWireVersion: 0,
logicalSessionTimeoutMinutes: null
},
code: undefined
}
Node.js v18.12.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.19
$ node lib/bin/www
[info] Trying to connect to database at mongodb://mongo:27017/your_spotify
/app/www/server/node_modules/mongoose/lib/connection.js:824
const serverSelectionError = new ServerSelectionError();
^
MongooseServerSelectionError: getaddrinfo ENOTFOUND mongo
at Connection.openUri (/app/www/server/node_modules/mongoose/lib/connection.js:824:32)
at /app/www/server/node_modules/mongoose/lib/index.js:381:10
at /app/www/server/node_modules/mongoose/lib/helpers/promiseOrCallback.js:41:5
at new Promise (<anonymous>)
at promiseOrCallback (/app/www/server/node_modules/mongoose/lib/helpers/promiseOrCallback.js:40:10)
at Mongoose._promiseOrCallback (/app/www/server/node_modules/mongoose/lib/index.js:1234:10)
at Mongoose.connect (/app/www/server/node_modules/mongoose/lib/index.js:380:20)
at /app/www/server/lib/database/index.js:39:49
at Generator.next (<anonymous>)
at /app/www/server/lib/database/index.js:22:71 {
reason: TopologyDescription {
type: 'Unknown',
servers: Map(1) {
'mongo:27017' => ServerDescription {
address: 'mongo:27017',
type: 'Unknown',
hosts: [],
passives: [],
arbiters: [],
tags: {},
minWireVersion: 0,
maxWireVersion: 0,
roundTripTime: -1,
lastUpdateTime: 102958743,
lastWriteDate: 0,
error: MongoNetworkError: getaddrinfo ENOTFOUND mongo
at connectionFailureError (/app/www/server/node_modules/mongodb/lib/cmap/connect.js:387:20)
at Socket.<anonymous> (/app/www/server/node_modules/mongodb/lib/cmap/connect.js:310:22)
at Object.onceWrapper (node:events:628:26)
at Socket.emit (node:events:513: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) {
[Symbol(errorLabels)]: Set(0) {}
},
topologyVersion: null,
setName: null,
setVersion: null,
electionId: null,
logicalSessionTimeoutMinutes: null,
primary: null,
me: null,
'$clusterTime': null
}
},
stale: false,
compatible: true,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
setName: null,
maxElectionId: null,
maxSetVersion: null,
commonWireVersion: 0,
logicalSessionTimeoutMinutes: null
},
code: undefined
}
Node.js v18.12.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.19
$ node ./lib/migrations.js
[info] Trying to connect to database at mongodb://mongo:27017/your_spotify
/app/www/server/node_modules/mongoose/lib/connection.js:824
const serverSelectionError = new ServerSelectionError();
^
MongooseServerSelectionError: getaddrinfo ENOTFOUND mongo
at Connection.openUri (/app/www/server/node_modules/mongoose/lib/connection.js:824:32)
at /app/www/server/node_modules/mongoose/lib/index.js:381:10
at /app/www/server/node_modules/mongoose/lib/helpers/promiseOrCallback.js:41:5
at new Promise (<anonymous>)
at promiseOrCallback (/app/www/server/node_modules/mongoose/lib/helpers/promiseOrCallback.js:40:10)
at Mongoose._promiseOrCallback (/app/www/server/node_modules/mongoose/lib/index.js:1234:10)
at Mongoose.connect (/app/www/server/node_modules/mongoose/lib/index.js:380:20)
at /app/www/server/lib/database/index.js:39:49
at Generator.next (<anonymous>)
at /app/www/server/lib/database/index.js:22:71 {
reason: TopologyDescription {
type: 'Unknown',
servers: Map(1) {
'mongo:27017' => ServerDescription {
address: 'mongo:27017',
type: 'Unknown',
hosts: [],
passives: [],
arbiters: [],
tags: {},
minWireVersion: 0,
maxWireVersion: 0,
roundTripTime: -1,
lastUpdateTime: 102989493,
lastWriteDate: 0,
error: MongoNetworkError: getaddrinfo ENOTFOUND mongo
at connectionFailureError (/app/www/server/node_modules/mongodb/lib/cmap/connect.js:387:20)
at Socket.<anonymous> (/app/www/server/node_modules/mongodb/lib/cmap/connect.js:310:22)
at Object.onceWrapper (node:events:628:26)
at Socket.emit (node:events:513: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) {
[Symbol(errorLabels)]: Set(0) {}
},
topologyVersion: null,
setName: null,
setVersion: null,
electionId: null,
logicalSessionTimeoutMinutes: null,
primary: null,
me: null,
'$clusterTime': null
}
},
stale: false,
compatible: true,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
setName: null,
maxElectionId: null,
maxSetVersion: null,
commonWireVersion: 0,
logicalSessionTimeoutMinutes: null
},
code: undefined
}
Node.js v18.12.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.19
$ node lib/bin/www
[info] Trying to connect to database at mongodb://mongo:27017/your_spotify
/app/www/server/node_modules/mongoose/lib/connection.js:824
const serverSelectionError = new ServerSelectionError();
^
MongooseServerSelectionError: getaddrinfo ENOTFOUND mongo
at Connection.openUri (/app/www/server/node_modules/mongoose/lib/connection.js:824:32)
at /app/www/server/node_modules/mongoose/lib/index.js:381:10
at /app/www/server/node_modules/mongoose/lib/helpers/promiseOrCallback.js:41:5
at new Promise (<anonymous>)
at promiseOrCallback (/app/www/server/node_modules/mongoose/lib/helpers/promiseOrCallback.js:40:10)
at Mongoose._promiseOrCallback (/app/www/server/node_modules/mongoose/lib/index.js:1234:10)
at Mongoose.connect (/app/www/server/node_modules/mongoose/lib/index.js:380:20)
at /app/www/server/lib/database/index.js:39:49
at Generator.next (<anonymous>)
at /app/www/server/lib/database/index.js:22:71 {
reason: TopologyDescription {
type: 'Unknown',
servers: Map(1) {
'mongo:27017' => ServerDescription {
address: 'mongo:27017',
type: 'Unknown',
hosts: [],
passives: [],
arbiters: [],
tags: {},
minWireVersion: 0,
maxWireVersion: 0,
roundTripTime: -1,
lastUpdateTime: 103020507,
lastWriteDate: 0,
error: MongoNetworkError: getaddrinfo ENOTFOUND mongo
at connectionFailureError (/app/www/server/node_modules/mongodb/lib/cmap/connect.js:387:20)
at Socket.<anonymous> (/app/www/server/node_modules/mongodb/lib/cmap/connect.js:310:22)
at Object.onceWrapper (node:events:628:26)
at Socket.emit (node:events:513: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) {
[Symbol(errorLabels)]: Set(0) {}
},
topologyVersion: null,
setName: null,
setVersion: null,
electionId: null,
logicalSessionTimeoutMinutes: null,
primary: null,
me: null,
'$clusterTime': null
}
},
stale: false,
compatible: true,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
setName: null,
maxElectionId: null,
maxSetVersion: null,
commonWireVersion: 0,
logicalSessionTimeoutMinutes: null
},
code: undefined
}
Node.js v18.12.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.19
$ node ./lib/migrations.js
[info] Trying to connect to database at mongodb://mongo:27017/your_spotify
/app/www/server/node_modules/mongoose/lib/connection.js:824
const serverSelectionError = new ServerSelectionError();
^
MongooseServerSelectionError: getaddrinfo ENOTFOUND mongo
at Connection.openUri (/app/www/server/node_modules/mongoose/lib/connection.js:824:32)
at /app/www/server/node_modules/mongoose/lib/index.js:381:10
at /app/www/server/node_modules/mongoose/lib/helpers/promiseOrCallback.js:41:5
at new Promise (<anonymous>)
at promiseOrCallback (/app/www/server/node_modules/mongoose/lib/helpers/promiseOrCallback.js:40:10)
at Mongoose._promiseOrCallback (/app/www/server/node_modules/mongoose/lib/index.js:1234:10)
at Mongoose.connect (/app/www/server/node_modules/mongoose/lib/index.js:380:20)
at /app/www/server/lib/database/index.js:39:49
at Generator.next (<anonymous>)
at /app/www/server/lib/database/index.js:22:71 {
reason: TopologyDescription {
type: 'Unknown',
servers: Map(1) {
'mongo:27017' => ServerDescription {
address: 'mongo:27017',
type: 'Unknown',
hosts: [],
passives: [],
arbiters: [],
tags: {},
minWireVersion: 0,
maxWireVersion: 0,
roundTripTime: -1,
lastUpdateTime: 103051280,
lastWriteDate: 0,
error: MongoNetworkError: getaddrinfo ENOTFOUND mongo
at connectionFailureError (/app/www/server/node_modules/mongodb/lib/cmap/connect.js:387:20)
at Socket.<anonymous> (/app/www/server/node_modules/mongodb/lib/cmap/connect.js:310:22)
at Object.onceWrapper (node:events:628:26)
at Socket.emit (node:events:513: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) {
[Symbol(errorLabels)]: Set(0) {}
},
topologyVersion: null,
setName: null,
setVersion: null,
electionId: null,
logicalSessionTimeoutMinutes: null,
primary: null,
me: null,
'$clusterTime': null
}
},
stale: false,
compatible: true,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
setName: null,
maxElectionId: null,
maxSetVersion: null,
commonWireVersion: 0,
logicalSessionTimeoutMinutes: null
},
code: undefined
}
Node.js v18.12.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.19
$ node lib/bin/www
[info] Trying to connect to database at mongodb://mongo:27017/your_spotify
/app/www/server/node_modules/mongoose/lib/connection.js:824
const serverSelectionError = new ServerSelectionError();
^
MongooseServerSelectionError: getaddrinfo ENOTFOUND mongo
at Connection.openUri (/app/www/server/node_modules/mongoose/lib/connection.js:824:32)
at /app/www/server/node_modules/mongoose/lib/index.js:381:10
at /app/www/server/node_modules/mongoose/lib/helpers/promiseOrCallback.js:41:5
at new Promise (<anonymous>)
at promiseOrCallback (/app/www/server/node_modules/mongoose/lib/helpers/promiseOrCallback.js:40:10)
at Mongoose._promiseOrCallback (/app/www/server/node_modules/mongoose/lib/index.js:1234:10)
at Mongoose.connect (/app/www/server/node_modules/mongoose/lib/index.js:380:20)
at /app/www/server/lib/database/index.js:39:49
at Generator.next (<anonymous>)
at /app/www/server/lib/database/index.js:22:71 {
reason: TopologyDescription {
type: 'Unknown',
servers: Map(1) {
'mongo:27017' => ServerDescription {
address: 'mongo:27017',
type: 'Unknown',
hosts: [],
passives: [],
arbiters: [],
tags: {},
minWireVersion: 0,
maxWireVersion: 0,
roundTripTime: -1,
lastUpdateTime: 103082257,
lastWriteDate: 0,
error: MongoNetworkError: getaddrinfo ENOTFOUND mongo
at connectionFailureError (/app/www/server/node_modules/mongodb/lib/cmap/connect.js:387:20)
at Socket.<anonymous> (/app/www/server/node_modules/mongodb/lib/cmap/connect.js:310:22)
at Object.onceWrapper (node:events:628:26)
at Socket.emit (node:events:513: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) {
[Symbol(errorLabels)]: Set(0) {}
},
topologyVersion: null,
setName: null,
setVersion: null,
electionId: null,
logicalSessionTimeoutMinutes: null,
primary: null,
me: null,
'$clusterTime': null
}
},
stale: false,
compatible: true,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
setName: null,
maxElectionId: null,
maxSetVersion: null,
commonWireVersion: 0,
logicalSessionTimeoutMinutes: null
},
code: undefined
}
Node.js v18.12.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.19
$ node ./lib/migrations.js
[info] Trying to connect to database at mongodb://mongo:27017/your_spotify
/app/www/server/node_modules/mongoose/lib/connection.js:824
const serverSelectionError = new ServerSelectionError();
^
MongooseServerSelectionError: getaddrinfo ENOTFOUND mongo
at Connection.openUri (/app/www/server/node_modules/mongoose/lib/connection.js:824:32)
at /app/www/server/node_modules/mongoose/lib/index.js:381:10
at /app/www/server/node_modules/mongoose/lib/helpers/promiseOrCallback.js:41:5
at new Promise (<anonymous>)
at promiseOrCallback (/app/www/server/node_modules/mongoose/lib/helpers/promiseOrCallback.js:40:10)
at Mongoose._promiseOrCallback (/app/www/server/node_modules/mongoose/lib/index.js:1234:10)
at Mongoose.connect (/app/www/server/node_modules/mongoose/lib/index.js:380:20)
at /app/www/server/lib/database/index.js:39:49
at Generator.next (<anonymous>)
at /app/www/server/lib/database/index.js:22:71 {
reason: TopologyDescription {
type: 'Unknown',
servers: Map(1) {
'mongo:27017' => ServerDescription {
address: 'mongo:27017',
type: 'Unknown',
hosts: [],
passives: [],
arbiters: [],
tags: {},
minWireVersion: 0,
maxWireVersion: 0,
roundTripTime: -1,
lastUpdateTime: 103113043,
lastWriteDate: 0,
error: MongoNetworkError: getaddrinfo ENOTFOUND mongo
at connectionFailureError (/app/www/server/node_modules/mongodb/lib/cmap/connect.js:387:20)
at Socket.<anonymous> (/app/www/server/node_modules/mongodb/lib/cmap/connect.js:310:22)
at Object.onceWrapper (node:events:628:26)
at Socket.emit (node:events:513: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) {
[Symbol(errorLabels)]: Set(0) {}
},
topologyVersion: null,
setName: null,
setVersion: null,
electionId: null,
logicalSessionTimeoutMinutes: null,
primary: null,
me: null,
'$clusterTime': null
}
},
stale: false,
compatible: true,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
setName: null,
maxElectionId: null,
maxSetVersion: null,
commonWireVersion: 0,
logicalSessionTimeoutMinutes: null
},
code: undefined
}
Node.js v18.12.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.19
$ node lib/bin/www
[info] Trying to connect to database at mongodb://mongo:27017/your_spotify
/app/www/server/node_modules/mongoose/lib/connection.js:824
const serverSelectionError = new ServerSelectionError();
^
MongooseServerSelectionError: getaddrinfo ENOTFOUND mongo
at Connection.openUri (/app/www/server/node_modules/mongoose/lib/connection.js:824:32)
at /app/www/server/node_modules/mongoose/lib/index.js:381:10
at /app/www/server/node_modules/mongoose/lib/helpers/promiseOrCallback.js:41:5
at new Promise (<anonymous>)
at promiseOrCallback (/app/www/server/node_modules/mongoose/lib/helpers/promiseOrCallback.js:40:10)
at Mongoose._promiseOrCallback (/app/www/server/node_modules/mongoose/lib/index.js:1234:10)
at Mongoose.connect (/app/www/server/node_modules/mongoose/lib/index.js:380:20)
at /app/www/server/lib/database/index.js:39:49
at Generator.next (<anonymous>)
at /app/www/server/lib/database/index.js:22:71 {
reason: TopologyDescription {
type: 'Unknown',
servers: Map(1) {
'mongo:27017' => ServerDescription {
address: 'mongo:27017',
type: 'Unknown',
hosts: [],
passives: [],
arbiters: [],
tags: {},
minWireVersion: 0,
maxWireVersion: 0,
roundTripTime: -1,
lastUpdateTime: 103144047,
lastWriteDate: 0,
error: MongoNetworkError: getaddrinfo ENOTFOUND mongo
at connectionFailureError (/app/www/server/node_modules/mongodb/lib/cmap/connect.js:387:20)
at Socket.<anonymous> (/app/www/server/node_modules/mongodb/lib/cmap/connect.js:310:22)
at Object.onceWrapper (node:events:628:26)
at Socket.emit (node:events:513: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) {
[Symbol(errorLabels)]: Set(0) {}
},
topologyVersion: null,
setName: null,
setVersion: null,
electionId: null,
logicalSessionTimeoutMinutes: null,
primary: null,
me: null,
'$clusterTime': null
}
},
stale: false,
compatible: true,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
setName: null,
maxElectionId: null,
maxSetVersion: null,
commonWireVersion: 0,
logicalSessionTimeoutMinutes: null
},
code: undefined
}
Node.js v18.12.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.19
$ node ./lib/migrations.js
[info] Trying to connect to database at mongodb://mongo:27017/your_spotify