skarab42 / marv

Marv your Swiss streaming tool!
https://marv-site.web.app/
MIT License
150 stars 9 forks source link

Connecté mais "Impossible de récupérer l'état de l'abonné" #276

Open Arubinu opened 3 years ago

Arubinu commented 3 years ago

Describe the bug J'ai proposé Marv à un streameur et on a rencontré un problème étrange. Marv ne répond à aucun évènement Twitch... Peu après le lancement, un message annonce qu'il est impossible de récupérer l'état de l'abonné. Pourtant tout le reste semble OK, et "Chat" et "PubSub" sont bien au vert !

To Reproduce Rien de particulier, il y a bien eu la demande d'acces au compte Twitch et tout semble fonctionner correctement. D'après les logs, je me dis qu'il y a un soucis d'espace dans son pseudo 0.0

Desktop

app.log

Body:
{
  "error": "Bad Request",
  "status": 400,
  "message": "Invalid login names, emails or IDs in request"
} Encountered HTTP status code 400: Bad Request

Body:
{
  "error": "Bad Request",
  "status": 400,
  "message": "Invalid login names, emails or IDs in request"
} {"_statusCode":400,"_body":{"error":"Bad Request","status":400,"message":"Invalid login names, emails or IDs in request"},"attemptNumber":6,"retriesLeft":0,"stack":"HttpStatusCodeError: Encountered HTTP status code 400: Bad Request\n\nBody:\n{\n  \"error\": \"Bad Request\",\n  \"status\": 400,\n  \"message\": \"Invalid login names, emails or IDs in request\"\n}"}
[21-08-16 18:08:66][app][error] Impossible de récupérer l'état de l'abonné 

twitch.log

[21-08-16 18:08:09][twitch][error] [chat] Error: required parameter "channel" did not suit requirements: "#loulediable "
    at C:\Users\Truc\AppData\Local\Programs\marv\resources\app.asar\node_modules\ircv3\lib\Message\Message.js:53:27
    at C:\Users\Truc\AppData\Local\Programs\marv\resources\app.asar\node_modules\@d-fischer\shared-utils\lib\functions\object\forEachObjectEntry.js:8:16
    at Array.forEach (<anonymous>)
    at Object.forEachObjectEntry (C:\Users\Truc\AppData\Local\Programs\marv\resources\app.asar\node_modules\@d-fischer\shared-utils\lib\functions\object\forEachObjectEntry.js:6:25)
    at Object.createMessage (C:\Users\Truc\AppData\Local\Programs\marv\resources\app.asar\node_modules\ircv3\lib\Message\Message.js:36:20)
    at ChatClient.IrcClient.createMessage (C:\Users\Truc\AppData\Local\Programs\marv\resources\app.asar\node_modules\ircv3\lib\IrcClient.js:488:26)
    at ChatClient.IrcClient.sendMessage (C:\Users\Truc\AppData\Local\Programs\marv\resources\app.asar\node_modules\ircv3\lib\IrcClient.js:491:24)
    at ChatClient.IrcClient.join (C:\Users\Truc\AppData\Local\Programs\marv\resources\app.asar\node_modules\ircv3\lib\IrcClient.js:551:14)
    at C:\Users\Truc\AppData\Local\Programs\marv\resources\app.asar\node_modules\twitch-chat-client\lib\ChatClient.js:2026:47
    at new Promise (<anonymous>) 
[21-08-16 18:08:09][twitch][info] [chat] reconnect in 2 s 
[21-08-16 18:08:35][twitch][info] Auto connect 
[21-08-16 18:08:09][twitch][error] [chat] Error: required parameter "channel" did not suit requirements: "#loulediable "
    at C:\Users\Truc\AppData\Local\Programs\marv\resources\app.asar\node_modules\ircv3\lib\Message\Message.js:53:27
    at C:\Users\Truc\AppData\Local\Programs\marv\resources\app.asar\node_modules\@d-fischer\shared-utils\lib\functions\object\forEachObjectEntry.js:8:16
    at Array.forEach (<anonymous>)
    at Object.forEachObjectEntry (C:\Users\Truc\AppData\Local\Programs\marv\resources\app.asar\node_modules\@d-fischer\shared-utils\lib\functions\object\forEachObjectEntry.js:6:25)
    at Object.createMessage (C:\Users\Truc\AppData\Local\Programs\marv\resources\app.asar\node_modules\ircv3\lib\Message\Message.js:36:20)
    at ChatClient.IrcClient.createMessage (C:\Users\Truc\AppData\Local\Programs\marv\resources\app.asar\node_modules\ircv3\lib\IrcClient.js:488:26)
    at ChatClient.IrcClient.sendMessage (C:\Users\Truc\AppData\Local\Programs\marv\resources\app.asar\node_modules\ircv3\lib\IrcClient.js:491:24)
    at ChatClient.IrcClient.join (C:\Users\Truc\AppData\Local\Programs\marv\resources\app.asar\node_modules\ircv3\lib\IrcClient.js:551:14)
    at C:\Users\Truc\AppData\Local\Programs\marv\resources\app.asar\node_modules\twitch-chat-client\lib\ChatClient.js:2026:47
    at new Promise (<anonymous>) 
[21-08-16 18:08:09][twitch][info] [chat] reconnect in 2 s