1
0
-1

Hello everyone

I managed to set up the clowder service successfully over the local network at the institute that I work. All the extractors and previewers that I need seem to be working fine.

When I try to upload a file using the public IP that was assigned to that clowder instance though the extractors are being called by rabbitmq but they try to download the file through the public IP address instead of the local one, bust since they are running over the same network this is not allowed so the extractions never take place. 

Has anyone ever tested that these extractors work over the internet and if so, how can I configure these programs to download the files using the local IP which is allowed?

Thanks a lot

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Clowder will use the hostname that is used when uploading the file and send this over rabbitmq. One option is to add to the host where the extractor is running a mapping from hostname to internal ip address, for example:

      10.1.1.99 clowdermachine clowdermachine.internal clowdermachine.globaldnsname.cy

      Now when you upload to clowdermachine.globaldnsname.cy, the message to the extractor will have that hostname embedded in it, when the extractor does a DNS lookup to download the file, it will use the /etc/hosts file first and find the mapping to the internal IP address.

       

        CommentAdd your comment...