https://bugs.kde.org/show_bug.cgi?id=527578

            Bug ID: 527578
           Summary: Flickr export plugin fails OAuth authorization with
                    HTTP 502 (Bad Gateway)
    Classification: Applications
           Product: digikam
      Version First 9.1.0
       Reported In:
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Plugin-WebService-Flickr
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 197498
  --> https://bugs.kde.org/attachment.cgi?id=197498&action=edit
screen recording

DESCRIPTION

All Flickr operations seem to have stopped working. Looking at the console
output, I can see Flickr returning HTTP 502

This happens on a fresh install of digikam. I tried on flatpak version and
appimage version.

STEPS TO REPRODUCE
1. In Digikam, click any image, go to Export > Export to Flickr... 
2. Click 'Add another account'


OBSERVED RESULT
Digikam immediately goes to the export dialog without a configured account. 
An HTTP 502 error appears in console, which i will paste below. 

EXPECTED RESULT
Digikam opens the internal browser, in order to sign in, to get Oauth
credentials. 


SOFTWARE/OS VERSIONS
Operating System: Linux Mint 22.3. This is digikam flatpak 9.1.0
KDE Plasma Version: 
KDE Frameworks Version: 6.29.0
Qt Version: Qt Using 6.10.3 built against 6.10.3 

ADDITIONAL INFORMATION

O1::setSignatureMethod:  "HMAC-SHA256"
O0BaseAuth::setLocalPort: 80
O1::link
O0BaseAuth::linked: No
O0BaseAuth::setLinked: false
O0BaseAuth::linked: No
QString::arg: Argument missing: "https://www.flickr.com";, 80
O1:link: Token request headers:
   "oauth_callback" = "https://www.flickr.com";
   "oauth_consumer_key" = "74f882bf4dabe22baaaace1f6d33c66b"
   "oauth_nonce" = "17926500103228021155"
   "oauth_timestamp" = "1792650010"
   "oauth_version" = "1.0"
   "oauth_signature_method" = "HMAC-SHA256"
   "oauth_signature" = "fLceqVhDA0+ol9k6o3P2q9uCETpp2ArTeuRmODs7rKs="
