Hi Ben, On 12 Mar 2013, at 05:33, Ben Turner <ben.tur...@pobox.com> wrote:
> * We then talk to it via ruby sockets (for non-rubyists, this streams a > document from the file system into our local tika server over a simple > socket) : > > #!/usr/bin/env ruby > require 'socket' > TCPSocket.open('127.0.0.1', 12345) do |socket| > File.open('/tmp/test.png', 'r') do |chunk| > socket.write(chunk) > end > socket.close_write > puts socket.read > end There is no know fault around this so tried this locally, and with a wee tweak to the Ruby code to use socket.write(chunk.read), it works for me with all document types. I also used -m on the server to make sure the PNG was being processed and it dumps back the metadata. Is there anything else in the way over the network (firewall, IDS, etc)? Cheers, Dave