rauchg / slackin

Public Slack organizations made easy
http://rauchg.com/slackin/
MIT License
6.51k stars 1.35k forks source link

Heroku Application Error (Free Slack Team) #309

Open deejaywoody opened 7 years ago

deejaywoody commented 7 years ago

Hello,

I just setup Heroku and provided the necessary API info, etc. When I try to access, I'm seeing the following:

2017-05-25T12:34:59.443839+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=mxeslack.herokuapp.com request_id=1691e64e-8b12-4621-9298-aba6804da673 fwd="74.138.35.21" dyno= connect= service= status=503 bytes= protocol=https

Based on what I read below, this stems from the account used not being an Admin. My question is: Can Slackin/Heroku be used w. a free Slack team? I'm not finding anywhere to create a new @slackin-inviter account, so that's what keyed me into thinking this may not work with the free team.

Regards,

Eric

lukcha commented 7 years ago

I had the same H10 Heroku error appearing in our logs when our app was crashing at about the same time (6 days ago). We also use a free Slack team. I managed to get things working without issue by redeploying to Heroku from github as a fresh app, using the legacy Slack API keys and then re-adding the custom domain/subdomain in Heroku settings. Interesting to note the frontend was showing the same Heroku app error page until I re-added the custom subdomain. Surely that can't be where the issue stemmed from originally, unless the log issues were because of some domain path somehow not being passed through successfully, or something similar.

deejaywoody commented 7 years ago

Thanks for the information, @lukcha. Good to know that it will work with a free Slack team. Curious, where did you create the @Slackin-Inviter user inside the Slack API? For whatever reason, I have not seen an area to add a local user.

lukcha commented 7 years ago

Nope, I just use my own user account (which is more personal). In the past I've changed the address on my own account to suit the inviter, or just set up a separate admin account. Not sure that was the root cause of your problem tho.

xuanzi23 commented 7 years ago

I have the "Application Error" after I deploy. Is it because my team is using free? Must paid account only can use?

KvalheimRacing commented 7 years ago

@rauchg You guys should add in the readme that the Heroku slack domain adress only requires the team specific adress, not the entire slack adress. So where it stands SLACK_SUBDOMAIN, you should only write myteamname. You will get an H10 error code if you write myteamname.slack.com.

deejaywoody commented 6 years ago

@lukcha Finally got around to working on this. Legacy Slack API did the trick. Thanks for the info!