beebls / youtube-music-history-scrobbler

🎵⬇️ Automatically format your YouTube Music history so you can upload it to Last.fm
GNU General Public License v3.0
32 stars 5 forks source link

UncaughtException #4

Open nekr0z opened 1 year ago

nekr0z commented 1 year ago

Each time I try, the script spits a 1100+ line error to my stderr. The beginning lines look like this:

node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

<ref *1> Error: read ECONNRESET
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) {
  errno: -104,
  code: 'ECONNRESET',
  syscall: 'read',
  config: {
    url: 'youtubei/v1/search?alt=json&key=AIzaSyC9XL3ZjWddXya6X74dJoCTL-WEYFDNX30',
    method: 'post',
    data: '{"query":"ctysjxy42rU","params":null,"context":{"capabilities":{},"client":{"clientName":"WEB_REMIX","clientVersion":"1.20230213.01.00","experimentIds":[],"experimentsToken":"","gl":"RU","hl":"en","locationInfo":{"locationPermissionAuthorizationStatus":"LOCATION_PERMISSION_AUTHORIZATION_STATUS_UNSUPPORTED"},"musicAppInfo":{"musicActivityMasterSwitch":"MUSIC_ACTIVITY_MASTER_SWITCH_INDETERMINATE","musicLocationMasterSwitch":"MUSIC_LOCATION_MASTER_SWITCH_INDETERMINATE","pwaInstallabilityStatus":"PWA_INSTALLABILITY_STATUS_UNKNOWN"},"utcOffsetMinutes":180},"request":{"internalExperimentFlags":[{"key":"force_music_enable_outertube_tastebuilder_browse","value":"true"},{"key":"force_music_enable_outertube_playlist_detail_browse","value":"true"},{"key":"force_music_enable_outertube_search_suggestions","value":"true"}],"sessionIndex":{}},"user":{"enableSafetyMode":false}}}',
    headers: {

I'm attaching the full stderr as I have no idea which parts are relevant: error.txt