Closed SN4RK closed 8 months ago
I improved the system message for create images. Please test agin
Все еще иногда появляется та же ошибка
Но на локальном сервере:
Переходить по ссылке бесполезно: Bad_source
В консоли:
2024-02-17 09:14:13 ERROR:root:503 Service Unavailable
2024-02-17 09:14:13 Traceback (most recent call last):
2024-02-17 09:14:13 File "/home/g4f/.local/lib/python3.10/site-packages/python_socks/async_/asyncio/v2/_proxy.py", line 118, in _connect
2024-02-17 09:14:13 await connector.connect(
2024-02-17 09:14:13 File "/home/g4f/.local/lib/python3.10/site-packages/python_socks/_connectors/http_async.py", line 36, in connect
2024-02-17 09:14:13 reply: http.ConnectReply = conn.receive(data)
2024-02-17 09:14:13 File "/home/g4f/.local/lib/python3.10/site-packages/python_socks/_protocols/http.py", line 147, in receive
2024-02-17 09:14:13 return ConnectReply.loads(data)
2024-02-17 09:14:13 File "/home/g4f/.local/lib/python3.10/site-packages/python_socks/_protocols/http.py", line 136, in loads
2024-02-17 09:14:13 raise ReplyError(msg, error_code=status_code)
2024-02-17 09:14:13 python_socks._protocols.errors.ReplyError: 503 Service Unavailable
2024-02-17 09:14:13
2024-02-17 09:14:13 During handling of the above exception, another exception occurred:
2024-02-17 09:14:13
2024-02-17 09:14:13 Traceback (most recent call last):
2024-02-17 09:14:13 File "/app/g4f/gui/server/backend.py", line 191, in _create_response_stream
2024-02-17 09:14:13 for chunk in ChatCompletion.create(**kwargs):
2024-02-17 09:14:13 File "/app/g4f/Provider/base_provider.py", line 205, in create_completion
2024-02-17 09:14:13 yield loop.run_until_complete(await_callback(gen.__anext__))
2024-02-17 09:14:13 File "/home/g4f/.local/lib/python3.10/site-packages/nest_asyncio.py", line 98, in run_until_complete
2024-02-17 09:14:13 return f.result()
2024-02-17 09:14:13 File "/usr/lib/python3.10/asyncio/futures.py", line 201, in result
2024-02-17 09:14:13 raise self._exception.with_traceback(self._exception_tb)
2024-02-17 09:14:13 File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step
2024-02-17 09:14:13 result = coro.send(None)
2024-02-17 09:14:13 File "/app/g4f/Provider/base_provider.py", line 201, in await_callback
2024-02-17 09:14:13 return await callback()
2024-02-17 09:14:13 File "/app/g4f/Provider/Liaobots.py", line 112, in create_async_generator
2024-02-17 09:14:13 async with session.post(
2024-02-17 09:14:13 File "/home/g4f/.local/lib/python3.10/site-packages/aiohttp/client.py", line 1194, in __aenter__
2024-02-17 09:14:13 self._resp = await self._coro
2024-02-17 09:14:13 File "/home/g4f/.local/lib/python3.10/site-packages/aiohttp/client.py", line 578, in _request
2024-02-17 09:14:13 conn = await self._connector.connect(
2024-02-17 09:14:13 File "/home/g4f/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 544, in connect
2024-02-17 09:14:13 proto = await self._create_connection(req, traces, timeout)
2024-02-17 09:14:13 File "/home/g4f/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 909, in _create_connection
2024-02-17 09:14:13 _, proto = await self._create_proxy_connection(req, traces, timeout)
2024-02-17 09:14:13 File "/home/g4f/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 1260, in _create_proxy_connection
2024-02-17 09:14:13 transport, proto = await self._create_direct_connection(
2024-02-17 09:14:13 File "/home/g4f/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 1204, in _create_direct_connection
2024-02-17 09:14:13 transp, proto = await self._wrap_create_connection(
2024-02-17 09:14:13 File "/home/g4f/.local/lib/python3.10/site-packages/aiohttp_socks/connector.py", line 85, in _wrap_create_connection
2024-02-17 09:14:13 stream = await proxy.connect(
2024-02-17 09:14:13 File "/home/g4f/.local/lib/python3.10/site-packages/python_socks/async_/asyncio/v2/_proxy.py", line 70, in connect
2024-02-17 09:14:13 return await self._connect(
2024-02-17 09:14:13 File "/home/g4f/.local/lib/python3.10/site-packages/python_socks/async_/asyncio/v2/_proxy.py", line 131, in _connect
2024-02-17 09:14:13 raise ProxyError(e, error_code=e.error_code)
2024-02-17 09:14:13 python_socks._errors.ProxyError: 503 Service Unavailable
2024-02-17 09:14:13 172.17.0.1 - - [17/Feb/2024 06:14:13] "POST /backend-api/v2/conversation HTTP/1.1" 200 -
2024-02-17 09:14:13 INFO:werkzeug:172.17.0.1 - - [17/Feb/2024 06:14:13] "POST /backend-api/v2/conversation HTTP/1.1" 200 -
2024-02-17 09:14:29 ERROR:root:Response: <PHIND_BACKEND_ERROR>Invalid request body</PHIND_BACKEND_ERROR>
2024-02-17 09:14:29 Traceback (most recent call last):
2024-02-17 09:14:29 File "/app/g4f/gui/server/backend.py", line 191, in _create_response_stream
2024-02-17 09:14:29 for chunk in ChatCompletion.create(**kwargs):
2024-02-17 09:14:29 File "/app/g4f/Provider/base_provider.py", line 205, in create_completion
2024-02-17 09:14:29 yield loop.run_until_complete(await_callback(gen.__anext__))
2024-02-17 09:14:29 File "/home/g4f/.local/lib/python3.10/site-packages/nest_asyncio.py", line 98, in run_until_complete
2024-02-17 09:14:29 return f.result()
2024-02-17 09:14:29 File "/usr/lib/python3.10/asyncio/futures.py", line 201, in result
2024-02-17 09:14:29 raise self._exception.with_traceback(self._exception_tb)
2024-02-17 09:14:29 File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step
2024-02-17 09:14:29 result = coro.send(None)
2024-02-17 09:14:29 File "/app/g4f/Provider/base_provider.py", line 201, in await_callback
2024-02-17 09:14:29 return await callback()
2024-02-17 09:14:29 File "/app/g4f/Provider/Phind.py", line 70, in create_async_generator
2024-02-17 09:14:29 raise RuntimeError(f"Response: {chunk.decode()}")
2024-02-17 09:14:29 RuntimeError: Response: <PHIND_BACKEND_ERROR>Invalid request body</PHIND_BACKEND_ERROR>
2024-02-17 09:14:29 172.17.0.1 - - [17/Feb/2024 06:14:29] "POST /backend-api/v2/conversation HTTP/1.1" 200 -
2024-02-17 09:14:29 INFO:werkzeug:172.17.0.1 - - [17/Feb/2024 06:14:29] "POST /backend-api/v2/conversation HTTP/1.1" 200 -
2024-02-17 09:14:45 172.17.0.1 - - [17/Feb/2024 06:14:45] "POST /backend-api/v2/conversation HTTP/1.1" 200 -
2024-02-17 09:14:45 INFO:werkzeug:172.17.0.1 - - [17/Feb/2024 06:14:45] "POST /backend-api/v2/conversation HTTP/1.1" 200
You have to start a new conversation after the update
use VPN
Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.
На запрос "Create image wolf" (как и на любой другой) получаю ответ:
![wolf](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAACWCAYAAABkW7XSAAABmklEQVR4nO3BMQEAAADCoPVPbQhfoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA....
Использую контейнер hlohaus789/g4f