Comments (12)
I'll try!
from easydiffusion.
I tried it and got the error message below as response. It might just be something minior that I could fix my self, but right now I don't have time to look in to it. I'm going AFK for maybe a few hours, I'll look in to it when I get back!
Traceback (most recent call last):
File "docker\api\client.py", line 214, in _retrieve_server_version
File "docker\api\daemon.py", line 181, in version
File "docker\utils\decorators.py", line 46, in inner
File "docker\api\client.py", line 237, in _get
File "requests\sessions.py", line 543, in get
File "requests\sessions.py", line 530, in request
File "requests\sessions.py", line 643, in send
File "requests\adapters.py", line 439, in send
File "urllib3\connectionpool.py", line 670, in urlopen
File "urllib3\connectionpool.py", line 392, in _make_request
File "http\client.py", line 1255, in request
File "http\client.py", line 1301, in _send_request
File "http\client.py", line 1250, in endheaders
File "http\client.py", line 1010, in _send_output
File "http\client.py", line 950, in send
File "docker\transport\npipeconn.py", line 32, in connect
File "docker\transport\npipesocket.py", line 23, in wrapped
File "docker\transport\npipesocket.py", line 72, in connect
File "docker\transport\npipesocket.py", line 52, in connect
pywintypes.error: (2, 'CreateFile', 'Det går inte att hitta filen.')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "docker-compose", line 3, in <module>
File "compose\cli\main.py", line 81, in main
File "compose\cli\main.py", line 200, in perform_command
File "compose\cli\command.py", line 60, in project_from_options
File "compose\cli\command.py", line 152, in get_project
File "compose\cli\docker_client.py", line 41, in get_client
File "compose\cli\docker_client.py", line 170, in docker_client
File "docker\api\client.py", line 197, in __init__
File "docker\api\client.py", line 221, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: (2, 'CreateFile', 'Det går inte att hitta filen.')
[5308] Failed to execute script docker-compose
from easydiffusion.
Hi @ChrisAcrobat , I'm rolling back the server script, since I'm really not sure why it is causing problems. b860dbd
I will investigate this further.
I looked at your PR, thanks!
Can you please try the latest version and let me know if it still causes problems? Are you able to see the redirect notice at http://localhost:8000 and the actual UI at http://localhost:9000 ?
Thanks
from easydiffusion.
I made an reinstall, but no the problem remains.
What I think the problem is that the internal server still uses port 8000, that's why I changed the external port (9000) to redirect to the old internal port (8000) with #24. The change fixed my problem, but I not sure if that is a permanent or temporarily solution. Is port conflicts still a possibility? Was ages ago I read about Dockers internal network because I had a problem that I was trying to solve (but didn't 🙂).
from easydiffusion.
Thanks, one last try. Can you please update your docker-compose.yml
to this, and run docker-compose down
and then docker-compose up &
?
I suspect the old docker image (which started the main UI server at port 8000) is still being used. I've changed the service name, so it'll be forced to create a new image for it. Thanks!
version: '3.3'
services:
stability-ai-v2:
container_name: sd
ports:
- '5000:5000'
image: 'r8.im/stability-ai/stable-diffusion@sha256:be04660a5b93ef2aff61e3668dedb4cbeb14941e62a3fd5998364a32d613e35e'
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
stable-diffusion-ui-v2:
container_name: sd-ui
ports:
- '9000:9000'
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/app
depends_on:
- stability-ai-v2
stable-diffusion-old-port-redirect-v2:
container_name: sd-old-port-redirect
ports:
- '8000:8000'
build:
context: .
dockerfile: OldPortDockerfile
volumes:
- .:/app
networks:
default:
from easydiffusion.
And if required, can you please run docker stop sd sd-ui sd-old-port-redirect
and then docker rm sd sd-ui sd-old-port-redirect
? After that docker-compose up &
should run.
from easydiffusion.
The problem above might be that docker wasn't running. Was able to execute docker-compose up
after I opened Docker.
Anyway: Port 9000 still returns just ERR_EMPTY_RESPONSE
for me (not even a HTTP code like 404).
from easydiffusion.
I wonder if it's a firewall thing. For now, please use port 8000 like you did with your PR.
from easydiffusion.
Sure! No problem for me. 👍
I take it that http://localhost:9000/
is probably working as expected for everyone else, because otherwise more people should have complied about this.
from easydiffusion.
Just cloned and installed everything fresh and I get the same empty response.
I'm setup inside WSL so suspected some problem with that, but I get the same problem with curl inside WSL:
$ curl localhost:9000
curl: (52) Empty reply from server
I reverted to '9000:9000' to now it's working just fine - thanks!
from easydiffusion.
Thanks, I've pushed the change to keep port 9000:9000 and remove the port-redirect notice at 8000 (which seemed to be causing problems for some users).
from easydiffusion.
Hi @ChrisAcrobat Please reopen this issue if the latest version still fails to connect for you, thanks for your help! :)
from easydiffusion.
Related Issues (20)
- Nothing happens, I set the prompt and it does nothing. HOT 5
- Add stable video diffusion feature (img2vid)
- when you try to press the button - make image- it causes windows 10 to crash sistem and even when the calculation uses an processor INTELL PENTIUM CPU G 3220 @ 3.00GHz- crash sistem, NVIDIA GeForrce GTX 1080Ti
- incorrect file paths: 1)System Settings lists model path as: C:\EasyDiffusion\models\stable-diffusion, but actual path is: C:\EasyDiffusion\models\stable-diffusion\stable-diffusion.
- incorrect file paths: 1)System Settings lists model path as: 'C:\EasyDiffusion\models\stable-diffusion', but actual path is: 'C:\EasyDiffusion\models\stable-diffusion\stable-diffusion'.... 2)also after this: 'Error: Could not find the desired model RealESRGAN_x4plus.pth! Is it present in the C:\EasyDiffusion\models\stable-diffusion\realesrgan folder?'....I found the actual path to be: 'C:\EasyDiffusion\models\realesrgan'.... plus i had that scale up option toggled *off* when error occured. &btw, this is best install package out of the many i have used . first time no '--xformer, tensorrt errors' on my windows11 nvidia4070 w/ chrome Version 120.0.6099.217 (Official Build) (64-bit)
- EasyDiffusion will not run: ImportError: accelerate>=0.20.3 is required for a normal functioning of this module, but found accelerate==0.18.0. HOT 2
- idea for new features HOT 1
- out painting
- Upscaler tab? HOT 1
- A way to save prompts? HOT 6
- шибка: ошибка CUDA: образ ядра недоступен для выполнения на устройстве, сообщения об ошибках ядра CUDA могут асинхронно передаваться при каком-либо другом вызове API, поэтому приведенный ниже stacktrace может быть неверным. Для отладки рассмотрите возможность передачи CUDA_LAUNCH_BLOCKING = 1. Скомпилируйте с помощью `TORCH_USE_CUDA_DSA`, чтобы включить утверждения на стороне устройства.
- Option that each expanded batch gets a different random seed
- Lora improvements HOT 5
- Make Similar Images feature uses different values for Inference Steps and Guidance Scale HOT 5
- bzip is required, but installer happily ignores it
- Problem with Easy Diffusion, please help me
- Windows Installer Hangs
- Input type (c10::Half) and bias type (float) should be the same
- Add Openpose Editor
- This is for the pluggin ScaleUp, by Avidgamefan HOT 24
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easydiffusion.