O1::onTokenRequestError: 499 "Error transferring
https://www.flickr.com/services/oauth/request_token - server replied with
status code 502" "<!DOCTYPE html>\n<html>\n<head>\n\t\n\t<meta
http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\n\t<meta
name=\"description\" content=\"Flickr is almost certainly the best online photo
management and sharing application in the world. Show off your favorite photos
and videos to the world, securely and privately show content to your friends
and family, or blog the photos and videos you take with a
cameraphone.\">\n\t<meta http-equiv=\"imagetoolbar\" content=\"no\">\n\t<link
rel=\"search\" type=\"application/opensearchdescription+xml\"
href=\"/opensearch.xml\" title=\"Flickr\" />\n\t<link
href=\"/apple-touch-icon.png\" rel=\"apple-touch-icon-precomposed\">\n\t<meta
name=\"viewport\" content=\"width=1036\">\n\t<meta name=\"application-name\"
content=\"Flickr\"/>\n\t<meta name=\"msapplication-TileColor\"
content=\"#ffffff\"/>\n\t<meta name=\"msapplication-TileImage\"
content=\"/flickr_panda_error_pages/favicon-msapplication-tileimage.png\"/>\n\t<title>Flickr</title>\n\t<style
type=\"text/css\" media=\"screen\">\n\thtml {\n\t\theight:100%;\n\t}\n\n\tbody
{\n\t\theight:100%; \n\t\tmargin:0; padding:0;\n\t\tfont-family:
\"HelveticaNeue-Light\", \"Helvetica Neue Light\", \"Helvetica Neue\",
Helvetica, Arial, \"Lucida Grande\", sans-serif; \n\t\tfont-weight:
300;\n\t\tcolor: #000;\n\t\tbackground: white
url(/flickr_panda_error_pages/bg_error_hold_your_clicks.jpg) no-repeat center
center;\n\t\tbackground-size: cover;\n\t\tbackground-attachment:
fixed;\n\t}\n\n\t#Main {\n\t\twidth: 100%;\n\t}\n\n\tbody.new-footer #main,
body.new-footer #Main {\n\t\tmargin-bottom: 0;\n\t}\n\t\n\t#bg {\n\t\twidth:
100%; \n\t\theight: 100%;\n\t\tmin-width: 600px;\n\t\tmin-height:
445px;\n\t\t\n\t}\n\t\n\t#bg p {\n\t\tline-height: .8em;\n\t}\n\t\n\t#bg
p,\n\t#bg span{\n\t\ttext-shadow: 0px 1px 1px rgba(255,255,255,0.5), 0px 0px
2px #fff;\n\t}\n\n\t.content {\n\t\tposition: relative; \n\t\tz-index:
1;\t\n\t\tpadding: 10% 30px 0 34%;\n\t\t\n\t}\n\n\t.content span
{\n\t\tline-height: 1.6em;\n\t\tfont-size: 17px;\n\t}\n\n\th1 {\n\t\tmargin:
0;\n\t\tfont-weight: 400;\n\t\tfont-size: 2.1em;\n\t\tmargin-bottom:
24px;\n\t}\n\n\ta.attribution {\n\t\tposition: absolute;\n\t\tbottom:
0;\n\t\tright: 10px;\n\t\tbackground-color: #000;\n\t\tbackground:
rgba(0,0,0,0.45);\n\t\tfont-size: 11px;\n\t\tpadding: 7px 13px;\n\t\tcolor:
#dfdfdf;\n\t}\n\n\t.TheError
{background:#000;color:#0F0;padding:1em;position:absolute;bottom:30px;width:60%;margin:
0 20% 0 20%;}\n\t.TheError pre {margin:0;}\n\t\t\n\t\t\n\t#global-nav .logo
{\n\t  display: block;\n\t  height: 100%;\n\t  position: absolute;\n\t  left:
10px;\n\t  top: 0;\n\t}\n\t#global-nav .logo .refresh-logo-2013,\n\t#global-nav
.logo .refresh-logo-2013-2x {\n\t  text-indent: -9999px;\n\t  display:
block;\n\t  position: absolute;\n\t  left: 0;\n\t  height: 100%;\n\t  width:
100%;\n\t  background-position: center center;\n\t  background-image:
url(/flickr_panda_error_pages/flickr_logo_small_white.png);\n\t 
background-image:
-webkit-image-set(url(/flickr_panda_error_pages/flickr_logo_small_white.png)
1x, url(/flickr_panda_error_pages/flickr_logo_large_white.png) 2x);\n\t 
background-repeat: no-repeat;\n\t}\n\t#global-nav .logo a {\n\t  display:
block;\n\t  height: 100%;\n\t  width: 100%;\n\t}\n\t#global-nav .logo a img
{\n\t  display: block;\n\t  position: absolute;\n\t  left: 0;\n\t  bottom:
12px;\n\t}\n\t\n\n\t#global-nav {\n\t  color: #000;\n\t  /* to preserve
line-height and selector appearance */\n\t  /* because legend doesn't inherit
in IE */\n\t  -webkit-box-sizing: border-box;\n\t  -moz-box-sizing:
border-box;\n\t  box-sizing: border-box;\n\t  position: fixed;\n\t  top: 0;\n\t
 left: 0;\n\t  z-index: 1000;\n\t  height: 46px;\n\t  width: 100%;\n\t 
