Marekkon5 / onetagger

Music tagger for Windows, MacOS and Linux with Beatport, Discogs, Musicbrainz, Spotify, Traxsource and many other platforms support.
https://onetagger.github.io/
GNU General Public License v3.0
557 stars 28 forks source link

Traxsource Autotag causes 502 Bad Gateway - The server returned an invalid or incomplete response. #345

Open drsgfdds opened 4 months ago

drsgfdds commented 4 months ago

Using Autotag to pull genres from Traxsource results in 1 or 2 successfully tagged songs with everything else failing. After attempting to tag from Traxsource, the entire website traxsource.com is entirely unavailable from my computer, attempts to visit in web browser or from another computer result in a 502 Bad Gateway - The server returned an invalid or incomplete response.

Please advise. Relevant logs below. Thank you.

Starting OneTagger v1.7.0 Commit: ba4d5e03 OS: windows

2024-03-01 09:49:12 [INFO] onetagger_ui: Starting web server on: http://127.0.0.1:36913 2024-03-01 09:49:23 [WARN] onetagger_ui: Error loading album art: Missing extension File: 2024-03-01 10:03:11 [WARN] tao::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared 2024-03-01 10:03:11 [WARN] tao::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared 2024-03-01 10:03:59 [WARN] onetagger_ui: Error loading album art: Missing extension File: 2024-03-01 10:04:24 [ERROR] onetagger_ui::socket: Websocket: EOF while parsing a value at line 1 column 0, Data: 2024-03-01 10:04:24 [WARN] onetagger_ui::socket: Failed sending to socket: WebSocket protocol error: Sending after closing is not allowed 2024-03-01 10:08:34 [WARN] tao::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared 2024-03-01 10:08:34 [WARN] tao::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared 2024-03-01 10:13:01 [WARN] tao::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared 2024-03-01 10:13:01 [WARN] tao::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared 2024-03-01 10:13:36 [INFO] onetagger_ui::socket: AutoTagger config: TaggerConfig { platforms: ["traxsource"], path: Some("D:\Music\Techno\Kelela\(2023) Kelela - Closure (Flexulant x BAMBII Remix feat. Rahrah Gabor + brazy)"), tags: [Style, Mood, MetaTags, Genre, URL], separators: TagSeparators { id3: "; ", vorbis: None, mp4: ", " }, id3v24: true, overwrite: false, overwrite_tags: [Genre, Style], threads: 24, strictness: 0.7, merge_genres: true, album_art_file: false, camelot: false, parse_filename: true, filename_template: Some("%track% - %artist% - %title%"), short_title: false, match_duration: true, max_duration_difference: 5, match_by_id: true, multiple_matches: Default, post_command: None, styles_options: MergeToGenres, styles_custom_tag: Some(FrameName { id3: "STYLE", vorbis: "STYLE", mp4: "STYLE" }), track_number_leading_zeroes: 0, enable_shazam: false, force_shazam: true, skip_tagged: false, include_subfolders: true, only_year: false, title_regex: Some(""), move_success: false, move_success_path: None, move_failed: false, move_failed_path: None, write_lrc: false, enhanced_lrc: false, capitalize_genres: true, id3_comm_lang: None, remove_all_covers: false, multiplatform: false, fetch_all_results: false, custom: PlatformTaggerConfig({}), spotify: None } 2024-03-01 10:13:36 [INFO] onetagger_autotag: Starting tagger with: 8 files! 2024-03-01 10:13:36 [INFO] onetagger_autotag: Starting tagging: 8 files, 24 threads! 2024-03-01 10:13:36 [INFO] onetagger_autotag: Tagging: "D:\Music\Techno\Anden\(2021) Anden - Rewind\01 - Anden - Rewind.mp3" 2024-03-01 10:13:36 [INFO] onetagger_autotag: Tagging: "D:\Music\Techno\Above & Beyond Group Therapy\(2024) Above & Beyond Group Therapy - Group Therapy 560\05 - SØNIN - Nightlife (ABGT560).mp3" 2024-03-01 10:13:36 [INFO] onetagger_autotag: Tagging: "D:\Music\Techno\VANO 3000\(2021) VANO 3000 - Running Away (Time)\03 - VANO 3000 - Running Away (Vocal Remix).mp3" 2024-03-01 10:13:36 [INFO] onetagger_autotag: Tagging: "D:\Music\Techno\Machinedrum\(2023) Machinedrum - 4#TRAX\01 - Machinedrum - CAPONE.mp3" 2024-03-01 10:13:36 [INFO] onetagger_autotag: Tagging: "D:\Music\Techno\Béatrice Dupont\(2023) Béatrice Dupont - Paradise\01 - Béatrice Dupont - Paradise.mp3" 2024-03-01 10:13:36 [INFO] onetagger_autotag: Tagging: "D:\Music\Techno\Above & Beyond Group Therapy\(2023) Above & Beyond Group Therapy - Group Therapy 559\11 - Leena Punks - No Way Out (ABGT559).mp3" 2024-03-01 10:13:36 [INFO] onetagger_autotag: Starting traxsource 2024-03-01 10:13:36 [INFO] onetagger_autotag: Tagging: "D:\Music\Techno\Django Django\(2021) Django Django - Glowing in the Dark\11 - Django Django - Glowing in the Dark.mp3" 2024-03-01 10:13:36 [INFO] onetagger_autotag: Tagging: "D:\Music\Techno\MOTi\(2023) MOTi - Can\'t Sleep (with PLANT)\01 - MOTi - Can\'t Sleep (with PLANT).mp3" 2024-03-01 10:13:36 [ERROR] onetagger_autotag: Matching error: No results! ("D:\Music\Techno\VANO 3000\(2021) VANO 3000 - Running Away (Time)\03 - VANO 3000 - Running Away (Vocal Remix).mp3") 2024-03-01 10:13:36 [INFO] onetagger_autotag: [traxsource] State: Error, Accuracy: None, Path: "D:\Music\Techno\VANO 3000\(2021) VANO 3000 - Running Away (Time)\03 - VANO 3000 - Running Away (Vocal Remix).mp3" 2024-03-01 10:13:36 [ERROR] onetagger_autotag: Matching error: No results! ("D:\Music\Techno\Above & Beyond Group Therapy\(2024) Above & Beyond Group Therapy - Group Therapy 560\05 - SØNIN - Nightlife (ABGT560).mp3") 2024-03-01 10:13:36 [INFO] onetagger_autotag: [traxsource] State: Error, Accuracy: None, Path: "D:\Music\Techno\Above & Beyond Group Therapy\(2024) Above & Beyond Group Therapy - Group Therapy 560\05 - SØNIN - Nightlife (ABGT560).mp3" 2024-03-01 10:13:36 [ERROR] onetagger_autotag: Matching error: No results! ("D:\Music\Techno\Above & Beyond Group Therapy\(2023) Above & Beyond Group Therapy - Group Therapy 559\11 - Leena Punks - No Way Out (ABGT559).mp3") 2024-03-01 10:13:36 [INFO] onetagger_autotag: [traxsource] State: Error, Accuracy: None, Path: "D:\Music\Techno\Above & Beyond Group Therapy\(2023) Above & Beyond Group Therapy - Group Therapy 559\11 - Leena Punks - No Way Out (ABGT559).mp3" 2024-03-01 10:13:36 [ERROR] onetagger_autotag: Matching error: No results! ("D:\Music\Techno\Béatrice Dupont\(2023) Béatrice Dupont - Paradise\01 - Béatrice Dupont - Paradise.mp3") 2024-03-01 10:13:36 [INFO] onetagger_autotag: [traxsource] State: Error, Accuracy: None, Path: "D:\Music\Techno\Béatrice Dupont\(2023) Béatrice Dupont - Paradise\01 - Béatrice Dupont - Paradise.mp3" 2024-03-01 10:13:36 [ERROR] onetagger_autotag: Matching error: No results! ("D:\Music\Techno\MOTi\(2023) MOTi - Can\'t Sleep (with PLANT)\01 - MOTi - Can\'t Sleep (with PLANT).mp3") 2024-03-01 10:13:36 [INFO] onetagger_autotag: [traxsource] State: Error, Accuracy: None, Path: "D:\Music\Techno\MOTi\(2023) MOTi - Can\'t Sleep (with PLANT)\01 - MOTi - Can\'t Sleep (with PLANT).mp3" 2024-03-01 10:13:36 [ERROR] onetagger_autotag: Matching error: No results! ("D:\Music\Techno\Django Django\(2021) Django Django - Glowing in the Dark\11 - Django Django - Glowing in the Dark.mp3") 2024-03-01 10:13:36 [INFO] onetagger_autotag: [traxsource] State: Error, Accuracy: None, Path: "D:\Music\Techno\Django Django\(2021) Django Django - Glowing in the Dark\11 - Django Django - Glowing in the Dark.mp3" 2024-03-01 10:13:36 [WARN] onetagger_autotag: Failed extending track: error sending request for url (https://www.traxsource.com/track/11584981/capone): connection closed before message completed 2024-03-01 10:13:36 [WARN] onetagger_autotag: Failed extending track: error sending request for url (https://www.traxsource.com/track/8384225/rewind): connection closed before message completed 2024-03-01 10:13:38 [INFO] onetagger_autotag: [traxsource] State: Ok, Accuracy: Some(1.0), Path: "D:\Music\Techno\Machinedrum\(2023) Machinedrum - 4#TRAX\01 - Machinedrum - CAPONE.mp3" 2024-03-01 10:13:38 [INFO] onetagger_autotag: [traxsource] State: Ok, Accuracy: Some(1.0), Path: "D:\Music\Techno\Anden\(2021) Anden - Rewind\01 - Anden - Rewind.mp3" 2024-03-01 10:13:38 [INFO] onetagger_autotag: Written failed songs to: C:\Users\steve\AppData\Roaming\OneTagger\OneTagger\config\runs\failed-1709306018721.m3u, successful to: C:\Users\steve\AppData\Roaming\OneTagger\OneTagger\config\runs\success-1709306018721.m3u 2024-03-01 10:13:38 [INFO] onetagger_ui::socket: Tagging finished, took: 2 seconds. 2024-03-01 10:15:35 [WARN] tao::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared 2024-03-01 10:15:35 [WARN] tao::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared 2024-03-01 10:17:03 [WARN] tao::platform_impl::platform::event_loop::runner: NewEvents emitted without explicit RedrawEventsCleared 2024-03-01 10:17:03 [WARN] tao::platform_impl::platform::event_loop::runner: RedrawEventsCleared emitted without explicit MainEventsCleared

Marekkon5 commented 4 months ago

Hello, looks like a server side issue. Perhaps they finally implemented some sort of rate limiting or anti-onetagger measures.

rolly-dev commented 4 months ago

Hello, looks like a server side issue. Perhaps they finally implemented some sort of rate limiting or anti-onetagger measures.

May i suggest a guy on reddit who knows EXACTLY what to do about it? :)

mkgilmore commented 3 months ago

Hello, looks like a server side issue. Perhaps they finally implemented some sort of rate limiting or anti-onetagger measures.

May i suggest a guy on reddit who knows EXACTLY what to do about it? :)

I'd certainly be interested in hearing what to do about it! It's causing me some proper issues not being able to tag from Traxsource!

Also looks like the IP ban may be permanent? (Or certainly longer than a week for me currently, the website is still giving me the 502 Bad Gateway error - but I can get around that using a VPN).

rolly-dev commented 3 months ago

Hello, looks like a server side issue. Perhaps they finally implemented some sort of rate limiting or anti-onetagger measures.

May i suggest a guy on reddit who knows EXACTLY what to do about it? :)

I'd certainly be interested in hearing what to do about it! It's causing me some proper issues not being able to tag from Traxsource!

Also looks like the IP ban may be permanent? (Or certainly longer than a week for me currently, the website is still giving me the 502 Bad Gateway error - but I can get around that using a VPN).

