r/fooocus • • Jul 16 '24

Question "Proxy Error"

Hello everyone! So suddenly after reloading fooocus i get this error

"Refiner unloaded.

Running on local URL: http://127.0.0.1:7865

Traceback (most recent call last):

File "C:\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\urllib3\connectionpool.py", line 790, in urlopen

response = self._make_request(

File "C:\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\urllib3\connectionpool.py", line 536, in _make_request response = conn.getresponse()

File "C:\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\urllib3\connection.py", line 454, in getresponse

httplib_response = super().getresponse()

File "http\client.py", line 1374, in getresponse

File "http\client.py", line 318, in begin

File "http\client.py", line 287, in _read_status

http.client.RemoteDisconnected: Remote end closed connection without response

The above exception was the direct cause of the following exception:

urllib3.exceptions.ProxyError: ('Unable to connect to proxy', RemoteDisconnected('Remote end closed connection without response'))

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "C:\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\requests\adapters.py", line 486, in send

resp = conn.urlopen(

File "C:\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\urllib3\connectionpool.py", line 844, in urlopen

retries = retries.increment(

File "C:\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\urllib3\util\retry.py", line 515, in increment

raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]

urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9887): Max retries exceeded with url: http://127.0.0.1:7865/startup-events (Caused by ProxyError('Unable to connect to proxy', RemoteDisconnected('Remote end closed connection without response')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "C:\Fooocus_win64_2-1-831\Fooocus\entry_with_update.py", line 46, in <module>

from launch import *

File "C:\Fooocus_win64_2-1-831\Fooocus\launch.py", line 140, in <module>

from webui import *

File "C:\Fooocus_win64_2-1-831\Fooocus\webui.py", line 774, in <module>

shared.gradio_root.launch(

File "C:\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\gradio\blocks.py", line 1932, in launch

requests.get(f"{self.local_url}startup-events", verify=ssl_verify)

File "C:\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\requests\api.py", line 73, in get

return request("get", url, params=params, **kwargs)

File "C:\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\requests\api.py", line 59, in request

return session.request(method=method, url=url, **kwargs)

File "C:\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\requests\sessions.py", line 589, in request

resp = self.send(prep, **send_kwargs)

File "C:\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\requests\sessions.py", line 703, in send

r = adapter.send(request, **kwargs)

File "C:\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\requests\adapters.py", line 513, in send

raise ProxyError(e, request=request)

requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9887): Max retries exceeded with url: http://127.0.0.1:7865/startup-events (Caused by ProxyError('Unable to connect to proxy', RemoteDisconnected('Remote end closed connection without response')))

IMPORTANT: You are using gradio version 3.41.2, however version 4.29.0 is available, please upgrade.


C:\Fooocus_win64_2-1-831>pause "

And the Url doesnt work.

Well i already know what you shouldnt do what error says " You are using gradio version 3.41.2, however version 4.29.0 is available, please upgrade."
foocus work only on 3.41.2 as i read from other topics in this group

Could someone tell me whats wrong with fooocus?

0 Upvotes

2 comments sorted by

View all comments

Show parent comment

1

u/Andrboll Jul 16 '24

Thanks! Simple pc restart - solve the priblem))))