WebODM Lightning Connection Error

BL

Hi all,
I’ve just installed WebODM 3.2.3 and I’m having trouble connecting to WebODM Lightning (spark1.webodm.net).

I’m getting this error when trying to hit the Lightning API -
Connection error: HTTPSConnectionPool(host='spark1.webodm.net', port=443):
Max retries exceeded with url: /info?token=...
(Caused by NewConnectionError: Failed to establish a new connection:
[Errno 11002] Lookup timed out)

What I’ve checked so far -

  • DNS resolves correctly (nslookup spark1.webodm.net works)
  • The endpoint is reachable in a browser (returns HTTP 401, which seems expected without a token)
  • Doesn’t appear to be a local network, proxy, or firewall issue (tested inside and outside our network)

Questions -

  • Is there currently an issue with WebODM Lightning?
  • Is spark1.webodm.net working for others?
  • Or is there something I need to configure for the Lightning node in WebODM 3.2.3?

Appreciate any help.
Cheers,
Ben

13 Replies

pierotofy

If you open the spark1 URL from the web browser with a token, does it work? (Go to https://webodm.net/dashboard -- Direct Node Upload ). Does the interface load?

pierotofy

Also, is your network using IPv6? I've just fixed the records for IPv6, maybe that was the problem

BL OP

Thanks — I checked both of those.
If I open the spark1 URL in a browser with the [redacted]

it works and returns JSON.
Also, the interface loads fine via Direct Node Upload on the dashboard.
My network doesn’t appear to be using IPv6 (no IPv6 in ipconfig and IPv6 ping fails).

👍 1
pierotofy

Connection error: HTTPSConnectionPool(host='spark1.webodm.net', port=443): this happens when exactly?

pierotofy

(got it, removed it so the token is not displayed)

👍 1
pierotofy

do you run AV/security software on the machine that has issues?

pierotofy Best answer

I've just released 3.2.4 (https://webodm.org/download) which includes a built-in DNS resolution fallback mechanism. The key problem is that the DNS resolver on the machine is for some reason dropping the request to resolve spark1.webodm.net, maybe because there's lots of connections happening in parallel, maybe because it can't keep up with the requests, or for some other reason. Either way, it's a problem with the DNS resolver (or security software in the middle between your computer and the DNS resolver) and the definitive way to resolve it is to fix the DNS resolver, but updating to 3.2.4 will enable the new DNS fallback mechanism which should allow connection to Lightning even with a misconfigured and broken DNS resolver in the loop. Try it out, let me know if it works 🙏

👍 1
BL OP

I’ve updated to 3.2.4 and I’m still getting a failure at “Sending images to processing node.” I’ve tested on a completely separate private laptop and a different private network, and I get the exact same behaviour.

DNS seems OK from basic testing — nslookup spark1.webodm.net consistently returns an IP.

No VPN, just standard Windows Security. It fails specifically at the “Sending images to processing node” step every time when using Lightning, but processing works fine with the local node.

Let me know if there are any logs or debug steps I can provide.
thanks, Ben

pierotofy

I'm out of ideas; maybe Windows security or policies blocking the connection?

BL OP

yeah me too. I have tried with antivirus and firewall turned off. Will have to go back to v2.8.1 which was working fine. I have tried rerunning projects which worked on that version and no luck. Thanks for looking into it!

pierotofy

Try the latest version (3.2.5) which should fix this problem

BL OP

thanks, 3.2.5 working perfectly. Really appreciate the help and new features!

🎉 1

Need more help?

This discussion happened in the WebODM community Discord. Join and ask your own question.

Join View Original Thread

This page mirrors a public discussion from the WebODM Discord. How to request a removal.