Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

182
Views
Discord.JS Bot hosting through Heroku throwing a 500 error

I'm attempting to host my first attempt at a discord bot through Heroku, and despite linking my github repo & setting up the files necessary to accommodate the hosting (such as the Procfile), I am still getting the following error whilst attempting to deploy. (Note, builds are still successful.)

2021-09-29T15:50:35.129091+00:00 app[Worker.1]:     at async WebSocketManager.connect (/app/node_modules/discord.js/src/client/websocket/WebSocketManager.js:128:9)
2021-09-29T15:50:35.129091+00:00 app[Worker.1]:     at async Client.login (/app/node_modules/discord.js/src/client/Client.js:245:7) {
2021-09-29T15:50:35.129091+00:00 app[Worker.1]:   code: 500,
2021-09-29T15:50:35.129093+00:00 app[Worker.1]:   method: 'get',
2021-09-29T15:50:35.129093+00:00 app[Worker.1]:   path: '/gateway/bot',
2021-09-29T15:50:35.129093+00:00 app[Worker.1]:   requestData: { json: undefined, files: [] }
2021-09-29T15:50:35.129093+00:00 app[Worker.1]: }
2021-09-29T15:50:35.248528+00:00 heroku[Worker.1]: Process exited with status 0
2021-09-29T15:50:35.410802+00:00 heroku[Worker.1]: State changed from up to crashed

I think it may have something to do with the location of the Procfile, but honestly have no idea. Any help is appreciated.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

It's not Heroku problem, but Discord API error, which means: Internal Server Error. What can be caused by discord having any problems on their side, so I suggest you to wait a little and try again!

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!