Closed tsela closed 5 years ago
not sure @tsela I don't have an active Windows 10 VM, only Win7 Ultimate. Looks like it can't detect that the server has started. can you check the code in tika.py where it tries to confirm that tika has started?
never heard back so I assume this is OK now.
Sorry for never getting back to you on this, but I moved my development setup to Linux, where this problem does not occur.
Hi, I have this issue too. I'm on Windows 10 as well.
What information do you need?
Hi, I have this problem as well. Every once in a while the server stops responding and then I have to restart the whole thing (my jupyter notebooks to be precise). If someone has any idea why this happens on Windows...
I have the same problem on windows 10
I also have this problem on windows 10. this time, the port is not an issue. The tika server does not give me any log information, however, "netstat -ab" shows that it is listening on the given port. Tthe tike log just says:
2020-03-27 09:01:54,564 [MainThread ] [WARNI] Tika server returned status: 503
@BorisWiegand can you take a look at https://cwiki.apache.org/confluence/display/TIKA/TikaOCR and try to interact with Tika server that way? Does it work? that will isolate the problem to whether or not it's an issue in python or your server setup.
@BorisWiegand can you take a look at https://cwiki.apache.org/confluence/display/TIKA/TikaOCR and try to interact with Tika server that way? Does it work? that will isolate the problem to whether or not it's an issue in python or your server setup.
Thank you very much for this hint. I am sitting behind a corporate proxy and I had a wrong configuration, such that my python script tried to connect via proxy to the local tika server. Actually not the tika server but the proxy server returned status code 503. Now, I have fixed my proxy settings and everythings works as expected.
awesome @BorisWiegand thanks
I am testing Tika-Python on my Windows 10 laptop, but I cannot get it to work. Using the following Python script (directly taken from this site, with 'path/to/file' naturally changed to a correct filepath):
I get the following:
Here is the contents of
tika.log
, which shows that the tika-server JAR was correctly downloaded, but that every attempt to use it returns a 503 status code:And here is the latest
tika-server.log
file:Any idea what is going on here?