Giter Club home page Giter Club logo

heroku-lavalink's Introduction

About me

  • πŸ”­ CS Student
  • πŸ€– I make problem solving bots
  • ⭐ Mostly use Javascript, Python, C++

heroku-lavalink's People

Contributors

dependabot[bot] avatar karyeet avatar wizzygeek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

heroku-lavalink's Issues

read ECONNRESET

Unfortunately, i can't use the server. There are no errors during bootstrap but when I tried connecting my lava manager (I use erela.js btw), it shows this error:

Node "disgusting-bot.herokuapp.com" encountered an error: read ECONNRESET.

is there any way to fix this?

Getting error

2021-04-03T16:39:48.302058+00:00 heroku[web.1]: Starting process with command node bootstrap.js 2021-04-03T16:39:51.830074+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them. 2021-04-03T16:39:51.830446+00:00 app[web.1]: bash: node: command not found 2021-04-03T16:39:51.901243+00:00 heroku[web.1]: Process exited with status 127 2021-04-03T16:39:51.977460+00:00 heroku[web.1]: State changed from starting to crashed

Error on One Click Heroku deploy

Since this evening, I've been getting the following error in Heroku logs:

`2021-04-09T21:10:40.492566+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.

2021-04-09T21:10:40.656931+00:00 app[web.1]: Fetching latest Lavalink.jar url...

2021-04-09T21:10:41.220446+00:00 app[web.1]: Error occured when fetching latest release url: TypeError: Cannot read property 'browser_download_url' of undefined

2021-04-09T21:10:41.323897+00:00 heroku[web.1]: Process exited with status 0`

Error R14, Memory Exceeded by 117%

Running it for an estimated 24 hours now, and Heroku fired an error, apparently I've exceeded the maximum RAM limit

Deployment Method:

  • "DEPLOY TO HEROKU"
  • Yeah that's about it

Expected behavior
For it to just, work

Screenshots
image

Logs
2022-04-08T11:13:08.348076+00:00 heroku[web.1]: Process running mem=610M(117.6%)
2022-04-08T11:13:08.350397+00:00 heroku[web.1]: Error R14 (Memory quota exceeded)
2022-04-08T11:13:29.837862+00:00 heroku[web.1]: Process running mem=610M(117.6%)
2022-04-08T11:13:29.840113+00:00 heroku[web.1]: Error R14 (Memory quota exceeded)
2022-04-08T11:13:50.042425+00:00 heroku[web.1]: Process running mem=610M(117.6%)
2022-04-08T11:13:50.140000+00:00 heroku[web.1]: Error R14 (Memory quota exceeded)

Lavalink server shutting down when left idle for 15 minutes

Whenever the server is left idle for more than 15 minutes, it shuts down and gives this error
2021-05-11T18:18:43.747853+00:00 app[web.1]: 2021-05-11 18:18:43.747 INFO 32 --- [ XNIO-1 I/O-2] lavalink.server.io.SocketContext : Shutting down 0 playing players.

How to connect lavalink server with discord.py bot

Describe the bug
This ain't a bug, but a question. I'm trying to upload my discord.py bot to heroku, and i use lavalink for playing music. And for connecting to the server, I need "host", "port" and "rest_uri".
When having the bot and server running in my PC, I would go host = 127.0.0.1, port = 2333, rest_uri=http://127.0.0.1:2333
But I have no idea on how to do it with the server on heroku.

Deployment Method
The deployment method used:

  1. One Click Deploy

Lavalink don't start

2021-02-07T13:11:22.652226+00:00 heroku[bootscrap.1]: Starting process with command ./Src/Bootscrap.js
2021-02-07T13:11:23.313079+00:00 heroku[bootscrap.1]: State changed from starting to up
2021-02-07T13:11:24.594900+00:00 heroku[bootscrap.1]: Process exited with status 126
2021-02-07T13:11:24.670345+00:00 heroku[bootscrap.1]: State changed from up to crashed
2021-02-07T13:11:24.528480+00:00 app[bootscrap.1]: bash: ./Src/Bootscrap.js: Permission denied

Lavaplayer crash

The app crashes after launching, any ways how to solve? thanks

2022-07-20T13:50:44.375359+00:00 heroku[web.1]: Starting process with command `node bootstrap.js`
2022-07-20T13:50:45.182646+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2022-07-20T13:50:45.182755+00:00 app[web.1]: bash: node: command not found
2022-07-20T13:50:45.309685+00:00 heroku[web.1]: Process exited with status 127
2022-07-20T13:50:45.414553+00:00 heroku[web.1]: State changed from starting to crashed
2022-07-20T13:50:45.418776+00:00 heroku[web.1]: State changed from crashed to starting
2022-07-20T13:50:48.180615+00:00 heroku[web.1]: Starting process with command `node bootstrap.js`
2022-07-20T13:50:49.024712+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2022-07-20T13:50:49.024809+00:00 app[web.1]: bash: node: command not found
2022-07-20T13:50:49.145987+00:00 heroku[web.1]: Process exited with status 127
2022-07-20T13:50:49.289466+00:00 heroku[web.1]: State changed from starting to crashed

port?

what do i enter the port of the lavalink as?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.