Lightroom: Uploading one image to Flickr takes 6 minutes in LR 3.5

  • 1
  • Problem
  • Updated 7 years ago
  • (Edited)
Uploading every image to Flickr takes about 5 or 6 minutes with Lightroom.

I analysed the network traffic with WireShark when I re-uploaded an image and I made a summary table here: http://forums.adobe.com/message/3899751
Photo of szotsaki

szotsaki

  • 4 Posts
  • 0 Reply Likes

Posted 7 years ago

  • 1
Photo of jdv

jdv, Champion

  • 728 Posts
  • 56 Reply Likes
Try Friedl's Flickr plugin for free to see how that compares.
Photo of szotsaki

szotsaki

  • 4 Posts
  • 0 Reply Likes
Thank you for the answer.

I installed and tried it. It took 10 seconds to upload a new picture, so the error is on the Lightroom's side.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 379 Reply Likes
It sounds like there's a bug in the Adobe Flickr plugin, no?
Photo of jdv

jdv, Champion

  • 728 Posts
  • 56 Reply Likes
I keep saying this, but these initial releases of the publish services are pretty much proofs-of-concept. They are not optimized, don't use the bulk upload calls available to developers, and have some dark corners.

Friedl's plugins are the ones that others are compared to. For the price, they cannot be beat. Just use Friedl's Flickr plugin.

That being said, I've never heard of anyone else seeing 5 minute upload times. I actually abandoned Flickr when they moved from Vancouver because even their web uploads become unusably slow, and no one could figure out why. When I redid my internal network one year, everything magically resolved itself.

So, there could be other things at play here. Networking and coordinating multiple APIs is not a simple thing. Unless you are willing to dig deeper, we will never really know, but we cannot just lay the blame at Adobe's feet, necessarily.

But, with Friedl's plugins so easy to install, why bother debugging this further?
Photo of szotsaki

szotsaki

  • 4 Posts
  • 0 Reply Likes
I really want to help debug this and dig deeper, but I don't own LR's source code, so I cannot attach a debugger to it, that's why the most I could do was network analysing.

If there won't be a real solution for this bug (which I think it can be on any side) I will use Friedl's plugin.

If there's something else I can do with this, I'll try; just tell me.
Photo of jdv

jdv, Champion

  • 728 Posts
  • 56 Reply Likes
The plug-in source code is pretty close to the Flickr example shipped with the public SDK. There are a few places where it is different (based on observed behaviour, and the fact that there is a bug in the SDK example that is not in the shipped plug-in.)

I don't how one would connect a debugger up to a plugin, since it is running in a Lua thread in Lightroom. The standard Lua debug library is not part of the Lua that Adobe runs.

Basically, break this down into chunks. Can you duplicate the problem from a different host? A different user account? A different internet connection?

See if you can capture an entire network session showing all the HTTP traffic, too. Using netshark, follow a single data packet after the handshake, not just looking at the times. There may be missed ACKs that are causing a problem, or dropped SYNs that cause the connection to be throttled.

Try turning off all firewall stuff at your end too. This was the source of my issues with Flickr in the first place -- my edge box interacted with Yahoo in a way that only showed up when talking bulk HTTP POSTs to Flickr.

But even if you do this, Friedl's plug-ins are top-notch, and offer a lot of functionality for the "donationware" price.
Photo of szotsaki

szotsaki

  • 4 Posts
  • 0 Reply Likes
As I can see, the .lrplugin file (Flickr.lrplugin) is a PE32+ executable for MS Windows (DLL) (GUI) as the "file" command says. I searched for the *.lua and *.luac files in the LR folder, but I didn't find any.

Anyhow, those are binary formats so in the best case a disassembler could be attached to them, but I'm afraid that would be too much work to debug that.

Different host: I'm going to get an other computer and try it on the same network.
Different plugin: I tried Friedl's plugin and that uploaded pictures with 70+ KB/s.

I made a complete network capture into a pcap file which you can open with WireShark here: http://home.sch.bme.hu/~szotsaki/Ligh...

And my next try is as soon as I reboot to Windows to try to turn off my firewall; thanks for the tip.
Photo of jdv

jdv, Champion

  • 728 Posts
  • 56 Reply Likes
The SDK ships raw .lrdevplugin source, which is not compiled. the Flickr example, though not identical to the shipped, compiled version, is relatively similar based on external inspection. The devil is in the details, of course.

I assume you are talking about the shipped .lrplugin, which is almost certainly not a Windows PE32+ executable. "file" is just looking at the first 2-4 bytes and guessing, based on its database of likely candidates.

If I get a chance I'll take a look at the capture.
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 14049 Posts
  • 1735 Reply Likes
szotsaki, are you still seeing this issue? Anyone else seeing slow upload to Flickr? The guys on the LR team weren't able to reproduce the slowness that you're reporting.