[Bug]: It does not connect as a network device
Device model
ajazz akp05
Version / commit
deckbridge-v0.21.1
What happened?
Steps to reproduce
- Launch
- Initiate network connection
Diagnostics report
01:54:44.249 INFO [elgato] primary connected: 127.0.0.1
01:54:44.249 INFO [elgato] primary (Network Dock) connected
01:54:44.264 ERROR [elgato] socket error: ECONNRESET: connection reset by peer
01:54:44.264 WARN [elgato] connection closed with transport error (RST)
01:54:44.264 INFO [elgato] primary disconnected
01:54:44.827 INFO [elgato] primary connected: 127.0.0.1
01:54:44.827 INFO [elgato] primary (Network Dock) connected
01:54:44.841 ERROR [elgato] socket error: ECONNRESET: connection reset by peer
01:54:44.841 WARN [elgato] connection closed with transport error (RST)
01:54:44.841 INFO [elgato] primary disconnected
01:54:45.377 INFO [elgato] primary connected: 127.0.0.1
01:54:45.377 INFO [elgato] primary (Network Dock) connected
01:54:45.390 ERROR [elgato] socket error: ECONNRESET: connection reset by peer
01:54:45.390 WARN [elgato] connection closed with transport error (RST)
01:54:45.390 INFO [elgato] primary disconnected
01:54:45.954 INFO [elgato] primary connected: 127.0.0.1
01:54:45.954 INFO [elgato] primary (Network Dock) connected
01:54:45.968 ERROR [elgato] socket error: ECONNRESET: connection reset by peer
01:54:45.968 WARN [elgato] connection closed with transport error (RST)
01:54:45.968 INFO [elgato] primary disconnected
01:54:46.555 INFO [elgato] primary connected: 127.0.0.1
01:54:46.555 INFO [elgato] primary (Network Dock) connected
01:54:46.569 ERROR [elgato] socket error: ECONNRESET: connection reset by peer
01:54:46.569 WARN [elgato] connection closed with transport error (RST)
01:54:46.569 INFO [elgato] primary disconnected
Host OS
No response
Thanks for the report. The log shows Elgato Stream Deck software connecting to DeckBridge's network dock port (5343) and resetting the connection about 14 ms later, repeatedly. Nothing in the pasted lines says whether the AKP05 was detected, so we can't yet tell where this fails. The screenshot also didn't upload.
Could you send:
- Your OS and version, and your Elgato Stream Deck software version.
- The full output of deckbridge diagnose. It also lists what DeckBridge sees over USB.
- A log with debug logging on. Turn on "Debug logging" in the WebUI, restart DeckBridge, reproduce the problem, then attach the log.
- Whether the AKP05 shows as connected in the DeckBridge WebUI before you add the network dock in the Elgato software.
- Whether the Elgato software and DeckBridge run on the same machine. The log shows 127.0.0.1, so I assume they do.
The diagnostics report starts with a review notice. It includes your settings.json, so check it before posting.
Thanks for the report. I can reproduce this with Stream Deck software 7.6.1, so it's not specific to the AKP05. My Mirabox 293S paired fine on 7.6.0 and stopped pairing after I updated to 7.6.1.
// update: when I reinstalled Elgato app to previous 7.6.0 pairing started working (and it automatiaclly paired my remembered devices)
I added into README:
[!IMPORTANT] Use Elgato Stream Deck app 7.6.0. Version 7.6.1 closes the connection to DeckBridge right after it connects, so the deck never pairs (#257). If you already updated, reinstall 7.6.0 until a fix is released.
My latest finding is that, starting with version 7.6.1, the Elgato Stream Deck app blocks pairing on the same PC using:
- localhost IPs like: 127.0.0.1, 127.0.0.2, 127.0.0.x (not working in 7.6.1)
- LAN IP of itself, for example: 192.168.1.42 (not working in 7.6.1)
- Tailscale IP of itself: 100.x.x.x (not working in 7.6.1)
But pairing works when Elgato app (7.6.1) is running on another PC in LAN.
@Vallhant, A simple workaround for pairing DeckBridge with Elgato 7.6.1 on the same computer is to use one of the following:
- Another device on your LAN, such as a Raspberry Pi or another PC/server that can run DeckBridge in relay mode*
- A virtual machine, such as a lightweight Linux VM, running DeckBridge in relay mode*
* Relay mode
- is still in progress. I’ve tested it in a virtual machine, and it works. I still need to test it in Docker. I plan to make it available in the next release, which may be tomorrow or next week.
@Vallhant, thanks for the report, and sorry for the long wait. Your log matches a known problem, so this is not specific to the AKP05.
Cause: Elgato Stream Deck app 7.6.1 refuses a Network Dock on its own computer. It resets the connection right after it connects, for every address (127.0.0.1, your LAN IP, a Tailscale IP). App 7.6.0, or the app on a different computer than DeckBridge, still works.
Fix: update DeckBridge to v0.26.3 or newer (you reported v0.21.1). It has a Fix pairing wizard that offers the options that fit your system:
- Use Stream Deck app 7.6.0. This is the quickest. Install it over 7.6.1 and turn off automatic updates in Preferences > General. Your remembered devices pair again by themselves.
- Run a relay on another device (Raspberry Pi, another PC), or on your own computer inside WSL (Windows) or Apple container / OrbStack (Mac). Then add the relay's IP in the Stream Deck app as a Network Dock by IP.
Step by step: Elgato app 7.6.1 on the same computer
If it still fails after this, please tell us your OS and which option you tried. Then attach the output of deckbridge diagnose (check it first, it includes your settings.json). I'll keep this issue open until a version of the Elgato app accepts a local dock again.