SUMMARY Trying to use discogs (which used to work fine), but now I get: Error: Error transferring https://www.discogs.com/search?q=harlej+vlka&type=release&layout=sm - server replied: Forbidden STEPS TO REPRODUCE 1. Search for something on discogs 2. the error is returned OBSERVED RESULT The error EXPECTED RESULT No error SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20241023 KDE Plasma Version: 6.2.1 KDE Frameworks Version: 6.7.0 Qt Version: 6.8.0 Kernel Version: 6.11.5-rc1-1.g8c2e67f-default (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics Memory: 58.4 GiB of RAM Graphics Processor: AMD Radeon 780M Manufacturer: LENOVO Product Name: 21K6S0A006 System Version: ThinkPad P14s Gen 4 ADDITIONAL INFORMATION wget fails: > $ wget -O /tmp/x.html 'https://www.discogs.com/search?q=harlej+vlka&type=release&layout=sm' > --2024-10-29 08:59:43-- https://www.discogs.com/search?q=harlej+vlka&type=release&layout=sm > Resolving www.discogs.com (www.discogs.com)... 2606:4700:4400::6812:24ca, 2606:4700:4400::ac40:9736, 172.64.151.54, ... > Connecting to www.discogs.com (www.discogs.com)|2606:4700:4400::6812:24ca|:443... connected. > HTTP request sent, awaiting response... 403 Forbidden > 2024-10-29 08:59:43 ERROR 403: Forbidden. curl succeeds: > $ curl -o /tmp/x.html 'https://www.discogs.com/search?q=harlej+vlka&type=release&layout=sm' > % Total % Received % Xferd Average Speed Time Time Time Current > Dload Upload Total Spent Left Speed > 100 8462 100 8462 0 0 100k 0 --:--:-- --:--:-- --:--:-- 102k On localhost, wget sends: > GET / HTTP/1.1 > Host: localhost:8888 > User-Agent: Wget/1.24.5 > Accept: */* > Accept-Encoding: identity > Connection: Keep-Alive curl sends: > GET / HTTP/1.1 > Host: localhost:8888 > User-Agent: curl/8.10.1 > Accept: */* Setting wget's agent to curl's does not help: > wget -U 'curl/8.10.1' -O /tmp/x.html 'https://www.discogs.com/search?q=harlej+vlka&type=release&layout=sm' > ... > 2024-10-29 09:04:02 ERROR 403: Forbidden. Sending this by openssl s_client: > $ openssl s_client -connect www.discogs.com:443 > ... > GET /search?q=harlej+vlka&type=release&layout=sm HTTP/1.1 > Host: www.discogs.com > User-Agent: Wget/1.24.5 > Accept: */* > Accept-Encoding: identity > Connection: Keep-Alive It yields: > HTTP/1.1 403 Forbidden But it actually continues with the content: > Date: Tue, 29 Oct 2024 08:13:02 GMT > Content-Type: text/html; charset=UTF-8 > Content-Length: 8355 > Connection: close > Accept-CH: Sec-CH-UA-Bitness, Sec-CH-UA-Arch, Sec-CH-UA-Full-Version, Sec-CH-UA-Mobile, Sec-CH-UA-Model, Sec-CH-UA-Platform-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Platform, Sec-CH-UA, UA-Bitness, UA-Arch, UA-Full-Version, UA-Mobile, UA-Model, UA-Platform-Version, UA-Platform, UA > Critical-CH: Sec-CH-UA-Bitness, Sec-CH-UA-Arch, Sec-CH-UA-Full-Version, Sec-CH-UA-Mobile, Sec-CH-UA-Model, Sec-CH-UA-Platform-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Platform, Sec-CH-UA, UA-Bitness, UA-Arch, UA-Full-Version, UA-Mobile, UA-Model, UA-Platform-Version, UA-Platform, UA > Cross-Origin-Embedder-Policy: require-corp > Cross-Origin-Opener-Policy: same-origin > Cross-Origin-Resource-Policy: same-origin > Origin-Agent-Cluster: ?1 > Permissions-Policy: accelerometer=(),autoplay=(),browsing-topics=(),camera=(),clipboard-read=(),clipboard-write=(),geolocation=(),gyroscope=(),hid=(),interest-cohort=(),magnetometer=(),microphone=(),payment=(),publickey-credentials-get=(),screen-wake-lock=(),serial=(),sync-xhr=(),usb=() > Referrer-Policy: same-origin > X-Content-Options: nosniff > X-Frame-Options: SAMEORIGIN > cf-mitigated: challenge > cf-chl-out: Cs1oMMxeU8ZNMkI4PzdoI80XBZWb2ifVqyJKWkwOerwOaP61tzgfX+PXGe5v5sm4yAkhXHrOLGhp8rMusVNgVPWIXjk9UzrrZPN2sQWQvoRkwrfEgT1zbi2oGbyINsOMA28bmDwPo++RjPjuN5gMEA==$mgP1kRz1ewYyrMcUOhTPwQ== > Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0 > Expires: Thu, 01 Jan 1970 00:00:01 GMT > Set-Cookie: __cf_bm=je1Xmh7YdL9jgRpjoBDQGuuHWBADWAa2K1T.m0ZYgfo-1730189582-1.0.1.1-3MV_2fPy6BvgISLkWYVy4DdZu7s_LM5E4yZ.jejIw2zkmH8eutQNCce9wUJ9kgxomtd.6AntkCGVuOMxE7BmFg; path=/; expires=Tue, 29-Oct-24 08:43:02 GMT; domain=.discogs.com; HttpOnly; Secure; SameSite=None > Vary: Accept-Encoding > Strict-Transport-Security: max-age=15552000 > Server: cloudflare > CF-RAY: 8da1b43bacaa2794-PRG > alt-svc: h3=":443"; ma=86400 > > <!DOCTYPE html><html lang="en-US"><head><title>Just a moment...</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=Edge"><meta name="robots" content="noindex,nofollow"><meta name="viewport" content="width=device-width,initial-scale=1"><style>*{box-sizing:border-box;margin:0;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%;color:#313131;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}body{display:flex;flex-direction:column;height:100vh;min-height:100vh}.main-content{margin:8rem auto;max-width:60rem;padding-left:1.5rem}@media (width <= 720px){.main-content{margin-top:4rem}}.h2{font-size:1.5rem;font-weight:500;line-height:2.25rem}@media (width <= 720px){.h2{font-size:1.25rem;line-height:1.5rem}}#challenge-error-text{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iI0IyMEYwMyIgZD0iTTE2IDNhMTMgMTMgMCAxIDAgMTMgMTNBMTMuMDE1IDEzLjAxNSAwIDAgMCAxNiAzbTAgMjRhMTEgMTEgMCAxIDEgMTEtMTEgMTEuMDEgMTEuMDEgMCAwIDEtMTEgMTEiLz48cGF0aCBmaWxsPSIjQjIwRjAzIiBkPSJNMTcuMDM4IDE4LjYxNUgxNC44N0wxNC41NjMgOS41aDIuNzgzem0tMS4wODQgMS40MjdxLjY2IDAgMS4wNTcuMzg4LjQwNy4zODkuNDA3Ljk5NCAwIC41OTYtLjQwNy45ODQtLjM5Ny4zOS0xLjA1Ny4zODktLjY1IDAtMS4wNTYtLjM4OS0uMzk4LS4zODktLjM5OC0uOTg0IDAtLjU5Ny4zOTgtLjk4NS40MDYtLjM5NyAxLjA1Ni0uMzk3Ii8+PC9zdmc+);background-repeat:no-repeat;background-size:contain;padding-left:34px}@media (prefers-color-scheme:dark){body{background-color:#222;color:#d9d9d9}}</style><meta http-equiv="refresh" content="390"></head><body class="no-js"><div class="main-wrapper" role="main"><div class="main-content"><noscript><div class="h2"><span id="challenge-error-text">Enable JavaScript and cookies to continue</span></div></noscript></div></div><script>(function(){window._cf_chl_opt={cvId: '3',cZone: "www.discogs.com",cType: 'managed',cRay: '8da1b43bacaa2794',cH: 'RoiDg1qaaPcHmHLd.PGCARgRkWoVRrl7F3HihA4r30g-1730189582-1.2.1.1-AunWMAdB8YWwwm5nTJsCV9MtjTMF0p8ppS1nlXYgkFHuYiC9Qi57UOIkwMFbcuRw',cUPMDTk: "\/search?q=harlej+vlka&type=release&layout=sm&__cf_chl_tk=eac_p2P2L_Wn34YAGM.PW3sFrGlEnM.0o6fFR2_KbB4-1730189582-1.0.1.1-cJJE5V9PVj1jg_kVd4o2mJrpV_uc_b6Mk1xihOBpDZM",cFPWv: 'g',cITimeS: '1730189582',cTTimeMs: '1000',cMTimeMs: '390000',cTplC: 0,cTplV: 5,cTplB: 'cf',c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dhYjxIIo9Lasy72lhn8p81e5bLOZlRFMARrHBBxgHDVDV08BFE7IJnVdfSMVJN.oSUCl65CIW.zJRVxd1_f.S.f6j5HIUshbnAp2enXiBoN43ioECsNvhV5a_8Jy2Rn0WRVODbWYTR7qEJNCk0Ojf6ekH2RmIcFHTMCxfgNeXK8gEtMWYaNuITOt5oj0u_q7tbFvhxYt6lPhUzdVHc_7kS8Q_f06gAt9n1fDhEnX_aP1KzjYaZBQ6Ax8tihAWiKIdh.W01Z7wr8ZCc5ZLn.yfjgKw6iJcpahw96bM87PTSDxx6Lf1_WUZ6akHeCCSBUNP15PJpuR89yiLPWRiT0yPwd.GEuwyohG81wRTor4VHTSECm80vgSKKidLfXgNvLu4U2InrCzjXwT5fontkd1Coo1z2VY9noOsw5CdFjYZWtl4LD3rKXmsXwYbBZLPepSFo14r1paR59_ms.T.RJzE9igdguddXCGardW7hFGLI3bFO698CqYlkRTHiy.j5mzynLd5wc.i4RKCvWAeoxSHPUHMAmcY5g"};var cpo = document.createElement('script');cpo.src = '/cdn-cgi/challenge-platform/h/g/orchestrate/chl_page/v1?ray=8da1b43bacaa2794';window._cf_chl_opt.cOgUHash = location.hash === '' && location.href.indexOf('#') !== -1 ? '#' : location.hash;window._cf_chl_opt.cOgUQuery = location.search === '' && location.href.slice(0, location.href.length - window._cf_chl_opt.cOgUHash.length).indexOf('?') !== -1 ? '?' : location.search;if (window.history && window.history.replaceState) {var ogU = location.pathname + window._cf_chl_opt.cOgUQuery + window._cf_chl_opt.cOgUHash;history.replaceState(null, null, "\/search?q=harlej+vlka&type=release&layout=sm&__cf_chl_rt_tk=eac_p2P2L_Wn34YAGM.PW3sFrGlEnM.0o6fFR2_KbB4-1730189582-1.0.1.1-cJJE5V9PVj1jg_kVd4o2mJrpV_uc_b6Mk1xihOBpDZM" + window._cf_chl_opt.cOgUHash);cpo.onload = function() {history.replaceState(null, null, ogU);}}document.getElementsByTagName('head')[0].appendChild(cpo);}());</script></body></html>closed So perhaps firefox and curl just ignore 401?
I cannot reproduce this, here with https://prdownloads.sourceforge.net/kid3/kid3-3.9.6-Linux.tgz, import from Discogs is working fine. Could you also try with that version? Since you can access Discogs with curl, it does not seem that yourIP address has been blocked. I would not experiment too much with such tools, I was once blocked from gnudb.org just because I was using curl. The administrator there considers it a hacker's tool, although also a lot of web developers use it.
(In reply to Urs Fleisch from comment #1) > I cannot reproduce this, here with > https://prdownloads.sourceforge.net/kid3/kid3-3.9.6-Linux.tgz, import from > Discogs is working fine. Could you also try with that version? Yes, that works. What the heck? Let me report downstream then. Perhaps your version of Qt or some other library takes Forbidden differently too.
I can confirm that a build of the same source code (current master branch) can import from Discogs when built with Qt 6 whereas it fails (forbidden) with Qt 5. I do not think that this is a problem of taking the "Forbidden" HTTP status, this status must be set by Discogs, probably because they received too many requests from Kid3 clients using Qt 5 and the request is different when sent from Qt 6. However, importing is still possible with Qt 5 if you get an API token from Discogs and enter it in the Discogs import dialog. If you do not want to use the portable .tgz binary package, you could also consider using the flatpak, which is using Qt 6 too.
(In reply to Urs Fleisch from comment #3) > I can confirm that a build of the same source code (current master branch) > can import from Discogs when built with Qt 6 whereas it fails (forbidden) > with Qt 5. I do not think that this is a problem of taking the "Forbidden" > HTTP status, this status must be set by Discogs, probably because they > received too many requests from Kid3 clients using Qt 5 and the request is > different when sent from Qt 6. Ah, given it's your default, I am switching kid in openSUSE to qt6 too. > However, importing is still possible with Qt > 5 if you get an API token from Discogs and enter it in the Discogs import > dialog. OK, thanks.
(In reply to Jiri Slaby from comment #4) > Ah, given it's your default, I am switching kid in openSUSE to qt6 too. https://build.opensuse.org/requests/1219772