- π CS Student
- π€ I make problem solving bots
- β Mostly use Javascript, Python, C++
karyeet / heroku-lavalink Goto Github PK
View Code? Open in Web Editor NEWDeploy lavalink on heroku.
License: MIT License
Deploy lavalink on heroku.
License: MIT License
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?
Ive got the port but what should i put to get the website where it is hosted?
app.get('/',(req,res) => {
return res.send('Hello');
}); like this
The YouTube search system isn't working on the current version. Please update it to v3.3.2
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
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`
Running it for an estimated 24 hours now, and Heroku fired an error, apparently I've exceeded the maximum RAM limit
Deployment Method:
Expected behavior
For it to just, work
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)
Please update it to version 3.3.1.1
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.
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:
error just at title.
I use lavapy to use lavalink, and I get this error.
But I use repl-lavalink, I don't get this error.
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
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
what do i enter the port of the lavalink as?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.