Tavily 502 Server Error #289
Replies: 1 comment
-
looks like it was a temporary problem of tavily, worked the day after again |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I installed today reserachAPI on my Mac to try it out. Making my first query, all looks good, see first sources and content and then, when reserachGPT executes the second query, I always get 502 Server Error: Bad Gateway for url: https://api.tavily.com/search
Since travi api works, I suppose it is something else, has someone an idea what could trigger this inside researchGPT?
BR
Stefan
`
here all is still fine, also data came...
...
Source: https://clustercollaboration.eu/content/presentation-alpenhanf-360deg-project-biolife-trade-fair-bolzano-italy
Title:
Content: Community News
Presentation of the "Alpenhanf 360°" project at the Biolife trade fair in Bolzano, Italy
Author: Dipl. Geogr. Jasmin Baruck, Standortagentur Tirol
The HempCluB's project partner Standortagentur Tirol, Austria, supports and assists companies with innovations, funding, start-ups, sustainable growth, and networking between business and science. This strengthens Tirol as a business location in harmony with ecological interests in the long term. The focus is on future topics such as the circular economy, digitalization, and health. One focus of the Standortagentur Tirol lies in the area of innovations relating to the Alpine circular economy. The aim is to establish regional value chains and cycles, adapted to the special conditions in the Alpine region of Tyrol.
🔎 Running research for 'circular economy developments in Tyrol region'...
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/Users/tino/.pyenv/versions/3.12.0/lib/python3.12/site-packages/uvicorn/protocols/websockets/wsproto_impl.py", line 234, in run_asgi
result = await self.app(self.scope, self.receive, self.send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tino/.pyenv/versions/3.12.0/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tino/.pyenv/versions/3.12.0/lib/python3.12/site-packages/fastapi/applications.py", line 1106, in call
await super().call(scope, receive, send)
File "/Users/tino/.pyenv/versions/3.12.0/lib/python3.12/site-packages/starlette/applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "/Users/tino/.pyenv/versions/3.12.0/lib/python3.12/site-packages/starlette/middleware/errors.py", line 149, in call
await self.app(scope, receive, send)
File "/Users/tino/.pyenv/versions/3.12.0/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/Users/tino/.pyenv/versions/3.12.0/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/Users/tino/.pyenv/versions/3.12.0/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in call
raise e
File "/Users/tino/.pyenv/versions/3.12.0/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in call
await self.app(scope, receive, send)
File "/Users/tino/.pyenv/versions/3.12.0/lib/python3.12/site-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/Users/tino/.pyenv/versions/3.12.0/lib/python3.12/site-packages/starlette/routing.py", line 341, in handle
await self.app(scope, receive, send)
File "/Users/tino/.pyenv/versions/3.12.0/lib/python3.12/site-packages/starlette/routing.py", line 82, in app
await func(session)
File "/Users/tino/.pyenv/versions/3.12.0/lib/python3.12/site-packages/fastapi/routing.py", line 325, in app
await dependant.call(**values)
File "/Users/tino/projects/gpt-researcher/backend/server.py", line 50, in websocket_endpoint
report = await manager.start_streaming(task, report_type, websocket)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tino/projects/gpt-researcher/gpt_researcher/utils/websocket_manager.py", line 51, in start_streaming
report = await run_agent(task, report_type, websocket)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tino/projects/gpt-researcher/gpt_researcher/utils/websocket_manager.py", line 63, in run_agent
report = await researcher.run()
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tino/projects/gpt-researcher/gpt_researcher/master/agent.py", line 52, in run
scraped_sites = await self.scrape_sites_by_query(sub_query)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tino/projects/gpt-researcher/gpt_researcher/master/agent.py", line 91, in scrape_sites_by_query
search_results = retriever.search(max_results=self.cfg.max_search_results_per_query)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tino/projects/gpt-researcher/gpt_researcher/retrievers/tavily_search/tavily_search.py", line 43, in search
results = self.client.search(self.query, search_depth="advanced", max_results=max_results)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tino/.pyenv/versions/3.12.0/lib/python3.12/site-packages/tavily/tavily.py", line 47, in search
return self._search(query, search_depth=search_depth, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tino/.pyenv/versions/3.12.0/lib/python3.12/site-packages/tavily/tavily.py", line 41, in _search
response.raise_for_status() # Raises a HTTPError if the HTTP request returned an unsuccessful status code
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tino/.pyenv/versions/3.12.0/lib/python3.12/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 502 Server Error: Bad Gateway for url: https://api.tavily.com/search
`
Beta Was this translation helpful? Give feedback.
All reactions