3

I have downloaded and configured the Flickr ECL in my Tridion, Mountpoint has been created successfully. when i click the mountpoing, i am getting different error in my local machine and Tridion server.

Error from local machine: WebUI/Models/ECL/Services/General.svc/GetList failed to execute. STATUS (404): Not Found

Error from Tridion installed Machine:Unable to connect to the remote server No connection could be made because the target machine actively refused it.

ExternalContentLibrary.xml:

     <?xml version="1.0" encoding="utf-8" ?>
      <Configuration xmlns="http://www.sdltridion.com/ExternalContentLibrary/Configuration">

     <!-- Available logging levels: Debug, Info, Warning, Error -->
    <l:Logging Level="Warning" xmlns:l="http://www.sdltridion.com/Infrastructure/LoggingConfiguration">
     <!-- Additional supported attributes: Language="rfc1766 code" Locale="rfc1766 code". An example of an rfc1766 code is "de-DE" for German. /-->

    <!-- <l:Folder>Full path to logging folder, default is %TRIDION%/bin/log</l:Folder>-->
   </l:Logging>

    <CoreServiceUrl>net.tcp://machinenamehere:2660/CoreService/2013/netTcp</CoreServiceUrl>


<MountPoints>
    <MountPoint type="FlickrProvider" version="*" id="flickr" rootItemName="Flickr">
        <StubFolders>
            <StubFolder id="tcm:4-108-2" />
        </StubFolders>
        <PrivilegedUserName>TridionMachineName\MTSUSER</PrivilegedUserName>
        <FlickrApiKey xmlns="http://flickr.com/services/api">[hidden]</FlickrApiKey>
        <FlickrNSID xmlns="http://flickr.com/services/api">[hidden]</FlickrNSID>
    </MountPoint>
</MountPoints>

 </Configuration>

1 Answer 1

3

Check out this useful blogpost from Mark Saunders, after the release of the Flickr ECL Provider, Flickr has made changes to their API URL, and so currently the extension you downloaded will not work as is, but with a small change you can be on your way again:

http://www.tridiondeveloper.com/flickr-ecl-http-to-https

Update

Keep in mind that the connection to the Flickr APi is created from the CM server, and also that the ECL Provider currently does not take any proxy settings into account which might be required to connect to the internet on that machine.

First thing I would check is if you can access the Flickr API from the CM server, preferably not only in a browser or via a ping in a command prompt, but using some .NET sample code (see http://msdn.microsoft.com/en-us/library/system.net.webrequest.aspx)

9
  • Thanks Bart, I have changed the code as guided in the post. However, now, i am getting error "Failed initializing the External Content Library with id flickr." any help?
    – Jey
    Nov 11, 2014 at 9:50
  • @Jey Sounds like you need to debug it a little bit, there might be something as simple as a type in your NSID or API key, check them via the API explorer (for example flickr.com/services/api/explore/flickr.photosets.getPhotos) Nov 11, 2014 at 11:33
  • Looks like my NSID/Key provided in the config file is correct. Have tried to debug, got response for below. flickr.com/services/api/explore/flickr.photos.getInfo . But from Tridion, still am getting "Initializing" error. when i change the http to https in "ExternalLibraryConfig.xml" file, again am getting "Unable to connect to the remote server No connection could be made because the target machine actively refused it" error.
    – Jey
    Nov 11, 2014 at 12:54
  • 1
    @Jey the URL used in the ExternalLibraryConfig.xml is a namespace, that you should not change. You only need to change the URLs in the Api/Flickr.cs class and recompile. If that doesn't work, then you need to debug it to see where what is going wrong exactly, could be all sorts of things network related or otherwise... Nov 11, 2014 at 13:22
  • Hi Bart, which process i have to link to debug the ECL? I dont see any process running related to ECL in Tridion server. I could not find any related information in SDL Live Content also.
    – Jey
    Nov 14, 2014 at 7:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.