Closed kezzkezzkezz closed 1 year ago
Have tried replacing API keys too
Could you try re-creating the container with the env var DEBUG
set to *
and see if it logs anything useful?
createdAt: asc
}
]
take: 50
) { hash bytes accessedAt createdAt updatedAt } }
2023-02-25T04:11:04.631Z prisma:client:libraryEngine sending request, this.libraryStarted: false 2023-02-25T04:11:04.631Z prisma:client:libraryEngine library starting 2023-02-25T04:11:04.633Z prisma:client:libraryEngine library started 2023-02-25T04:11:04.679Z muse Evicting oldest files... 2023-02-25T04:11:04.680Z prisma:client Prisma Client call: 2023-02-25T04:11:04.680Z prisma:client prisma.fileCache.aggregate({ select: { _sum: { select: { bytes: true } } } }) 2023-02-25T04:11:04.680Z prisma:client Generated request: 2023-02-25T04:11:04.680Z prisma:client query { aggregateFileCache { _sum { bytes } } }
2023-02-25T04:11:04.680Z prisma:client:libraryEngine sending request, this.libraryStarted: true 2023-02-25T04:11:04.693Z superagent POST https://accounts.spotify.com/api/token 2023-02-25T04:11:04.695Z superagent POST https://accounts.spotify.com/api/token 2023-02-25T04:11:04.698Z superagent POST https://accounts.spotify.com/api/token
Opus Libraries
Encryption Libraries
FFmpeg
2023-02-25T04:11:05.933Z muse [WS => Shard 0] Heartbeat acknowledged, latency of 243ms. ✔ Ready! Invite the bot with https://discordapp.com/oauth2/authorize?client_id=&scope=bot%20applications.commands&permissions=36700160 2023-02-25T04:11:46.630Z muse [WS => Shard 0] [HeartbeatTimer] Sending a heartbeat. 2023-02-25T04:11:46.871Z muse [WS => Shard 0] Heartbeat acknowledged, latency of 241ms.
I deleted a prior message that exposed your YouTube key, but using it looks like you might need to add billing to your Google Cloud project:
Woops, thought i cleaned all the keys out. i'll just change that key. how and why does billing need to be added?
Actived billing on my Project but still getting this error
key: "[\"shahmen mangroves\",{\"limit\":10}]"
}) { key value expiresAt createdAt updatedAt } }
2023-02-26T03:03:02.378Z prisma:client:libraryEngine sending request, this.libraryStarted: true 2023-02-26T03:03:02.379Z muse Cache hit: ["shahmen mangroves",{"limit":10}] 2023-02-26T03:03:02.379Z prisma:client Prisma Client call: 2023-02-26T03:03:02.379Z prisma:client prisma.keyValueCache.findUnique({ where: { key: '["VocedhcPDW4"]' } }) 2023-02-26T03:03:02.379Z prisma:client Generated request: 2023-02-26T03:03:02.379Z prisma:client query { findUniqueKeyValueCache(where: { key: "[\"VocedhcPDW4\"]" }) { key value expiresAt createdAt updatedAt } }
2023-02-26T03:03:02.380Z prisma:client:libraryEngine sending request, this.libraryStarted: true 2023-02-26T03:03:02.380Z muse Cache miss: ["VocedhcPDW4"] 2023-02-26T03:03:02.391Z follow-redirects options { protocol: 'https:', maxRedirects: 21, maxBodyLength: 10485760, path: '/youtube/v3/videos?expiresIn=3600&id=---------------------&part=id,+player,+snippet,+contentDetails,+status,+statistics', method: 'GET', headers: { Accept: 'application/json, text/plain, /', 'User-Agent': 'axios/0.19.2' }, agent: undefined, agents: { http: undefined, https: undefined }, auth: undefined, hostname: 'www.googleapis.com', port: null, nativeProtocols: { 'http:': { _connectionListener: [Function: connectionListener], METHODS: [Array], STATUS_CODES: [Object], Agent: [Function], ClientRequest: [Function: ClientRequest], IncomingMessage: [Function: IncomingMessage], OutgoingMessage: [Function: OutgoingMessage], Server: [Function: Server], ServerResponse: [Function: ServerResponse], createServer: [Function: createServer], validateHeaderName: [Function: nodeinternal], validateHeaderValue: [Function: nodeinternal], get: [Function: get], request: [Function: request], maxHeaderSize: [Getter], globalAgent: [Getter/Setter] }, 'https:': { Agent: [Function: Agent], globalAgent: [Agent], Server: [Function: Server], createServer: [Function: createServer], get: [Function: get], request: [Function: request] } } } 2023-02-26T03:03:02.705Z muse /usr/app/node_modules/axios/lib/core/createError.js:16 var error = new Error(message); ^
Error: Request failed with status code 403
at module.exports (/usr/app/node_modules/axios/lib/core/createError.js:16:15)
at module.exports (/usr/app/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.
2023-02-26T03:03:25.047Z prisma:client:libraryEngine sending request, this.libraryStarted: true 2023-02-26T03:03:25.048Z muse Cache hit: autocomplete:s 2023-02-26T03:03:26.542Z prisma:client Prisma Client call: 2023-02-26T03:03:26.542Z prisma:client prisma.keyValueCache.findUnique({ where: { key: 'autocomplete:shahmn' } }) 2023-02-26T03:03:26.542Z prisma:client Generated request: 2023-02-26T03:03:26.542Z prisma:client query { findUniqueKeyValueCache(where: { key: "autocomplete:shahmn" }) { key value expiresAt createdAt updatedAt } }
2023-02-26T03:03:26.542Z prisma:client:libraryEngine sending request, this.libraryStarted: true 2023-02-26T03:03:26.543Z muse Cache hit: autocomplete:shahmn 2023-02-26T03:03:27.049Z prisma:client Prisma Client call: 2023-02-26T03:03:27.049Z prisma:client prisma.keyValueCache.findUnique({ where: { key: 'autocomplete:shahm' } }) 2023-02-26T03:03:27.049Z prisma:client Generated request: 2023-02-26T03:03:27.049Z prisma:client query { findUniqueKeyValueCache(where: { key: "autocomplete:shahm" }) { key value expiresAt createdAt updatedAt } }
2023-02-26T03:03:27.049Z prisma:client:libraryEngine sending request, this.libraryStarted: true 2023-02-26T03:03:27.050Z muse Cache hit: autocomplete:shahm 2023-02-26T03:03:27.606Z prisma:client Prisma Client call: 2023-02-26T03:03:27.606Z prisma:client prisma.keyValueCache.findUnique({ where: { key: 'autocomplete:shahme' } }) 2023-02-26T03:03:27.606Z prisma:client Generated request: 2023-02-26T03:03:27.606Z prisma:client query { findUniqueKeyValueCache(where: { key: "autocomplete:shahme" }) { key value expiresAt createdAt updatedAt } }
2023-02-26T03:03:27.606Z prisma:client:libraryEngine sending request, this.libraryStarted: true 2023-02-26T03:03:27.607Z muse Cache hit: autocomplete:shahme 2023-02-26T03:03:28.025Z prisma:client Prisma Client call: 2023-02-26T03:03:28.025Z prisma:client prisma.keyValueCache.findUnique({ where: { key: 'autocomplete:shahmen' } }) 2023-02-26T03:03:28.025Z prisma:client Generated request: 2023-02-26T03:03:28.025Z prisma:client query { findUniqueKeyValueCache(where: { key: "autocomplete:shahmen" }) { key value expiresAt createdAt updatedAt } }
2023-02-26T03:03:28.025Z prisma:client:libraryEngine sending request, this.libraryStarted: true 2023-02-26T03:03:28.025Z muse Cache hit: autocomplete:shahmen 2023-02-26T03:03:28.429Z prisma:client Prisma Client call: 2023-02-26T03:03:28.429Z prisma:client prisma.setting.findUnique({ where: { guildId: '901783796934918184' } }) 2023-02-26T03:03:28.429Z prisma:client Generated request: 2023-02-26T03:03:28.429Z prisma:client query { findUniqueSetting(where: { guildId: "901783796934918184" }) { guildId playlistLimit secondsToWaitAfterQueueEmpties leaveIfNoListeners createdAt updatedAt } }
2023-02-26T03:03:28.430Z prisma:client:libraryEngine sending request, this.libraryStarted: true 2023-02-26T03:03:28.864Z prisma:client Prisma Client call: 2023-02-26T03:03:28.864Z prisma:client prisma.keyValueCache.findUnique({ where: { key: '["shahmen",{"limit":10}]' } }) 2023-02-26T03:03:28.864Z prisma:client Generated request: 2023-02-26T03:03:28.864Z prisma:client query { findUniqueKeyValueCache(where: { key: "[\"shahmen\",{\"limit\":10}]" }) { key value expiresAt createdAt updatedAt } }
2023-02-26T03:03:28.864Z prisma:client:libraryEngine sending request, this.libraryStarted: true 2023-02-26T03:03:28.864Z muse Cache hit: ["shahmen",{"limit":10}] 2023-02-26T03:03:28.865Z prisma:client Prisma Client call: 2023-02-26T03:03:28.865Z prisma:client prisma.keyValueCache.findUnique({ where: { key: '["eGSaZki8NK4"]' } }) 2023-02-26T03:03:28.865Z prisma:client Generated request: 2023-02-26T03:03:28.865Z prisma:client query { findUniqueKeyValueCache(where: { key: "[\"eGSaZki8NK4\"]" }) { key value expiresAt createdAt updatedAt } }
2023-02-26T03:03:28.865Z prisma:client:libraryEngine sending request, this.libraryStarted: true 2023-02-26T03:03:28.866Z muse Cache miss: ["eGSaZki8NK4"] 2023-02-26T03:03:28.866Z follow-redirects options { protocol: 'https:', maxRedirects: 21, maxBodyLength: 10485760, path: '/youtube/v3/videos?expiresIn=3600&id=----------------&part=id,+player,+snippet,+contentDetails,+status,+statistics', method: 'GET', headers: { Accept: 'application/json, text/plain, /', 'User-Agent': 'axios/0.19.2' }, agent: undefined, agents: { http: undefined, https: undefined }, auth: undefined, hostname: 'www.googleapis.com', port: null, nativeProtocols: { 'http:': { _connectionListener: [Function: connectionListener], METHODS: [Array], STATUS_CODES: [Object], Agent: [Function], ClientRequest: [Function: ClientRequest], IncomingMessage: [Function: IncomingMessage], OutgoingMessage: [Function: OutgoingMessage], Server: [Function: Server], ServerResponse: [Function: ServerResponse], createServer: [Function: createServer], validateHeaderName: [Function: nodeinternal], validateHeaderValue: [Function: nodeinternal], get: [Function: get], request: [Function: request], maxHeaderSize: [Getter], globalAgent: [Getter/Setter] }, 'https:': { Agent: [Function: Agent], globalAgent: [Agent], Server: [Function: Server], createServer: [Function: createServer], get: [Function: get], request: [Function: request] } } } 2023-02-26T03:03:29.226Z muse /usr/app/node_modules/axios/lib/core/createError.js:16 var error = new Error(message); ^
Error: Request failed with status code 403
at module.exports (/usr/app/node_modules/axios/lib/core/createError.js:16:15)
at module.exports (/usr/app/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.
I would recommend manually making an API key with curl
or some other tool to see what the full error response. The command to do so would be something like curl 'https://www.googleapis.com/youtube/v3/videos?expiresIn=3600&id=xgDP8kTAdz0&key=&part=id,+player,+snippet,+contentDetails,+status,+statistics'
; just copy the parameters from this part of the logs:
protocol: 'https:',
maxRedirects: 21,
maxBodyLength: 10485760,
path: '/youtube/v3/videos?expiresIn=3600&id=---------------------&part=id,+player,+snippet,+contentDetails,+status,+statistics',
method: 'GET',
headers: {
Accept: 'application/json, text/plain, /',
'User-Agent': 'axios/0.19.2'
},
agent: undefined,
agents: { http: undefined, https: undefined },
auth: undefined,
hostname: 'www.googleapis.com',
port: null,
nativeProtocols: {
'http:': {
I think there might also be something in the Google Cloud dashboard to see API errors.
Fixed by creating a new project and then creating a key within that
What's happening? (ope: Request failed with status code 403) and ope:no songs found while requesting song from either youtube or spotify
Logs
Screenshots
Additional context Add any other context about the problem here.
Runtime I'm running Muse:
Versions