mirror of
https://github.com/games-on-whales/wolf.git
synced 2026-10-15 21:12:08 +00:00
[GH-ISSUE #484] [Feature Request] Allow Wolf API endpoint "/api/v1/sessions/add" to generate a random "client_id" or a "session_id" #294
Labels
No labels
🧠 1 - 🤖 999
AMD
bug
bug
cannot reproduce
documentation
duplicate
easy
enhancement
enhancement
enhancement
fixed?
fixed?
good first issue
hard
help wanted
Intel
invalid
LXC
medium
moonlight-protocol
Multi GPU
nixos
not a bug
nvidia
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/wolf#294
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @axolotlite on GitHub (Aug 19, 2026).
Original GitHub issue: https://github.com/games-on-whales/wolf/issues/484
Originally assigned to: @axolotlite on GitHub.
The function endpoint_StreamSessionAdd validates the client_id with moonlight paired devices in wolf, to use it as a id when creating a session to join / leave lobbies.
This means that, for a session to be created, the user must do the pairing process directly with wolf through moonlight.
If we don't specify the client_id during the API call, wolf will assign a default client_id for any session that isn't created from a wolf paired client.
Example API Call:
example client_id:
6142509188972423790This client_id is generated on every session, meaning there are no unique session_ids, they all share the same session_id(client_id) 6142509188972423790.
This causes an issue with Fenrir's moonlight-proxy, which acts as middle man between all users and all wolf instances, any user session created by the moonlight-proxy will have the same client_id/session_id, so if one user disconnects from their session or lobby, this will cause all users on the same wolf instance to disconnect as well.
Requested Changes
Change the generated dummy id to always be randomly generated so we can have unique session_ids for joining/leaving lobbies.