Discord-Push (Kalender)
Discord-Push (Kalender) ist eine Erweiterung für Discord. Beim Hinzufügen von neuen Termin kann automatisch eine Vorschau des Termins in Discord gepostet werden.
Discord-Push (Kalender) ist eine Erweiterung für Discord. Beim Hinzufügen von neuen Termin kann automatisch eine Vorschau des Termins in Discord gepostet werden.
Mit diesem Plugin können du und deine Nutzer die Aktivitäten deines TeamSpeak-Servers direkt auf deiner Homepage einsehen.
Dieses Plugin berechtigt zur Entfernung des Copyrights aus allen aktuellen und zukünftigen Plugins von Hanashi Development.
Nachdem ich eine Stunde gewartet habe kam noch immer der Too Many Requests fehler:
Fri, 19 Jul 2024 15:48:40 +0000
Message: Client error: `GET https://discord.com/api/users/@me` resulted in a `429 Too Many Requests` response: error code: 1015
PHP version: 8.1.25
WoltLab Suite version: 6.0.16
Request URI: POST /app/acp/index.php?discord-bot-add-manager/&step=1
Referrer: https://vio-v.com/app/acp/index.php?discord-bot-add-manager/&step=1
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Peak Memory Usage: 3121800/134217728
======
Error Class: GuzzleHttp\Exception\ClientException
Error Message: Client error: `GET https://discord.com/api/users/@me` resulted in a `429 Too Many Requests` response: error code: 1015
Error Code: 429
File: /var/www/html/app/lib/system/api/guzzlehttp/guzzle/src/Exception/RequestException.php (113)
Extra Information: -
Stack Trace: [{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/guzzle\/src\/Middleware.php","line":72,"function":"create","class":"GuzzleHttp\\Exception\\RequestException","type":"::","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/promises\/src\/Promise.php","line":209,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/promises\/src\/Promise.php","line":158,"function":"callHandler","class":"GuzzleHttp\\Promise\\Promise","type":"::","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/promises\/src\/TaskQueue.php","line":52,"function":"GuzzleHttp\\Promise\\{closure}","class":"GuzzleHttp\\Promise\\Promise","type":"::","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/promises\/src\/Promise.php","line":251,"function":"run","class":"GuzzleHttp\\Promise\\TaskQueue","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/promises\/src\/Promise.php","line":227,"function":"invokeWaitFn","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/promises\/src\/Promise.php","line":272,"function":"waitIfPending","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/promises\/src\/Promise.php","line":229,"function":"invokeWaitList","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/promises\/src\/Promise.php","line":69,"function":"waitIfPending","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/guzzle\/src\/Client.php","line":124,"function":"wait","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/discord\/DiscordApi.class.php","line":3358,"function":"send","class":"GuzzleHttp\\Client","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/discord\/DiscordApi.class.php","line":2700,"function":"execute","class":"wcf\\system\\discord\\DiscordApi","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/acp\/form\/DiscordBotAddManagerForm.class.php","line":136,"function":"getCurrentUser","class":"wcf\\system\\discord\\DiscordApi","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/form\/builder\/field\/validation\/FormFieldValidator.class.php","line":71,"function":"wcf\\acp\\form\\{closure}","class":"wcf\\acp\\form\\DiscordBotAddManagerForm","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/form\/builder\/TFormParentNode.class.php","line":360,"function":"__invoke","class":"wcf\\system\\form\\builder\\field\\validation\\FormFieldValidator","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/form\/builder\/TFormParentNode.class.php","line":356,"function":"validate","class":"wcf\\system\\form\\builder\\container\\FormContainer","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/form\/builder\/FormDocument.class.php","line":783,"function":"traitValidate","class":"wcf\\system\\form\\builder\\FormDocument","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/form\/AbstractFormBuilderForm.class.php","line":265,"function":"validate","class":"wcf\\system\\form\\builder\\FormDocument","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/form\/AbstractForm.class.php","line":69,"function":"validate","class":"wcf\\form\\AbstractFormBuilderForm","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/form\/AbstractForm.class.php","line":151,"function":"submit","class":"wcf\\form\\AbstractForm","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/form\/AbstractFormBuilderForm.class.php","line":146,"function":"readData","class":"wcf\\form\\AbstractForm","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/page\/AbstractPage.class.php","line":349,"function":"readData","class":"wcf\\form\\AbstractFormBuilderForm","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/page\/AbstractPage.class.php","line":134,"function":"show","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/request\/Request.class.php","line":57,"function":"__run","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/http\/middleware\/HandleValinorMappingErrors.class.php","line":35,"function":"handle","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/request\/RequestHandler.class.php","line":147,"function":"process","class":"wcf\\http\\Pipeline","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/acp\/index.php","line":10,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":[]}]
Alles anzeigen
Wenn ich häufiger klicke kommt folgende Meldung:
Fri, 19 Jul 2024 14:40:30 +0000
Message: Client error: `GET https://discord.com/api/users/@me` resulted in a `429 Too Many Requests` response: error code: 1015
PHP version: 8.1.25
WoltLab Suite version: 6.0.16
Request URI: POST /app/acp/index.php?discord-bot-add-manager/&step=1
Referrer: https://vio-v.com/app/acp/index.php?discord-bot-add-manager/&step=1
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Peak Memory Usage: 2887784/134217728
======
Error Class: GuzzleHttp\Exception\ClientException
Error Message: Client error: `GET https://discord.com/api/users/@me` resulted in a `429 Too Many Requests` response: error code: 1015
Error Code: 429
File: /var/www/html/app/lib/system/api/guzzlehttp/guzzle/src/Exception/RequestException.php (113)
Extra Information: -
Stack Trace: [{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/guzzle\/src\/Middleware.php","line":72,"function":"create","class":"GuzzleHttp\\Exception\\RequestException","type":"::","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/promises\/src\/Promise.php","line":209,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/promises\/src\/Promise.php","line":158,"function":"callHandler","class":"GuzzleHttp\\Promise\\Promise","type":"::","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/promises\/src\/TaskQueue.php","line":52,"function":"GuzzleHttp\\Promise\\{closure}","class":"GuzzleHttp\\Promise\\Promise","type":"::","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/promises\/src\/Promise.php","line":251,"function":"run","class":"GuzzleHttp\\Promise\\TaskQueue","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/promises\/src\/Promise.php","line":227,"function":"invokeWaitFn","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/promises\/src\/Promise.php","line":272,"function":"waitIfPending","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/promises\/src\/Promise.php","line":229,"function":"invokeWaitList","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/promises\/src\/Promise.php","line":69,"function":"waitIfPending","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/api\/guzzlehttp\/guzzle\/src\/Client.php","line":124,"function":"wait","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/discord\/DiscordApi.class.php","line":3358,"function":"send","class":"GuzzleHttp\\Client","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/discord\/DiscordApi.class.php","line":2700,"function":"execute","class":"wcf\\system\\discord\\DiscordApi","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/acp\/form\/DiscordBotAddManagerForm.class.php","line":136,"function":"getCurrentUser","class":"wcf\\system\\discord\\DiscordApi","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/form\/builder\/field\/validation\/FormFieldValidator.class.php","line":71,"function":"wcf\\acp\\form\\{closure}","class":"wcf\\acp\\form\\DiscordBotAddManagerForm","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/form\/builder\/TFormParentNode.class.php","line":360,"function":"__invoke","class":"wcf\\system\\form\\builder\\field\\validation\\FormFieldValidator","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/form\/builder\/TFormParentNode.class.php","line":356,"function":"validate","class":"wcf\\system\\form\\builder\\container\\FormContainer","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/form\/builder\/FormDocument.class.php","line":783,"function":"traitValidate","class":"wcf\\system\\form\\builder\\FormDocument","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/form\/AbstractFormBuilderForm.class.php","line":265,"function":"validate","class":"wcf\\system\\form\\builder\\FormDocument","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/form\/AbstractForm.class.php","line":69,"function":"validate","class":"wcf\\form\\AbstractFormBuilderForm","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/form\/AbstractForm.class.php","line":151,"function":"submit","class":"wcf\\form\\AbstractForm","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/form\/AbstractFormBuilderForm.class.php","line":146,"function":"readData","class":"wcf\\form\\AbstractForm","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/page\/AbstractPage.class.php","line":349,"function":"readData","class":"wcf\\form\\AbstractFormBuilderForm","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/page\/AbstractPage.class.php","line":134,"function":"show","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/request\/Request.class.php","line":57,"function":"__run","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/http\/middleware\/HandleValinorMappingErrors.class.php","line":35,"function":"handle","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/request\/RequestHandler.class.php","line":147,"function":"process","class":"wcf\\http\\Pipeline","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/acp\/index.php","line":10,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":[]}]
Alles anzeigen
Hallo,
mach mal bitte den Debug-Modus im WSC an und probiere es erneut. Dann dürfte die gleiche Meldung kommen, aber dann müsste mglw. etwas im Fehlerprotokoll stehen.
Habe unter Konfiguration > Discord > Debug-Modus aktiv. Die Meldung ist identisch zum Screenshot oben und in der Fehlerdatei ist kein Fehler.
Wenn ich versuche im Forum obwohl kein Discord-Bot mehr exisitert auf /discord-sync/ -> /discord-auth/ gehe kommt ein Fehler:
Fri, 19 Jul 2024 14:34:10 +0000
Message: Cannot assign null to property wcf\system\discord\DiscordSync::$anySyncbot of type wcf\data\discord\bot\DiscordBot
PHP version: 8.1.25
WoltLab Suite version: 6.0.16
Request URI: GET /app/discord-auth/
Referrer: https://vio-v.com/app/discord-sync/
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Peak Memory Usage: 2504912/134217728
======
Error Class: TypeError
Error Message: Cannot assign null to property wcf\system\discord\DiscordSync::$anySyncbot of type wcf\data\discord\bot\DiscordBot
Error Code: 0
File: /var/www/html/app/lib/system/discord/DiscordSync.class.php (89)
Extra Information: -
Stack Trace: [{"file":"\/var\/www\/html\/app\/lib\/action\/DiscordAuthAction.class.php","line":42,"function":"getAnySyncBot","class":"wcf\\system\\discord\\DiscordSync","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/action\/AbstractOauth2Action.class.php","line":205,"function":"getClientId","class":"wcf\\action\\DiscordAuthAction","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/action\/AbstractOauth2Action.class.php","line":254,"function":"initiate","class":"wcf\\action\\AbstractOauth2Action","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/action\/AbstractAction.class.php","line":56,"function":"execute","class":"wcf\\action\\AbstractOauth2Action","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/request\/Request.class.php","line":57,"function":"__run","class":"wcf\\action\\AbstractAction","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/http\/middleware\/HandleValinorMappingErrors.class.php","line":35,"function":"handle","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/lib\/system\/request\/RequestHandler.class.php","line":147,"function":"process","class":"wcf\\http\\Pipeline","type":"->","args":[]},{"file":"\/var\/www\/html\/app\/index.php","line":10,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":[]}]
Alles anzeigen
Hallo zusammen,
nach dem Update von WBB auf 6.0 ging die Discord-Sync ab und zu nicht. Dann wollten wir einige Einstellungen im ACP anpassen unter Konfiguration > Discord > Disord-Bots. Leider hat dies nicht geklappt er hat immer angezeigt unter Server-ID das er nicht auf den Server zugreifen konnte. Okay wir dachten uns einmal Discord-Bot entfernen und neu installieren evtl. hat sich was verklemmt^^
Also gehen wir in acp/index.php?discord-bot-add-manager/ und nutzen den Konfigurationsassistent und geben den Discord Token aus dem Dev Portal ein.
Ich habe den Token jetzt mindestens 9 mal neu generiert und wieder versucht, habe ihn anzeigen lassen um zu schauen ob er richtig kopiert wurde. Andere Anwendungen laufen über den Token testweise also daran sollte es nicht liegen. Die Rechte hat er ebenfalls.