Skip to content

Can't connect to remote back end #553

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
scottdelly opened this issue Jan 27, 2025 · 2 comments
Closed

Can't connect to remote back end #553

scottdelly opened this issue Jan 27, 2025 · 2 comments
Labels
Bug Something isn't working

Comments

@scottdelly
Copy link

Expected Behavior

I'm usually able to connect to my remote back end, but after updating today both local and remote today, I can't connect

Actual Behavior

The backed errored out. I was able to workaround by downgrading both versions to 0.9.4-Beta, after downgrading local, it still had the issue, but after downgrading both, it was able to connect

Steps to Reproduce

Have local server with nothing on it, and remote server with models and GPU. Have both at top of 'master' and try to connect from local to remote backend

Debug Logs

2025-01-27 22:54:06.226 [Init] === SwarmUI v0.9.4.1 Starting at 2025-01-27 22:54:06 ===
2025-01-27 22:54:06.387 [Init] Prepping extension: Quaggles.Extensions.FaceTools.FaceToolsExtension...
2025-01-27 22:54:06.389 [Init] Prepping extension: Quaggles.Extensions.AdaptiveProjectedGuidance.AdaptiveProjectedGuidanceExtension...
2025-01-27 22:54:06.389 [Init] Prepping extension: SwarmUI.Builtin_ScorersExtension.ScorersExtension...
2025-01-27 22:54:06.390 [Init] Prepping extension: SwarmUI.Builtin_ImageBatchToolExtension.ImageBatchToolExtension...
2025-01-27 22:54:06.390 [Init] Prepping extension: SwarmUI.Builtin_GridGeneratorExtension.GridGeneratorExtension...
2025-01-27 22:54:06.390 [Init] Prepping extension: SwarmUI.Builtin_DynamicThresholding.DynamicThresholdingExtension...
2025-01-27 22:54:06.391 [Init] Prepping extension: SwarmUI.Builtin_ComfyUIBackend.ComfyUIBackendExtension...
2025-01-27 22:54:06.391 [Init] Prepping extension: SwarmUI.Builtin_AutoWebUIExtension.AutoWebUIBackendExtension...
2025-01-27 22:54:06.522 [Init] Parsing command line...
2025-01-27 22:54:06.524 [Init] Loading settings file...
2025-01-27 22:54:06.584 [Init] Re-saving settings file...
2025-01-27 22:54:06.633 [Init] Applying command line settings...
2025-01-27 23:01:33.467 [Debug] [Load Time] Initial settings load took 0.28s (0.28s from start)
2025-01-27 22:54:06.690 [Init] Current git commit marked as date 2025-01-26 23:39:18
2025-01-27 22:54:06.700 [Init] CPU Cores: 32 | RAM: 15.60 GiB total, 14.95 GiB available, 0 B virtual, -16753172480 B swap
2025-01-27 23:01:33.507 [Debug] [Load Time] Extension PreInit took 0.04s (0.32s from start)
2025-01-27 22:54:06.741 [Init] Prepping options...
2025-01-27 23:01:33.717 [Debug] [Load Time] Prep Objects took 0.21s (0.53s from start)
2025-01-27 23:01:33.718 [Debug] [Load Time] Web PreInit took 0s (0.53s from start)
2025-01-27 23:01:33.748 [Debug] [Load Time] Extensions Init took 0.03s (0.56s from start)
2025-01-27 23:01:33.749 [Debug] [Load Time] Prep Utils took 0s (0.56s from start)
2025-01-27 22:54:07.112 [Init] Swarm is up to date! You have version 0.9.4.1, and 0.9.4.0-Beta is the latest.
2025-01-27 23:01:33.809 [Debug] [Load Time] Languages load took 0.06s (0.62s from start)
2025-01-27 22:54:07.236 [Init] Loading models list...
2025-01-27 23:01:33.815 [Debug] Have 0 Stable-Diffusion models.
2025-01-27 23:01:33.815 [Debug] Have 0 VAE models.
2025-01-27 23:01:33.815 [Debug] Have 0 LoRA models.
2025-01-27 23:01:33.816 [Debug] Have 0 Embedding models.
2025-01-27 23:01:33.816 [Debug] Have 0 ControlNet models.
2025-01-27 23:01:33.816 [Debug] Have 0 ClipVision models.
2025-01-27 23:01:33.818 [Debug] [Load Time] Model listing took 0.01s (0.63s from start)
2025-01-27 23:01:33.823 [Debug] [Load Swarm-API-Backend #3] Waiting to load...
2025-01-27 22:54:07.252 [Init] Loading backends...
2025-01-27 23:01:33.824 [Debug] [Load Swarm-API-Backend #8] Waiting to load...
2025-01-27 22:54:07.254 [Init] Loading backends from file...
2025-01-27 23:01:33.826 [Debug] [Load Swarm-API-Backend #8] Will now load...
2025-01-27 23:01:33.828 [Debug] [Load Time] Backends took 0.01s (0.64s from start)
2025-01-27 22:54:07.260 [Init] Initializing backend #8 - Swarm-API-Backend...
2025-01-27 23:01:33.833 [Debug] [Load Time] API took 0.01s (0.64s from start)
2025-01-27 22:54:07.261 [Init] Prepping API...
2025-01-27 23:01:33.888 [Debug] [Load Time] [Web] WebApp builder prep took 0.05s (0.05s from start)
2025-01-27 22:54:07.267 [Init] Prepping webserver...
2025-01-27 22:54:07.272 [Init] Backend request handler loop ready...
2025-01-27 23:01:33.962 [Debug] [Load Time] [Web] WebApp build took 0.07s (0.12s from start)
2025-01-27 23:01:33.964 [Debug] [Load Time] [Web] exception handler took 0s (0.13s from start)
2025-01-27 23:01:33.964 [Debug] [Load Time] [Web] StartStop handler took 0s (0.13s from start)
2025-01-27 23:01:33.964 [Debug] [Load Time] [Web] static files took 0s (0.13s from start)
2025-01-27 23:01:34.082 [Debug] [Load Time] [Web] core use calls took 0.12s (0.24s from start)
2025-01-27 23:01:34.087 [Debug] [Load Time] [Web] core maps took 0.01s (0.25s from start)
2025-01-27 23:01:34.090 [Debug] [Load Time] [Web] end took 0s (0.25s from start)
2025-01-27 22:54:07.951 [Init] Scan for web extensions...
2025-01-27 23:01:34.090 [Debug] [Load Time] Web prep took 0.26s (0.9s from start)
2025-01-27 23:01:34.090 [Debug] [Load Time] Extensions pre-launch took 0s (0.9s from start)
2025-01-27 22:54:08.039 [Init] Readying extensions for launch...
2025-01-27 22:54:08.040 [Init] Launching server...
2025-01-27 23:01:34.166 [Debug] [Load Time] Web launch took 0.08s (0.97s from start)
2025-01-27 22:54:08.042 [Init] Starting webserver on http://0.0.0.0:7801
2025-01-27 23:01:34.981 [Debug] [Load Swarm-API-Backend #8] Load failed, will retry...
2025-01-27 22:54:08.179 [Init] Program is running.
2025-01-27 23:01:37.827 [Debug] [Load Swarm-API-Backend #8] Will now load...
2025-01-27 22:54:08.641 [Error] Error #1 while initializing backend #8 - Swarm-API-Backend - will retry
2025-01-27 22:54:11.261 [Init] Initializing backend #8 - Swarm-API-Backend...
2025-01-27 23:01:38.208 [Debug] [Load Swarm-API-Backend #8] Load failed, will retry...
2025-01-27 23:01:39.208 [Debug] [Load Swarm-API-Backend #8] Will now load...
2025-01-27 22:54:12.021 [Error] Error #2 while initializing backend #8 - Swarm-API-Backend - will retry
2025-01-27 22:54:13.022 [Init] Initializing backend #8 - Swarm-API-Backend...
2025-01-27 23:01:39.421 [Debug] [Load Swarm-API-Backend #8] Load failed, will retry...
2025-01-27 23:01:40.422 [Debug] [Load Swarm-API-Backend #8] Will now load...
2025-01-27 22:54:13.938 [Error] Error #3 while initializing backend #8 - Swarm-API-Backend - will retry
2025-01-27 22:54:14.939 [Init] Initializing backend #8 - Swarm-API-Backend...
2025-01-27 22:54:15.364 [Error] Final error (4) while initializing backend #8 - Swarm-API-Backend, giving up: System.ArgumentNullException: Value cannot be null. (Parameter 'value')
at Newtonsoft.Json.Utilities.ValidationUtils.ArgumentNotNull(Object value, String parameterName)
at Newtonsoft.Json.Linq.Extensions.Value[T,U](IEnumerable1 value) at Newtonsoft.Json.Linq.Extensions.Value[U](IEnumerable1 value)
at SwarmUI.Backends.SwarmSwarmBackend.ValidateAndBuild() in /root/SwarmUI/src/Backends/SwarmSwarmBackend.cs:line 113
at SwarmUI.Backends.SwarmSwarmBackend.Init() in /root/SwarmUI/src/Backends/SwarmSwarmBackend.cs:line 355
at SwarmUI.Backends.SwarmSwarmBackend.Init() in /root/SwarmUI/src/Backends/SwarmSwarmBackend.cs:line 389
at SwarmUI.Backends.BackendHandler.LoadBackendDirect(T2IBackendData data) in /root/SwarmUI/src/Backends/BackendHandler.cs:line 496

Other

No response

@scottdelly scottdelly added the Bug Something isn't working label Jan 27, 2025
mcmonkey4eva added a commit that referenced this issue Jan 27, 2025
@mcmonkey4eva
Copy link
Member

Oop, my bad, not sure how I missed that -- fixed

@scottdelly
Copy link
Author

Works now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants