You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I am new to all this, and also old as dirt, so be gentle please. I am thinking that rembg s starts a Web Server with a UI? If not, then what does the server option create and allow?
Is there a way or file to edit that would allow me to specify an internal IP? The current of 0.0.0.0:5000 refuses to load, even after shutting off my firewall and Windows' firewall.
EDIT: I was able to change the port, and it tries to load now, but I am getting:
WARNING: Invalid HTTP request received.
Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
File "C:\Python310\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "C:\Python310\lib\asyncio\proactor_events.py", line 162, in _call_connection_lost
self._sock.shutdown(socket.SHUT_RDWR)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
WARNING: Invalid HTTP request received.
Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
File "C:\Python310\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "C:\Python310\lib\asyncio\proactor_events.py", line 162, in _call_connection_lost
self._sock.shutdown(socket.SHUT_RDWR)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
WARNING: Invalid HTTP request received.
Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
File "C:\Python310\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "C:\Python310\lib\asyncio\proactor_events.py", line 162, in _call_connection_lost
self._sock.shutdown(socket.SHUT_RDWR)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
WARNING: Invalid HTTP request received.
INFO: 127.0.0.1:49188 - "GET / HTTP/1.1" 422 Unprocessable Entity
INFO: 127.0.0.1:49188 - "GET /favicon.ico HTTP/1.1" 404 Not Found
The "page" that loads has: {"detail":[{"loc":["query","url"],"msg":"field required","type":"value_error.missing"}]}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello. I am new to all this, and also old as dirt, so be gentle please. I am thinking that
rembg s
starts a Web Server with a UI? If not, then what does the server option create and allow?Is there a way or file to edit that would allow me to specify an internal IP? The current of
0.0.0.0:5000
refuses to load, even after shutting off my firewall and Windows' firewall.EDIT: I was able to change the port, and it tries to load now, but I am getting:
The "page" that loads has:
{"detail":[{"loc":["query","url"],"msg":"field required","type":"value_error.missing"}]}
Any help is welcome. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions