Lavalink starts on port 4455 #6555

Closed
opened 2025-04-10 13:38:25 +02:00 by Czekoloczek · 2 comments
Czekoloczek commented 2025-04-10 13:38:25 +02:00 (Migrated from github.com)

What Red version are you using?

3.5.18

What were you trying to do?

I tried to enable audio plugin

What did you expect to happen?

Lavalink starts on port 2333 and the bot tries to connect to it on port 2333

What actually happened?

Lavalink starts on port 4455 and the bot tries to connect to it on port 2333

How can we reproduce this error?

  1. Install the bot
  2. .load audio

Anything else?

I'm using the bot on pelican panel

Logs:
spring.log

[11:32:24] INFO     [red.Audio.manager] Managed Lavalink node startup command: /usr/bin/java -Xms64M -Xmx11G -jar /home/container/.local/share/Red-DiscordBot/data/pterodactyl/cogs/Audio/Lavalink.jar
           INFO     [red.Audio.manager] Managed Lavalink node started. PID: 71
           INFO     [red.Audio.manager] Waiting for Managed Lavalink node to be ready
[11:32:30] INFO     [red.Audio.manager] Managed Lavalink node is ready to receive requests.
           INFO     [red.Audio.WS.LLNode] Lavalink WS connecting to ws://localhost:2333 with headers {'Authorization': 'youshallnotpass', 'User-Id': '1287089668520935424', 'Num-Shards': '1', 'Client-Name': 'Red-Lavalink/0.11.0', 'Resume-Key': 'Red-Core-Audio-1287089668520935424-pterodactyl'}
           WARNING  [red.Audio.WS.LLNode] Failed connect attempt 1, retrying in 0.512497189499586
           WARNING  [red.Audio.WS.LLNode] Failed connect attempt 2, retrying in 1.7457414014197026
[11:32:32] WARNING  [red.Audio.WS.LLNode] Failed connect attempt 3, retrying in 7.24529223083479
[11:32:39] WARNING  [red.Audio.WS.LLNode] Failed connect attempt 4, retrying in 13.160995630929857
[11:32:52] WARNING  [red.Audio.WS.LLNode] Failed connect attempt 5, retrying in 15.136713394481216
[11:33:07] INFO     [red.Audio.WS.LLNode] Shutdown Lavalink WS.
           WARNING  [red.cogs.Audio.cog.Tasks.lavalink] Connecting to Lavalink node timed out, retrying...
[11:33:08] INFO     [red.Audio.WS.LLNode] Lavalink WS connecting to ws://localhost:2333 with headers {'Authorization': 'youshallnotpass', 'User-Id': '1287089668520935424', 'Num-Shards': '1', 'Client-Name': 'Red-Lavalink/0.11.0', 'Resume-Key': 'Red-Core-Audio-1287089668520935424-pterodactyl'}
           WARNING  [red.Audio.WS.LLNode] Failed connect attempt 1, retrying in 0.8481240004360093
[11:33:09] WARNING  [red.Audio.WS.LLNode] Failed connect attempt 2, retrying in 1.0251642833171237
[11:33:10] WARNING  [red.Audio.WS.LLNode] Failed connect attempt 3, retrying in 2.6479152784488384
[11:33:13] WARNING  [red.Audio.WS.LLNode] Failed connect attempt 4, retrying in 15.358417645426359
[11:33:28] WARNING  [red.Audio.WS.LLNode] Failed connect attempt 5, retrying in 13.19384400276435
[11:33:41] INFO     [red.Audio.WS.LLNode] Shutdown Lavalink WS.```
### What Red version are you using? 3.5.18 ### What were you trying to do? I tried to enable audio plugin ### What did you expect to happen? Lavalink starts on port 2333 and the bot tries to connect to it on port 2333 ### What actually happened? Lavalink starts on port 4455 and the bot tries to connect to it on port 2333 ### How can we reproduce this error? 1. Install the bot 2. `.load audio` ### Anything else? I'm using the bot on pelican panel Logs: [spring.log](https://github.com/user-attachments/files/19683970/spring.log) ```pelican@RedBot ~ Server marked as running... [11:32:24] INFO [red.Audio.manager] Managed Lavalink node startup command: /usr/bin/java -Xms64M -Xmx11G -jar /home/container/.local/share/Red-DiscordBot/data/pterodactyl/cogs/Audio/Lavalink.jar INFO [red.Audio.manager] Managed Lavalink node started. PID: 71 INFO [red.Audio.manager] Waiting for Managed Lavalink node to be ready [11:32:30] INFO [red.Audio.manager] Managed Lavalink node is ready to receive requests. INFO [red.Audio.WS.LLNode] Lavalink WS connecting to ws://localhost:2333 with headers {'Authorization': 'youshallnotpass', 'User-Id': '1287089668520935424', 'Num-Shards': '1', 'Client-Name': 'Red-Lavalink/0.11.0', 'Resume-Key': 'Red-Core-Audio-1287089668520935424-pterodactyl'} WARNING [red.Audio.WS.LLNode] Failed connect attempt 1, retrying in 0.512497189499586 WARNING [red.Audio.WS.LLNode] Failed connect attempt 2, retrying in 1.7457414014197026 [11:32:32] WARNING [red.Audio.WS.LLNode] Failed connect attempt 3, retrying in 7.24529223083479 [11:32:39] WARNING [red.Audio.WS.LLNode] Failed connect attempt 4, retrying in 13.160995630929857 [11:32:52] WARNING [red.Audio.WS.LLNode] Failed connect attempt 5, retrying in 15.136713394481216 [11:33:07] INFO [red.Audio.WS.LLNode] Shutdown Lavalink WS. WARNING [red.cogs.Audio.cog.Tasks.lavalink] Connecting to Lavalink node timed out, retrying... [11:33:08] INFO [red.Audio.WS.LLNode] Lavalink WS connecting to ws://localhost:2333 with headers {'Authorization': 'youshallnotpass', 'User-Id': '1287089668520935424', 'Num-Shards': '1', 'Client-Name': 'Red-Lavalink/0.11.0', 'Resume-Key': 'Red-Core-Audio-1287089668520935424-pterodactyl'} WARNING [red.Audio.WS.LLNode] Failed connect attempt 1, retrying in 0.8481240004360093 [11:33:09] WARNING [red.Audio.WS.LLNode] Failed connect attempt 2, retrying in 1.0251642833171237 [11:33:10] WARNING [red.Audio.WS.LLNode] Failed connect attempt 3, retrying in 2.6479152784488384 [11:33:13] WARNING [red.Audio.WS.LLNode] Failed connect attempt 4, retrying in 15.358417645426359 [11:33:28] WARNING [red.Audio.WS.LLNode] Failed connect attempt 5, retrying in 13.19384400276435 [11:33:41] INFO [red.Audio.WS.LLNode] Shutdown Lavalink WS.```
Czekoloczek commented 2025-04-10 13:41:53 +02:00 (Migrated from github.com)

Never mind, I've changed the port in the allocation to 2333, and it's working now

Never mind, I've changed the port in the allocation to 2333, and it's working now
japandotorg commented 2025-04-10 16:43:31 +02:00 (Migrated from github.com)

@Czekoloczek you (actually for everyone) should consider joining the official redbot server in the future for queries like this.

@Czekoloczek you (actually for everyone) should consider joining the [official redbot server](https://discord.gg/red) in the future for queries like this.
Sign in to join this conversation.
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot#6555
No description provided.