It's not permanent, max 24 hours only as i know for sure. Obviously ip ban will be immediately applied again if you try to use OneTagger and app will start to hit Traxsource with bunch of simultaneous requests of certain type. Also as i know Traxsource is aware about problem and really interested in solving this issue, but there's no way to contact directly with Marekkon5 or at least they didn't find that way using public resources. So i saying that on their behalf and waiting for Marekkon5 :)

Marekkon5 commented 3 months ago

Hello, looks like a server side issue. Perhaps they finally implemented some sort of rate limiting or anti-onetagger measures.

May i suggest a guy on reddit who knows EXACTLY what to do about it? :)

I'd certainly be interested in hearing what to do about it! It's causing me some proper issues not being able to tag from Traxsource! Also looks like the IP ban may be permanent? (Or certainly longer than a week for me currently, the website is still giving me the 502 Bad Gateway error - but I can get around that using a VPN).

It's not permanent, max 24 hours only as i know for sure. Obviously ip ban will be immediately applied again if you try to use OneTagger and app will start to hit Traxsource with bunch of simultaneous requests of certain type. Also as i know Traxsource is aware about problem and really interested in solving this issue, but there's no way to contact directly with Marekkon5 or at least they didn't find that way using public resources. So i saying that on their behalf and waiting for Marekkon5 :)

what?

Marekkon5 commented 3 months ago

@Marekkon5 Please can you communiate with u/Murky_Squash3639 on reddit using your account - that's Traxsource guy, reddit is just as interim way of communication, so both of you won't expose your emails here.

I did not receive any Reddit DMs whatsoever.

Marekkon5 commented 3 months ago

@Marekkon5 Please can you communiate with u/Murky_Squash3639 on reddit using your account - that's Traxsource guy, reddit is just as interim way of communication, so both of you won't expose your emails here.

I did not receive any Reddit DMs whatsoever.

As i know he can't send you DM there, but he's available for chat/messages.

My clients don't support chat, so I don't get notified, will check when I am able to.