min-width: 975px;\n\t  margin: auto;\n\t  padding: 0;\n\t  text-align:
left;\n\t  background: rgba(0, 0, 0, 0.8);\n\t  background:
url(/flickr_panda_error_pages/iefallbacktrans.png) repeat scroll \\9;\n\t 
box-shadow: none;\n\t  /* Profile */\n\t}\n\t#global-nav * {\n\t 
-moz-box-sizing: border-box;\n\t  -webkit-box-sizing: border-box;\n\t 
box-sizing: border-box;\n\t}\n\t#global-nav div, #global-nav ul, #global-nav
ol, #global-nav li,\n\t#global-nav form, #global-nav fieldset,\n\t#global-nav
legend, #global-nav input, #global-nav textarea {\n\t  -webkit-box-sizing:
border-box;\n\t  -moz-box-sizing: border-box;\n\t  box-sizing: border-box;\n\t 
margin: 0;\n\t  padding: 0;\n\t  color:
#666666;\n\t}\n\t\n\t</style>\n</head>\n<body>\n\t<div
id=\"global-nav\">\n\t<div class=\"logo\" style=\"width: 70px;\">\n\t\t<a
href=\"/\" title=\"Flickr logo. If you click it, you'll go home\"
>\n\t\t\t<span class=\"refresh-logo-2013\"> Flickr logo. If you click it,
you'll go home </span>\n\t\t</a>\n\t</div>\n\t</div>\n\t<div
id=\"bg\">\n\n\t\t<a class=\"attribution\"
href=\"/photos/toyokazu/8644384737/\">by Toyokazu</a>\n\t\t<div
class=\"content\">\t\n\t\t\t<h1>Bad, bad
panda!</h1>\n\t\t\t<p><span>We&#8217;re aware of the problem and are fixing
it.<br>Thanks for your patience.</span></p>\n\t\t\t<p><span>Nous connaissons ce
probl\xC3\xA8me et nous travaillons \xC3\xA0 le
r\xC3\xA9soudre.</span><br>Merci pour votre patience et pour votre
compr\xC3\xA9hension.</p>\n\t\t\t<p><span>Estamos al tanto del problema y
estamos intentando solucionarlo.</span><br>Gracias por tu
paciencia.</p>\n\t\t\t<p><span>Wir sind \xC3\xBC""ber das Problem informiert
und arbeiten an einer L\xC3\xB6sung.</span><br>Vielen Dank f\xC3\xBCr Ihre
Geduld.</p>\n\t\t\t<p><span>Siamo al corrente del problema e ce ne stiamo
occupando.</span><br>Ti ringraziamo per la
pazienza.</p>\n\t\t\t<p><span>J\xC3\xA1 sabemos qual \xC3\xA9 o problema e
vamos resolv\xC3\xAA-lo.</span><br>Obrigado pela
paci\xC3\xAAncia.</p>\n\t\t\t<p><span>\xEB\xAC\xB8\xEC\xA0\x9C\xEB\xA5\xBC
\xEC\x95\x8C\xEA\xB3\xA0 \xEC\x82\xB4\xED\x8E\xB4\xEB\xB3\xB4\xEB\x8A\x94
\xEC\xA4\x91\xEC\x9E\x85\xEB\x8B\x88\xEB\x8B\xA4.</span><br>\xEA\xB8\xB0\xEB\x8B\xA4\xEB\xA0\xA4
\xEC\xA3\xBC\xEC\x85\x94\xEC\x84\x9C
\xEA\xB0\x90\xEC\x82\xAC\xED\x95\xA9\xEB\x8B\x88\xEB\x8B\xA4.</p>\n\t\t\t<p><span>\xE6\x88\x91\xE5\x80\x91\xE5\xB7\xB2\xE7\xB6\x93\xE6\x84\x8F\xE8\xAD\x98\xE5\x88\xB0\xE8\xA9\xB2\xE5\x95\x8F\xE9\xA1\x8C\xEF\xBC\x8C\xE4\xB8\xA6\xE6\xAD\xA3\xE5\x9C\xA8\xE7\x9B\xA1\xE5\xBF\xAB\xE8\xA7\xA3\xE6\xB1\xBA\xE3\x80\x82</span><br>\xE5\xA4\x9A\xE8\xAC\x9D\xE4\xBD\xA0\xE7\x9A\x84\xE8\x80\x90\xE5\xBF\x83\xE7\xAD\x89\xE5\x80\x99\xEF\xBC\x81</p>\n\t\t\t<p><span>Ch\xC3\xBAng
t\xC3\xB4i \xC4\x91\xC4\x83 nh\xE1\xBA\xADn ra s\xE1\xBB\xB1 c\xE1\xBB\x91
v\xC3\xA0 \xC4\x91""ang ti\xCC\x80m hi\xE1\xBB\x83u
chu\xCC\x81ng.</span><br>C\xE1\xBA\xA3m \xC6\xA1n vi\xCC\x80 s\xC6\xB0\xCC\xA3
ki\xC3\xAAn nh\xC3\xA2\xCC\x83n cu\xCC\x89""a
ba\xCC\xA3n.</p>\n\t\t\t<p><span>Kami mengetahui masalah ini dan sedang
mengatasinya.</span><br>Terima kasih atas kesabaran
Anda.</p>\n\n\t\t</div>\n\t</div>\n</body>\n</html>\n"
O1::onTokenRequestFinished
"Request: https://www.flickr.com/services/oauth/request_token";
O1::onTokenRequestFinished:  "Error transferring
https://www.flickr.com/services/oauth/request_token - server replied with
status code 502"




O1::link
O0BaseAuth::linked: No
O0BaseAuth::setLinked: false
O0BaseAuth::linked: No
QString::arg: Argument missing: "https://www.flickr.com";, 80
O1:link: Token request headers:
   "oauth_callback" = "https://www.flickr.com";
   "oauth_consumer_key" = "74f882bf4dabe22baaaace1f6d33c66b"
   "oauth_nonce" = "1792650147915544347"
   "oauth_timestamp" = "1792650147"
   "oauth_version" = "1.0"
   "oauth_signature_method" = "HMAC-SHA256"
   "oauth_signature" = "8CSPJe9Bh2g+NAFAmSAe8TBsVNS8yI+mH1EMKr78Y40="
O1::onTokenRequestError: 499 "Error transferring
https://www.flickr.com/services/oauth/request_token - server replied with
status code 502" "<!DOCTYPE html>\n<html>\n<head>\n\t\n\t<meta
http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\n\t<meta
name=\"description\" content=\"Flickr is almost certainly the best online photo
management and sharing application in the world. Show off your favorite photos
and videos to the world, securely and privately show content to your friends
and family, or blog the photos and videos you take with a
cameraphone.\">\n\t<meta http-equiv=\"imagetoolbar\" content=\"no\">\n\t<link
rel=\"search\" type=\"application/opensearchdescription+xml\"
href=\"/opensearch.xml\" title=\"Flickr\" />\n\t<link
href=\"/apple-touch-icon.png\" rel=\"apple-touch-icon-precomposed\">\n\t<meta
name=\"viewport\" content=\"width=1036\">\n\t<meta name=\"application-name\"
content=\"Flickr\"/>\n\t<meta name=\"msapplication-TileColor\"
content=\"#ffffff\"/>\n\t<meta name=\"msapplication-TileImage\"
content=\"/flickr_panda_error_pages/favicon-msapplication-tileimage.png\"/>\n\t<title>Flickr</title>\n\t<style
type=\"text/css\" media=\"screen\">\n\thtml {\n\t\theight:100%;\n\t}\n\n\tbody
{\n\t\theight:100%; \n\t\tmargin:0; padding:0;\n\t\tfont-family:
\"HelveticaNeue-Light\", \"Helvetica Neue Light\", \"Helvetica Neue\",
Helvetica, Arial, \"Lucida Grande\", sans-serif; \n\t\tfont-weight:
300;\n\t\tcolor: #000;\n\t\tbackground: white
url(/flickr_panda_error_pages/bg_error_hold_your_clicks.jpg) no-repeat center
center;\n\t\tbackground-size: cover;\n\t\tbackground-attachment:
fixed;\n\t}\n\n\t#Main {\n\t\twidth: 100%;\n\t}\n\n\tbody.new-footer #main,
body.new-footer #Main {\n\t\tmargin-bottom: 0;\n\t}\n\t\n\t#bg {\n\t\twidth:
100%; \n\t\theight: 100%;\n\t\tmin-width: 600px;\n\t\tmin-height:
445px;\n\t\t\n\t}\n\t\n\t#bg p {\n\t\tline-height: .8em;\n\t}\n\t\n\t#bg
p,\n\t#bg span{\n\t\ttext-shadow: 0px 1px 1px rgba(255,255,255,0.5), 0px 0px
2px #fff;\n\t}\n\n\t.content {\n\t\tposition: relative; \n\t\tz-index:
1;\t\n\t\tpadding: 10% 30px 0 34%;\n\t\t\n\t}\n\n\t.content span
{\n\t\tline-height: 1.6em;\n\t\tfont-size: 17px;\n\t}\n\n\th1 {\n\t\tmargin:
0;\n\t\tfont-weight: 400;\n\t\tfont-size: 2.1em;\n\t\tmargin-bottom:
24px;\n\t}\n\n\ta.attribution {\n\t\tposition: absolute;\n\t\tbottom:
0;\n\t\tright: 10px;\n\t\tbackground-color: #000;\n\t\tbackground:
rgba(0,0,0,0.45);\n\t\tfont-size: 11px;\n\t\tpadding: 7px 13px;\n\t\tcolor:
#dfdfdf;\n\t}\n\n\t.TheError
{background:#000;color:#0F0;padding:1em;position:absolute;bottom:30px;width:60%;margin:
0 20% 0 20%;}\n\t.TheError pre {margin:0;}\n\t\t\n\t\t\n\t#global-nav .logo
{\n\t  display: block;\n\t  height: 100%;\n\t  position: absolute;\n\t  left:
10px;\n\t  top: 0;\n\t}\n\t#global-nav .logo .refresh-logo-2013,\n\t#global-nav
.logo .refresh-logo-2013-2x {\n\t  text-indent: -9999px;\n\t  display:
block;\n\t  position: absolute;\n\t  left: 0;\n\t  height: 100%;\n\t  width:
100%;\n\t  background-position: center center;\n\t  background-image:
url(/flickr_panda_error_pages/flickr_logo_small_white.png);\n\t 
background-image:
-webkit-image-set(url(/flickr_panda_error_pages/flickr_logo_small_white.png)
1x, url(/flickr_panda_error_pages/flickr_logo_large_white.png) 2x);\n\t 
background-repeat: no-repeat;\n\t}\n\t#global-nav .logo a {\n\t  display:
block;\n\t  height: 100%;\n\t  width: 100%;\n\t}\n\t#global-nav .logo a img
{\n\t  display: block;\n\t  position: absolute;\n\t  left: 0;\n\t  bottom:
12px;\n\t}\n\t\n\n\t#global-nav {\n\t  color: #000;\n\t  /* to preserve
line-height and selector appearance */\n\t  /* because legend doesn't inherit
in IE */\n\t  -webkit-box-sizing: border-box;\n\t  -moz-box-sizing:
border-box;\n\t  box-sizing: border-box;\n\t  position: fixed;\n\t  top: 0;\n\t
 left: 0;\n\t  z-index: 1000;\n\t  height: 46px;\n\t  width: 100%;\n\t 
