Kilvoctu / aiyabot

A neat Discord bot for AUTOMATIC1111's Web UI
GNU General Public License v2.0
309 stars 76 forks source link

Running through Docker, bot is stuck on waiting for webui #201

Open myojin223 opened 1 year ago

myojin223 commented 1 year ago

Describe the bug
When running the bot through Docker, it takes a very long time to load and when it eventually does, it just constantly displays Waiting for Web UI at http://127.0.0.1:7860/... in the log. The bot also shows as offline in the discord server. When trying to run it through the batch file rather than using Docker, it errors out telling me I need to enable --api in the webui. That is enabled however, and the problem persists.


Environment


Console logs
Waiting for Web UI at http://127.0.0.1:7860/...

solareon commented 1 year ago

When you are running in docker the localhost is the docker container not the actual host of the docker container. Try specifying the address of the computer that is running the webui like 192.168.0.100:7860. If you try to visit http://<webui-ipaddress>:7860/info do you get anything? It should be a giant wall of text with info about your webui install.

@myojin223