Skip to content
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

UpdateMode packet - invalid size. OpenRGB 0.9.1 #18

Open
welpawel opened this issue Oct 23, 2024 · 1 comment
Open

UpdateMode packet - invalid size. OpenRGB 0.9.1 #18

welpawel opened this issue Oct 23, 2024 · 1 comment
Labels
question Further information is requested

Comments

@welpawel
Copy link

My hardware isn't supported in stable OpenRGB build 0.9, therefore i installed 0.9.1 (Git Commit ID 7dcdef28c86122ab4fd446a1d1fa584c59df98ca / 2024-10-20).

Homebridge-openrgb successfully connects to SDK server and recognizes accessories, however I can't control any of them.

It works flawlessly with 0.9.

I know it looks like a problem with OpenRGB, not homebridge-openrgb, but honestly, I have no clue and I want to let you know that your plugin might not be compatible with future versions of OpenRGB.

I apologize for any inaccuracies. This is my first support request on GitHub, and I'm not familiar with it. Thanks in advance for your support and understanding.

homebridge-openrgb logs:

[10/23/2024, 7:12:10 AM] [OpenRGB] Restarting child bridge...
[10/23/2024, 7:12:10 AM] Got SIGTERM, shutting down child bridge process...
[10/23/2024, 7:12:15 AM] [OpenRGB] Child bridge process ended
[10/23/2024, 7:12:15 AM] [OpenRGB] Process Ended. Code: 143, Signal: null
[10/23/2024, 7:12:22 AM] [OpenRGB] Restarting Process...
[10/23/2024, 7:12:22 AM] [OpenRGB] Launched child bridge with PID 10982
[10/23/2024, 7:12:22 AM] Registering platform 'homebridge-openrgb.OpenRgbPlatform'
[10/23/2024, 7:12:22 AM] [OpenRGB] Loaded homebridge-openrgb v1.4.3 child bridge successfully
[10/23/2024, 7:12:22 AM] Loaded 3 cached accessories from cachedAccessories.0EB657827B6C.
[10/23/2024, 7:12:22 AM] [OpenRGB] Loading accessory from cache: ASRock B450M Pro4-F
[10/23/2024, 7:12:22 AM] [OpenRGB] Loading accessory from cache: ZOTAC GAMING GeForce RTX 4070 Ti Trinity OC
[10/23/2024, 7:12:22 AM] [OpenRGB] Loading accessory from cache: Keychron Gaming Keyboard 1
[10/23/2024, 7:12:22 AM] Homebridge v1.8.4 (HAP v0.12.2) (OpenRGB) is running on port 42633.
[10/23/2024, 7:12:22 AM] 

OpenRGB logs:

[Info:] NetworkServer: Network server started
[Info:] NetworkServer: Network connection thread started on port 6742
[Info:] NetworkServer: Network server started
[ERROR:] NetworkServer: recv_select failed receiving magic, closing listener
[Info:] NetworkServer: Closing server connection: 192.168.1.50
[Info:] NetworkServer: Network server started
[ERROR:] NetworkServer: UpdateMode packet has invalid size. Packet size: 64, Data size: 60
[Info:] NetworkServer: Closing server connection: 192.168.1.50
[Info:] NetworkServer: Network server started
[ERROR:] NetworkServer: recv_select failed receiving magic, closing listener

Plugin Config:

{
    "name": "OpenRGB",
    "servers": [
        {
            "name": "homebridge",
            "host": "xxx.local",
            "port": 6742
        }
    ],
    "discoveryInterval": 60,
    "preserveDisconnected": false,
    "suppressConnectionErrors": false,
    "_bridge": {
        "username": "0E:A6:D3:59:DD:F9",
        "port": 41702
    },
    "platform": "OpenRgbPlatform"
}

Environment:

  • Plugin Version: 1.4.3
  • Homebridge Version: 1.8.4
  • Node.js Version: 20.18.0
  • NPM Version: 10.8.2
  • Operating System: Ubuntu Focal (20.04.5 LTS)
@welpawel welpawel added the question Further information is requested label Oct 23, 2024
@welpawel
Copy link
Author

Update on this issue from OpenRGB community at Discord:

It's not an OpenRGB issue and needs to be fixed in the downstream project. Essentially it needs to update the packet it's sending as it's not including the size of the packet payload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant