mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[GH-ISSUE #21119] issue: Max retries exceeded with url: /tika/text #58053
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yousimu on GitHub (Feb 3, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21119
Check Existing Issues
Installation Method
docker compose
Open WebUI Version
v0.7.2
Ollama Version (if applicable)
0.13.5
Operating System
Debian 12
Browser (if applicable)
chrome, safari
Confirmation
README.md.Expected Behavior
After configuring Tika, PDF files uploaded to the knowledge base should be correctly imported.
The PDF is confirmed to be unencrypted and contains text.
Actual Behavior
HTTPSConnectionPool(host='tika.yousimu.wang', port=443): Max retries exceeded with url: /tika/text (Caused by NewConnectionError("HTTPSConnection(host='tika.yousimu.wang', port=443): Failed to establish a new connection: [Errno 101] Network is unreachable"))
HTTPConnectionPool(host='192.168.1.100', port=36769): Max retries exceeded with url: /tika/text (Caused by NewConnectionError("HTTPConnection(host='192.168.1.100', port=36769): Failed to establish a new connection: [Errno 111] Connection refused"))
I encountered a 403 error on /tika/text while uploading a PDF. After investigating, I have two points to share:
curl -T test.pdf https://tika.yousimu.wang/tika/textstill works.Open WebUI version:
v0.7.2
Steps to Reproduce
1\ my docker compose
`services:
open-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: open-webui
ports:
- "35069:8080"
volumes:
- ./data:/app/backend/data
environment:
- GLOBAL_LOG_LEVEL=INFO
restart: unless-stopped
tika:
image: apache/tika:latest
container_name: apache-tika-server
ports:
- "36769:9998"
restart: unless-stopped
user: "1000:1000"
volumes:
- ./tika-fonts:/usr/local/openjdk-11/lib/fonts:ro
- ./tika-fonts:/usr/share/fonts:ro
- ./tika-config.xml:/tika-config.xml:ro
environment:
- TZ=Asia/Shanghai
- JAVA_OPTS=-Dpdfbox.fontcache=/tmp -cp /opt/tika-server -jar /opt/tika-server/tika-server-standard.jar --config /tika-config.xml`
Logs & Screenshots
1\ tika docker logs
WARN [qtp1393198164-29] 16:45:45,538 org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper jakarta.ws.rs.ClientErrorException: HTTP 405 Method Not Allowed
at org.apache.cxf.jaxrs.utils.SpecExceptions.toHttpException(SpecExceptions.java:118)
at org.apache.cxf.jaxrs.utils.ExceptionUtils.toHttpException(ExceptionUtils.java:167)
at org.apache.cxf.jaxrs.utils.JAXRSUtils.findTargetMethod(JAXRSUtils.java:673)
at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:181)
at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:78)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267)
at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:244)
at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:80)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1381)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:178)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1303)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
at org.eclipse.jetty.server.Server.handle(Server.java:563)
at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149)
at java.base/java.lang.Thread.run(Thread.java:1583)
WARN [qtp1393198164-32] 17:05:32,136 org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper jakarta.ws.rs.ClientErrorException: HTTP 405 Method Not Allowed
at org.apache.cxf.jaxrs.utils.SpecExceptions.toHttpException(SpecExceptions.java:118)
at org.apache.cxf.jaxrs.utils.ExceptionUtils.toHttpException(ExceptionUtils.java:167)
at org.apache.cxf.jaxrs.utils.JAXRSUtils.findTargetMethod(JAXRSUtils.java:673)
at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:181)
at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:78)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267)
at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:244)
at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:80)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1381)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:178)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1303)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
at org.eclipse.jetty.server.Server.handle(Server.java:563)
at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149)
at java.base/java.lang.Thread.run(Thread.java:1583)
INFO [qtp1393198164-27] 17:06:09,295 org.apache.cxf.jaxrs.utils.JAXRSUtils Resource class org.apache.tika.server.core.resource.TikaResource does not support HEAD http method, method getMessage supporting GET http method will be invoked
2\ Open webUI logs
2026-02-03 16:59:30.275 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /_app/version.json HTTP/1.1" 200
2026-02-03 17:01:30.297 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /_app/version.json HTTP/1.1" 200
2026-02-03 17:02:30.293 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /_app/version.json HTTP/1.1" 200
2026-02-03 17:04:30.306 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /_app/version.json HTTP/1.1" 200
2026-02-03 17:05:30.351 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /_app/version.json HTTP/1.1" 200
2026-02-03 17:06:30.458 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /_app/version.json HTTP/1.1" 200
2026-02-03 17:07:31.277 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /_app/version.json HTTP/1.1" 200
2026-02-03 17:08:31.295 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /_app/version.json HTTP/1.1" 200
2026-02-03 17:10:30.407 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /_app/version.json HTTP/1.1" 200
2026-02-03 17:11:25.932 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /api/v1/chats/bf5607e3-5110-4819-bbcb-f07c2d0225b1 HTTP/1.1" 200
2026-02-03 17:11:26.183 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /api/v1/chats/bf5607e3-5110-4819-bbcb-f07c2d0225b1 HTTP/1.1" 200
2026-02-03 17:11:26.418 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /api/v1/chats/27d71245-1c19-45ae-b182-11cccfd39ec3 HTTP/1.1" 200
2026-02-03 17:11:26.426 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /api/v1/chats/af877322-921e-471f-b85c-8a660a95835b HTTP/1.1" 200
2026-02-03 17:11:26.731 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /api/usage HTTP/1.1" 200
2026-02-03 17:11:30.475 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /_app/version.json HTTP/1.1" 200
2026-02-03 17:11:33.698 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /ollama/api/version HTTP/1.1" 200
2026-02-03 17:11:35.283 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /api/version/updates HTTP/1.1" 200
2026-02-03 17:12:31.328 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /_app/version.json HTTP/1.1" 200
2026-02-03 17:14:22.800 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /_app/version.json HTTP/1.1" 200
2026-02-03 17:15:23.295 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /_app/version.json HTTP/1.1" 200
2026-02-03 17:16:30.330 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /_app/version.json HTTP/1.1" 200
2026-02-03 17:17:30.340 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /_app/version.json HTTP/1.1" 200
2026-02-03 17:19:30.339 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /_app/version.json HTTP/1.1" 200
2026-02-03 17:20:30.376 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.26.0.2:0 - "GET /_app/version.json HTTP/1.1" 200
Additional Information
No response
@Classic298 commented on GitHub (Feb 3, 2026):
Tika still supports /text. you have a network config issue.