ImDarkTom / ComfyUIMini

A mobile-friendly WebUI to run ComfyUI workflows.
GNU Affero General Public License v3.0
167 stars 6 forks source link

Secure connection. #14

Open FooleanBool opened 5 days ago

FooleanBool commented 5 days ago

Hello again :)

I've been trying to reverse proxy with nginx, but am having problems with websockets. I can connect and populate the default workflow when I access from my laptop, but when I use my mobile (GrapheneOS & Vanadium) the form does not populate.

On my laptop, the form populates, but I get an error "Unknown WebSocket error when generating image. Check console for more information." On my mobile, I just get the generate button and the stuff below it - the form doesn't show.

I have tried a few different nginx configs but always with the same error. I can access the server over WAN using http:// so nginx is working fine for that. I can also access comfyui and openwebui using https:// and it runs with no problems.

Do you have any ideas for me?

I recognise that it is more of a webserver issue than your app, but I would love to secure it so I can access it from WAN.

Thanks for your time and consideration.

ImDarkTom commented 15 hours ago

I'm afraid I won't be able to help much since I dont have any experience with nginx, what does the console output say?