TrueWinter / DiscordBot

My Discord bot. Development has been stopped
https://blog.truewinter.dev/2020/04/09/development-and-support-for-my-discord-bot-has-been-stopped
Apache License 2.0
46 stars 42 forks source link

Bot Dashboard #29

Closed DjDeveloperr closed 6 years ago

DjDeveloperr commented 6 years ago

I hosted this bot on Heroku, and noded, it was online and working, just dashboard not work when we host somewhere else than locally , when i host locally its running fine, but on heroku it ..... Any idea whats it?

TrueWinter commented 6 years ago

Please provide me with any error messages and/or a better explanation of the problem so I can determine what the problem is and what part if the code is causing it.

DjDeveloperr commented 6 years ago

i just wanna know that if there is special configuration for domains?

DjDeveloperr commented 6 years ago
2018-09-26T08:23:28.412533+00:00 heroku[worker.1]: Starting process with command `node bot.js`

2018-09-26T08:23:29.062586+00:00 heroku[worker.1]: State changed from starting to up

2018-09-26T08:23:30.753185+00:00 app[worker.1]: (node:4) ExperimentalWarning: The http2 module is an experimental API.

2018-09-26T08:23:30.758357+00:00 app[worker.1]: 26 Sep 2018 08:23:30 +0000: [log] [LOAD] Loading a total of 46 commands.

2018-09-26T08:23:30.759272+00:00 app[worker.1]: 26 Sep 2018 08:23:30 +0000: [log] [LOAD] Loading Command: 8ball.

2018-09-26T08:23:30.759932+00:00 app[worker.1]: 26 Sep 2018 08:23:30 +0000: [log] [LOAD] Loading Command: ban.

2018-09-26T08:23:30.761119+00:00 app[worker.1]: 26 Sep 2018 08:23:30 +0000: [log] [LOAD] Loading Command: cleverbot.

2018-09-26T08:23:30.761629+00:00 app[worker.1]: 26 Sep 2018 08:23:30 +0000: [log] [LOAD] Loading Command: createinvite.

2018-09-26T08:23:30.762083+00:00 app[worker.1]: 26 Sep 2018 08:23:30 +0000: [log] [LOAD] Loading Command: embed.

2018-09-26T08:23:30.762620+00:00 app[worker.1]: 26 Sep 2018 08:23:30 +0000: [log] [LOAD] Loading Command: eval.

2018-09-26T08:23:30.763197+00:00 app[worker.1]: 26 Sep 2018 08:23:30 +0000: [log] [LOAD] Loading Command: exec.

2018-09-26T08:23:30.976657+00:00 app[worker.1]: 26 Sep 2018 08:23:30 +0000: [log] [LOAD] Loading Command: expand.

2018-09-26T08:23:30.977208+00:00 app[worker.1]: 26 Sep 2018 08:23:30 +0000: [log] [LOAD] Loading Command: forceban.

2018-09-26T08:23:31.018097+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: google.

2018-09-26T08:23:31.018885+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: help.

2018-09-26T08:23:31.019371+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: info.

2018-09-26T08:23:31.019899+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: kick.

2018-09-26T08:23:31.020458+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: level.

2018-09-26T08:23:31.021084+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: loadcommand.

2018-09-26T08:23:31.022111+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: lockdown.

2018-09-26T08:23:31.022683+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: mute.

2018-09-26T08:23:31.023142+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: np.

2018-09-26T08:23:31.023762+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: pause.

2018-09-26T08:23:31.024379+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: permlevel.

2018-09-26T08:23:31.025065+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: pin.

2018-09-26T08:23:31.025690+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: ping.

2018-09-26T08:23:31.026826+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: play.

2018-09-26T08:23:31.027549+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: points.

2018-09-26T08:23:31.028110+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: purge.

2018-09-26T08:23:31.028628+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: queue.

2018-09-26T08:23:31.029258+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: reason.

2018-09-26T08:23:31.029718+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: reload.

2018-09-26T08:23:31.030227+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: remindme.

2018-09-26T08:23:31.030658+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: resume.

2018-09-26T08:23:31.031131+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: role.

2018-09-26T08:23:31.031592+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: say.

2018-09-26T08:23:31.032145+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: serverinfo.

2018-09-26T08:23:31.032792+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: set.

2018-09-26T08:23:31.033223+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: skip.

2018-09-26T08:23:31.033732+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: softban.

2018-09-26T08:23:31.035553+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: stats.

2018-09-26T08:23:31.035991+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: stop.

2018-09-26T08:23:31.036418+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: stopbot.

2018-09-26T08:23:31.037514+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: tags.

2018-09-26T08:23:31.037919+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: test.

2018-09-26T08:23:31.038423+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: unban.

2018-09-26T08:23:31.039219+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: urban.

2018-09-26T08:23:31.039758+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: userinfo.

2018-09-26T08:23:31.040266+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: warn.

2018-09-26T08:23:31.040724+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Command: weather.

2018-09-26T08:23:31.042243+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading a total of 9 events.

2018-09-26T08:23:31.042443+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Event: disconnect.

2018-09-26T08:23:31.042902+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Event: guildCreate.

2018-09-26T08:23:31.043324+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Event: guildDelete.

2018-09-26T08:23:31.043775+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Event: guildMemberAdd.

2018-09-26T08:23:31.044315+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Event: guildMemberRemove.

2018-09-26T08:23:31.044759+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Event: message.

2018-09-26T08:23:31.045413+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Event: messageDelete.

2018-09-26T08:23:31.045901+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Event: ready.

2018-09-26T08:23:31.052975+00:00 app[worker.1]: 26 Sep 2018 08:23:31 +0000: [log] [LOAD] Loading Event: reconnecting.

2018-09-26T08:23:32.410218+00:00 app[worker.1]: 26 Sep 2018 08:23:32 +0000: [log] [INFO] Callback URL: https://localhost:2299/callback

2018-09-26T08:23:32.411535+00:00 app[worker.1]: Warning: connect.session() MemoryStore is not

2018-09-26T08:23:32.411538+00:00 app[worker.1]: designed for a production environment, as it will leak

2018-09-26T08:23:32.411540+00:00 app[worker.1]: memory, and will not scale past a single process.

2018-09-26T08:23:32.421219+00:00 app[worker.1]: 26 Sep 2018 08:23:32 +0000: [EVENT] [Log] Logged into 'Andy X#7939' (493774056676392964). Ready to serve 6 users in 1 guilds. Bot Version: 8.3.1

2018-09-26T08:23:32.422352+00:00 app[worker.1]: 26 Sep 2018 08:23:32 +0000: [log] [INFO] Dashboard running on port 2299

2018-09-26T08:23:43.543414+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=andyx.herokuapp.com request_id=128152e9-5d1c-4a41-857a-2c82bf731b3f fwd="157.39.138.73" dyno= connect= service= status=503 bytes= protocol=https

errror occurs when i open dashboard

TrueWinter commented 6 years ago

It seems like you have forgotten to change the dashboard configuration to have the Heroku domain instead of localhost.

ChineseMarc commented 6 years ago

I helped him on discord i am (donkeymonkey1 from github xd)

TrueWinter commented 6 years ago

@ChineseMarc Was the issue resolved on Discord?

ChineseMarc commented 6 years ago

Well yeah.... Sorry for late response