min-width: 975px;\n\t  margin: auto;\n\t  padding: 0;\n\t  text-align:
left;\n\t  background: rgba(0, 0, 0, 0.8);\n\t  background:
url(/flickr_panda_error_pages/iefallbacktrans.png) repeat scroll \\9;\n\t 
box-shadow: none;\n\t  /* Profile */\n\t}\n\t#global-nav * {\n\t 
-moz-box-sizing: border-box;\n\t  -webkit-box-sizing: border-box;\n\t 
box-sizing: border-box;\n\t}\n\t#global-nav div, #global-nav ul, #global-nav
ol, #global-nav li,\n\t#global-nav form, #global-nav fieldset,\n\t#global-nav
legend, #global-nav input, #global-nav textarea {\n\t  -webkit-box-sizing:
border-box;\n\t  -moz-box-sizing: border-box;\n\t  box-sizing: border-box;\n\t 
margin: 0;\n\t  padding: 0;\n\t  color:
#666666;\n\t}\n\t\n\t</style>\n</head>\n<body>\n\t<div
id=\"global-nav\">\n\t<div class=\"logo\" style=\"width: 70px;\">\n\t\t<a
href=\"/\" title=\"Flickr logo. If you click it, you'll go home\"
>\n\t\t\t<span class=\"refresh-logo-2013\"> Flickr logo. If you click it,
you'll go home </span>\n\t\t</a>\n\t</div>\n\t</div>\n\t<div
id=\"bg\">\n\n\t\t<a class=\"attribution\"
href=\"/photos/toyokazu/8644384737/\">by Toyokazu</a>\n\t\t<div
class=\"content\">\t\n\t\t\t<h1>Bad, bad
panda!</h1>\n\t\t\t<p><span>We&#8217;re aware of the problem and are fixing
it.<br>Thanks for your patience.</span></p>\n\t\t\t<p><span>Nous connaissons ce
probl\xC3\xA8me et nous travaillons \xC3\xA0 le
r\xC3\xA9soudre.</span><br>Merci pour votre patience et pour votre
compr\xC3\xA9hension.</p>\n\t\t\t<p><span>Estamos al tanto del problema y
estamos intentando solucionarlo.</span><br>Gracias por tu
paciencia.</p>\n\t\t\t<p><span>Wir sind \xC3\xBC""ber das Problem informiert
und arbeiten an einer L\xC3\xB6sung.</span><br>Vielen Dank f\xC3\xBCr Ihre
Geduld.</p>\n\t\t\t<p><span>Siamo al corrente del problema e ce ne stiamo
occupando.</span><br>Ti ringraziamo per la
pazienza.</p>\n\t\t\t<p><span>J\xC3\xA1 sabemos qual \xC3\xA9 o problema e
vamos resolv\xC3\xAA-lo.</span><br>Obrigado pela
paci\xC3\xAAncia.</p>\n\t\t\t<p><span>\xEB\xAC\xB8\xEC\xA0\x9C\xEB\xA5\xBC
\xEC\x95\x8C\xEA\xB3\xA0 \xEC\x82\xB4\xED\x8E\xB4\xEB\xB3\xB4\xEB\x8A\x94
\xEC\xA4\x91\xEC\x9E\x85\xEB\x8B\x88\xEB\x8B\xA4.</span><br>\xEA\xB8\xB0\xEB\x8B\xA4\xEB\xA0\xA4
\xEC\xA3\xBC\xEC\x85\x94\xEC\x84\x9C
\xEA\xB0\x90\xEC\x82\xAC\xED\x95\xA9\xEB\x8B\x88\xEB\x8B\xA4.</p>\n\t\t\t<p><span>\xE6\x88\x91\xE5\x80\x91\xE5\xB7\xB2\xE7\xB6\x93\xE6\x84\x8F\xE8\xAD\x98\xE5\x88\xB0\xE8\xA9\xB2\xE5\x95\x8F\xE9\xA1\x8C\xEF\xBC\x8C\xE4\xB8\xA6\xE6\xAD\xA3\xE5\x9C\xA8\xE7\x9B\xA1\xE5\xBF\xAB\xE8\xA7\xA3\xE6\xB1\xBA\xE3\x80\x82</span><br>\xE5\xA4\x9A\xE8\xAC\x9D\xE4\xBD\xA0\xE7\x9A\x84\xE8\x80\x90\xE5\xBF\x83\xE7\xAD\x89\xE5\x80\x99\xEF\xBC\x81</p>\n\t\t\t<p><span>Ch\xC3\xBAng
t\xC3\xB4i \xC4\x91\xC4\x83 nh\xE1\xBA\xADn ra s\xE1\xBB\xB1 c\xE1\xBB\x91
v\xC3\xA0 \xC4\x91""ang ti\xCC\x80m hi\xE1\xBB\x83u
chu\xCC\x81ng.</span><br>C\xE1\xBA\xA3m \xC6\xA1n vi\xCC\x80 s\xC6\xB0\xCC\xA3
ki\xC3\xAAn nh\xC3\xA2\xCC\x83n cu\xCC\x89""a
ba\xCC\xA3n.</p>\n\t\t\t<p><span>Kami mengetahui masalah ini dan sedang
mengatasinya.</span><br>Terima kasih atas kesabaran
Anda.</p>\n\n\t\t</div>\n\t</div>\n</body>\n</html>\n"
O1::onTokenRequestFinished
"Request: https://www.flickr.com/services/oauth/request_token";
O1::onTokenRequestFinished:  "Error transferring
https://www.flickr.com/services/oauth/request_token - server replied with
status code 502"
^C

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to