Skip to content

Unable to rejoin after updated session #355

Description

@ozorical

Logs:

container@pterodactyl~ java -version
openjdk version "17.0.19" 2026-04-21
OpenJDK Runtime Environment Temurin-17.0.19+10 (build 17.0.19+10)
OpenJDK 64-Bit Server VM Temurin-17.0.19+10 (build 17.0.19+10, mixed mode, sharing)
container@pterodactyl~ java -Xms128M -Xmx250M -jar MCXboxBroadcastStandalone.jar
[11:54:06 INFO] Starting MCXboxBroadcast Standalone build 142 (git-master-e102e7c) for Bedrock 1.26.20 (975)
[11:54:07 INFO] [Primary Session] Starting SessionManager...
[11:54:14 INFO] [Primary Session] Successfully authenticated as JoinCrab (2535459415773959) with 785/2000 friends
[11:54:14 INFO] [Primary Session] Creating Xbox LIVE session...
[11:54:15 DEBUG] [Primary Session] RTA Websocket [null] subscribed: [1,1,0,0,{ "ConnectionId":"b2779ac0-91ca-447b-bfe9-753a97db20a5" }]
[11:54:15 DEBUG] [Primary Session] RTA Websocket [b2779ac0-91ca-447b-bfe9-753a97db20a5] subscribed: [1,2,0,1,null]
[11:54:15 INFO] [Primary Session] NetherNet Broadcaster started on ID: 2667261543315367301
[11:54:16 DEBUG] [Primary Session] RTA Websocket [b2779ac0-91ca-447b-bfe9-753a97db20a5] event: [3,0,{"ncid":"9d27a707-dc6e-4359-8756-dec5cde184f5","shoulderTaps":[{"timestamp":"2026-05-23T11:54:16.6595189Z","subscription":"bdd902bf-0928-462d-a235-2a00263ac8bc","resourceType":"mpsd/session","resource":"4fc10100-5f7a-4470-899b-280835760c07~minecraftlobby~1d7dcd77-8d4f-49c9-be26-5717f382a5a1","branch":"fc71fbf2-24f0-4f03-a341-9880b4b42958","changeNumber":2}]}]
[11:54:17 DEBUG] [Primary Session] Presence update successful, scheduling presence update in 300 seconds
[11:54:17 INFO] [Primary Session] Creation of Xbox LIVE session was successful!
container@daemon~ Server marked as running...
[11:54:47 DEBUG] [Primary Session] RTA Websocket [b2779ac0-91ca-447b-bfe9-753a97db20a5] event: [3,0,{"ncid":"d7d0fcb7-3fac-4656-a74f-54b454494b06","shoulderTaps":[{"timestamp":"2026-05-23T11:54:47.2529509Z","subscription":"bdd902bf-0928-462d-a235-2a00263ac8bc","resourceType":"mpsd/session","resource":"4fc10100-5f7a-4470-899b-280835760c07~minecraftlobby~1d7dcd77-8d4f-49c9-be26-5717f382a5a1","branch":"fc71fbf2-24f0-4f03-a341-9880b4b42958","changeNumber":3}]}]
[11:54:48 DEBUG] [Primary Session] Generated nonce for XUID 2535450462516636: 1119500741926a0d
[11:54:48 INFO] [Primary Session] Updated session!
[11:54:50 DEBUG] [Primary Session] RTA Websocket [b2779ac0-91ca-447b-bfe9-753a97db20a5] event: [3,0,{"ncid":"292289c2-c691-4f12-ba7e-a4e4ee4fec67","shoulderTaps":[{"timestamp":"2026-05-23T11:54:48.1224039Z","subscription":"bdd902bf-0928-462d-a235-2a00263ac8bc","resourceType":"mpsd/session","resource":"4fc10100-5f7a-4470-899b-280835760c07~minecraftlobby~1d7dcd77-8d4f-49c9-be26-5717f382a5a1","branch":"fc71fbf2-24f0-4f03-a341-9880b4b42958","changeNumber":6},{"timestamp":"2026-05-23T11:54:48.2856462Z","subscription":"e9dd591f-4577-4dc1-96d1-81a8009e5007","resourceType":"mpsd/session","resource":"4fc10100-5f7a-4470-899b-280835760c07~minecraftlobby~1d7dcd77-8d4f-49c9-be26-5717f382a5a1","branch":"fc71fbf2-24f0-4f03-a341-9880b4b42958","changeNumber":7}]}]
[11:54:52 INFO] [Primary Session] Transferred bedrock client xOzorical (2535450462516636) to target server.
[11:54:55 DEBUG] [Primary Session] RTA Websocket [b2779ac0-91ca-447b-bfe9-753a97db20a5] event: [3,0,{"ncid":"448763ae-21c8-467f-b5e5-c4b5fbf05db5","shoulderTaps":[{"timestamp":"2026-05-23T11:54:54.9202495Z","subscription":"358f8c8b-1e8f-48cd-a474-4ffb2883b5fd","resourceType":"mpsd/session","resource":"4fc10100-5f7a-4470-899b-280835760c07~minecraftlobby~1d7dcd77-8d4f-49c9-be26-5717f382a5a1","branch":"fc71fbf2-24f0-4f03-a341-9880b4b42958","changeNumber":8}]}]
[11:54:58 DEBUG] [Primary Session] RTA Websocket [b2779ac0-91ca-447b-bfe9-753a97db20a5] event: [3,0,{"ncid":"a1510694-f93d-491b-88f4-2da5ba2bb7d1","shoulderTaps":[{"timestamp":"2026-05-23T11:54:55.4038765Z","subscription":"358f8c8b-1e8f-48cd-a474-4ffb2883b5fd","resourceType":"mpsd/session","resource":"4fc10100-5f7a-4470-899b-280835760c07~minecraftlobby~1d7dcd77-8d4f-49c9-be26-5717f382a5a1","branch":"fc71fbf2-24f0-4f03-a341-9880b4b42958","changeNumber":9}]}]
[11:55:18 INFO] [Primary Session] Updated session!
[11:55:18 DEBUG] [Primary Session] RTA Websocket [b2779ac0-91ca-447b-bfe9-753a97db20a5] event: [3,0,{"ncid":"1461cad2-9a3c-48e7-b046-881977bd7591","shoulderTaps":[{"timestamp":"2026-05-23T11:55:18.7539458Z","subscription":"f0f784d7-927c-4819-ae8f-659f9d5bd82c","resourceType":"mpsd/session","resource":"4fc10100-5f7a-4470-899b-280835760c07~minecraftlobby~1d7dcd77-8d4f-49c9-be26-5717f382a5a1","branch":"fc71fbf2-24f0-4f03-a341-9880b4b42958","changeNumber":11}]}]
[11:55:49 INFO] [Primary Session] Updated session!
[11:55:49 DEBUG] [Primary Session] RTA Websocket [b2779ac0-91ca-447b-bfe9-753a97db20a5] event: [3,0,{"ncid":"f66bceea-404b-4406-bc25-59790a2ab4dd","shoulderTaps":[{"timestamp":"2026-05-23T11:55:49.0461139Z","subscription":"538846a4-1b25-44f0-a145-e0778b49cd56","resourceType":"mpsd/session","resource":"4fc10100-5f7a-4470-899b-280835760c07~minecraftlobby~1d7dcd77-8d4f-49c9-be26-5717f382a5a1","branch":"fc71fbf2-24f0-4f03-a341-9880b4b42958","changeNumber":12}]}]
[11:56:19 INFO] [Primary Session] Updated session!
[11:56:19 DEBUG] [Primary Session] RTA Websocket [b2779ac0-91ca-447b-bfe9-753a97db20a5] event: [3,0,{"ncid":"a4f24f5b-c0ec-461b-8607-289e2c4fe8ec","shoulderTaps":[{"timestamp":"2026-05-23T11:56:19.7273594Z","subscription":"9dfc6657-77c1-4d99-9a10-f88b71a39ede","resourceType":"mpsd/session","resource":"4fc10100-5f7a-4470-899b-280835760c07~minecraftlobby~1d7dcd77-8d4f-49c9-be26-5717f382a5a1","branch":"fc71fbf2-24f0-4f03-a341-9880b4b42958","changeNumber":13}]}]
[11:56:49 INFO] [Primary Session] Updated session!
[11:56:49 DEBUG] [Primary Session] RTA Websocket [b2779ac0-91ca-447b-bfe9-753a97db20a5] event: [3,0,{"ncid":"52b24636-6a85-4985-8ea3-d0a1b17d415b","shoulderTaps":[{"timestamp":"2026-05-23T11:56:49.9003854Z","subscription":"4070fb10-f382-4a84-a222-14a175cf48bb","resourceType":"mpsd/session","resource":"4fc10100-5f7a-4470-899b-280835760c07~minecraftlobby~1d7dcd77-8d4f-49c9-be26-5717f382a5a1","branch":"fc71fbf2-24f0-4f03-a341-9880b4b42958","changeNumber":14}]}]
[11:56:53 DEBUG] [Primary Session] RTA Websocket [b2779ac0-91ca-447b-bfe9-753a97db20a5] event: [3,0,{"ncid":"f608a00d-8d9e-47a9-97ab-094a5435a2e8","shoulderTaps":[{"timestamp":"2026-05-23T11:56:52.9863217Z","subscription":"a809741f-e800-4c26-a98a-bbfb119b3e98","resourceType":"mpsd/session","resource":"4fc10100-5f7a-4470-899b-280835760c07~minecraftlobby~1d7dcd77-8d4f-49c9-be26-5717f382a5a1","branch":"fc71fbf2-24f0-4f03-a341-9880b4b42958","changeNumber":15}]}]
[11:56:53 DEBUG] [Primary Session] Generated nonce for XUID 2535450462516636: ccf1402895eac0a6
[11:56:56 DEBUG] [Primary Session] RTA Websocket [b2779ac0-91ca-447b-bfe9-753a97db20a5] event: [3,0,{"ncid":"6eec9866-672a-471a-9049-a8b863b839bf","shoulderTaps":[{"timestamp":"2026-05-23T11:56:53.4317752Z","subscription":"a809741f-e800-4c26-a98a-bbfb119b3e98","resourceType":"mpsd/session","resource":"4fc10100-5f7a-4470-899b-280835760c07~minecraftlobby~1d7dcd77-8d4f-49c9-be26-5717f382a5a1","branch":"fc71fbf2-24f0-4f03-a341-9880b4b42958","changeNumber":17},{"timestamp":"2026-05-23T11:56:53.4317752Z","subscription":"5a42d593-3412-40b3-bb33-af73db2f13c6","resourceType":"mpsd/session","resource":"4fc10100-5f7a-4470-899b-280835760c07~minecraftlobby~1d7dcd77-8d4f-49c9-be26-5717f382a5a1","branch":"fc71fbf2-24f0-4f03-a341-9880b4b42958","changeNumber":18}]}]
[11:57:05 DEBUG] [Primary Session] RTA Websocket [b2779ac0-91ca-447b-bfe9-753a97db20a5] event: [3,0,{"ncid":"6a146144-bd31-49ac-a2d6-38a04dae1364","shoulderTaps":[{"timestamp":"2026-05-23T11:57:05.7994106Z","subscription":"5a42d593-3412-40b3-bb33-af73db2f13c6","resourceType":"mpsd/session","resource":"4fc10100-5f7a-4470-899b-280835760c07~minecraftlobby~1d7dcd77-8d4f-49c9-be26-5717f382a5a1","branch":"fc71fbf2-24f0-4f03-a341-9880b4b42958","changeNumber":19}]}]
[11:57:08 DEBUG] [Primary Session] RTA Websocket [b2779ac0-91ca-447b-bfe9-753a97db20a5] event: [3,0,{"ncid":"a786a227-981e-42ab-b779-583d2465d9c2","shoulderTaps":[{"timestamp":"2026-05-23T11:57:06.1822601Z","subscription":"5a42d593-3412-40b3-bb33-af73db2f13c6","resourceType":"mpsd/session","resource":"4fc10100-5f7a-4470-899b-280835760c07~minecraftlobby~1d7dcd77-8d4f-49c9-be26-5717f382a5a1","branch":"fc71fbf2-24f0-4f03-a341-9880b4b42958","changeNumber":20}]}]

