Skip to content

Lavalink starts on port 4455 #6555

Closed
Closed
@Czekoloczek

Description

@Czekoloczek

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.```

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Needs TriageThis has not been labeled or discussed for handling yet.Type: BugUnexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions