nlmatics / nlm-ingestor

This repo provides the server side code for llmsherpa API to connect. It includes parsers for various file formats.
https://www.nlmatics.com
Apache License 2.0
923 stars 112 forks source link

Connection error with Docker run #67

Open kjoth opened 1 month ago

kjoth commented 1 month ago

Hi,

I ran the docker version of the image, and tried to test it using the test_llmsherpa_api notebook. But getting Connection to 172.17.0.2 timed out. (connect timeout=None)')) at pdf_reader.read_pdf(pdf_url).

docker pull ghcr.io/nlmatics/nlm-ingestor:latest

docker run -p 5010:5001 ghcr.io/nlmatics/nlm-ingestor:latest
image

MaxRetryError: HTTPConnectionPool(host='172.17.0.2', port=5001): Max retries exceeded with url: [/api/parseDocument](http://localhost:8081/api/parseDocument)?renderFormat=all&useNewIndentParser=true&applyOcr=yes (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x107884c20>, 'Connection to 172.17.0.2 timed out. (connect timeout=None)'))

image