Config:

# Core session settings
session:
  # The amount of time in seconds to update session information
  # Warning: This can be no lower than 20 due to Xbox rate limits
  update-interval: 30

  # Should we query the bedrock server to sync the session information
  query-server: true

  # This uses checker.geysermc.org for querying if the native ping fails
  # This can be useful in the case of docker networks or routing problems causing the native ping to fail
  web-query-fallback: false

  # Fallback to config values if all other server query methods fail
  config-fallback: false

  # The data to broadcast over xbox live, this is the default if querying is enabled
  session-info:
    # The host name to broadcast
    host-name: CrabStudios

    # The world name to broadcast
    world-name: CrabSMP | S9

    # The current number of players
    players: 0

    # The maximum number of players
    max-players: 100

    # The IP address of the server
    ip: donutsmp.net

    # The port of the server
    port: 19132

# Friend/follower list sync settings
friend-sync:
  # The amount of time in seconds to update session information
  # Warning: This can be no lower than 20 due to Xbox rate limits
  update-interval: 60

  # Should we automatically follow people that follow us
  auto-follow: true

  # Should we automatically unfollow people that no longer follow us
  auto-unfollow: true

  # Should we automatically send an invite when a friend is added
  initial-invite: true

  # Friend expiry settings
  expiry:
    # Should we unfriend people that haven't joined the server in a while
    enabled: true

    # The amount of time in days before a friend is considered expired
    days: 100

    # How often to check in seconds for expired friends
    check: 1800

