Hi,
I keep getting this error when running the simple rag tutorial. The service starts fine but when I try to ingest a txt file, I get the error:
[ERROR] [entry_service:RAGService:1] Exception on /ingest_text [POST] (trace=e23e220246d4fc8d69f527bfd44c8738,span=5678b07cdc797092,sampled=0,service.name=RAGService)
Traceback (most recent call last):
File "/rag-tutorials/01-simple-rag/rag-bentoml/lib/python3.11/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions
yield
File "/rag-tutorials/01-simple-rag/rag-bentoml/lib/python3.11/site-packages/httpx/_transports/default.py", line 394, in handle_async_request
resp = await self._pool.handle_async_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/rag-tutorials/01-simple-rag/rag-bentoml/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 207, in handle_async_request
raise UnsupportedProtocol(
httpcore.UnsupportedProtocol: Request URL is missing an 'http://' or 'https://' protocol.
Python 3.11
Name: httpx
Version: 0.28.1
Name: httpcore
Version: 1.0.7
Thanks for your help
Hi,
I keep getting this error when running the simple rag tutorial. The service starts fine but when I try to ingest a txt file, I get the error:
[ERROR] [entry_service:RAGService:1] Exception on /ingest_text [POST] (trace=e23e220246d4fc8d69f527bfd44c8738,span=5678b07cdc797092,sampled=0,service.name=RAGService)
Traceback (most recent call last):
File "/rag-tutorials/01-simple-rag/rag-bentoml/lib/python3.11/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions
yield
File "/rag-tutorials/01-simple-rag/rag-bentoml/lib/python3.11/site-packages/httpx/_transports/default.py", line 394, in handle_async_request
resp = await self._pool.handle_async_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/rag-tutorials/01-simple-rag/rag-bentoml/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 207, in handle_async_request
raise UnsupportedProtocol(
httpcore.UnsupportedProtocol: Request URL is missing an 'http://' or 'https://' protocol.
Python 3.11
Name: httpx
Version: 0.28.1
Name: httpcore
Version: 1.0.7
Thanks for your help