# Notification settings (e.g., Slack/Discord webhook)
notifications:
  # Should we send a message to a slack webhook when the session is updated
  enabled: false

  # The webhook url to send the message to
  # If you are using discord add "/slack" to the end of the webhook url
  webhook-url: ''

  # The message to send when the session is expired and needs to be updated
  session-expired-message: |-
    <!here> Xbox Session expired, sign in again to update it.

    Use the following link to sign in: %s
    Enter the code: %s

  # The message to send when a friend has restrictions in place that prevent them from being friends with our account
  friend-restriction-message: '%s (%s) has restrictions in place that prevent them from being friends with our account.'

# Enable debug logging
debug-mode: true

# Suppresses "Updated session!" log into debug
suppress-session-update-message: false

# Do not change!
config-version: 2

What happens:
When first starting the broadcaster as a standalone, the world starts up just fine, but after the session updates a couple of times, the client will say 'connecting to multiplayer game', and then say that 'Your client is having trouble connecting to multiplayer services'.

Video:
https://cdn.discordapp.com/attachments/1507409606408667146/1507472441285279744/VID_20260522_215336.mp4?ex=6a12af5d&is=6a115ddd&hm=22d51e49c6d875d4442dda0edfdaf8f8e866f5fb67a33184b195392b4c41e426&

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions