mobimeo / teamchatviz

#teamchatviz
https://moovel.github.io/teamchatviz
Other
144 stars 23 forks source link

Application Offline for Maintenance #53

Closed marklochrie50265 closed 8 years ago

marklochrie50265 commented 8 years ago

When trying to oauth with Slack

OrKoN commented 8 years ago

Hi @marklochrie50265 ,

where do you host your instance? and which Slack application do you use?

Best regards, Alex

marklochrie50265 commented 8 years ago

Heroku and do you mean which app id does our app use? https://mis.herokuapp.com/

OrKoN commented 8 years ago

Hi, are you sure you don't have this turned on?

screen shot 2016-07-22 at 8 28 08 am

I am trying out a new instance on Heroku now and I will let you know if I spot a problem!

OrKoN commented 8 years ago

@marklochrie50265 I have just started a new instance and it seems it works fine for me. Do you have a lot of messages in your team? currently, Heroku deployment runs the app in a single node process and it will be blocked during the import of data. Maybe it is related somehow.

If you have a lot of data I would recommend to run it on a server in a cluster mode with pm2. We will try to add cluster support to Heroku deployments in the future.

marklochrie50265 commented 8 years ago

@OrKoN Thanks for the clarification maintenance mode is off so must be the latter. I didnt think we had a lot of messages but I guess we must. Basically it goes to the authorisation screen I click authorise and thats when i get the issue.

OrKoN commented 8 years ago

@marklochrie50265 could you grab the app logs from Heroku so I could take a look? maybe there is some bug

marklochrie50265 commented 8 years ago

2016-07-22T09:43:59.738179+00:00 heroku[router]: at=info method=GET path="/api/user" host=misviz.herokuapp.com request_id=cc6937c0-1b65-4ab9-814f-f9ed2fdbf9e1 fwd="2.125.84.131" dyno=web.1 connect=0ms service=9ms status=403 bytes=151 2016-07-22T09:43:59.729957+00:00 heroku[router]: at=info method=GET path="/images/channels/05_frequent_speakers.svg" host=misviz.herokuapp.com request_id=551ab6a1-1cf4-41e6-bd3a-14a4b7ee7df3 fwd="2.125.84.131" dyno=web.1 connect=1ms service=7ms status=304 bytes=204 2016-07-22T09:47:29.240406+00:00 heroku[router]: at=info method=GET path="/" host=misviz.herokuapp.com request_id=6169e53e-0d1b-4152-8cdf-11488b81d881 fwd="2.125.84.131" dyno=web.1 connect=1ms service=5ms status=304 bytes=207 2016-07-22T09:47:29.468472+00:00 heroku[router]: at=info method=GET path="/jspm.config.js" host=misviz.herokuapp.com request_id=958e4e69-8bf5-4ca8-835b-c8a5b8467083 fwd="2.125.84.131" dyno=web.1 connect=0ms service=2ms status=304 bytes=204 2016-07-22T09:47:29.388808+00:00 heroku[router]: at=info method=GET path="/system.js" host=misviz.herokuapp.com request_id=470e424e-575e-4e97-a5e3-ae296a51aabb fwd="2.125.84.131" dyno=web.1 connect=0ms service=3ms status=304 bytes=204 2016-07-22T09:47:29.451100+00:00 heroku[router]: at=info method=GET path="/jspm.browser.js" host=misviz.herokuapp.com request_id=d588e273-07ab-49a8-a07b-45ebcb37da83 fwd="2.125.84.131" dyno=web.1 connect=0ms service=3ms status=304 bytes=206 2016-07-22T09:47:29.475883+00:00 heroku[router]: at=info method=GET path="/app-bundle.js" host=misviz.herokuapp.com request_id=163b1169-ef0e-4f0f-bff8-a56c58f76dc6 fwd="2.125.84.131" dyno=web.1 connect=0ms service=3ms status=304 bytes=204 2016-07-22T09:47:30.637772+00:00 heroku[router]: at=info method=GET path="/images/channels/04_messages_and_reactions.svg" host=misviz.herokuapp.com request_id=4db6bcff-5646-4079-87e1-8a573cf808d1 fwd="2.125.84.131" dyno=web.1 connect=0ms service=7ms status=304 bytes=204 2016-07-22T09:47:30.604017+00:00 heroku[router]: at=info method=GET path="/images/channels/01_heartbeat.svg" host=misviz.herokuapp.com request_id=07dea04e-4b65-4bbf-a326-c501ca6dbbc7 fwd="2.125.84.131" dyno=web.1 connect=1ms service=4ms status=304 bytes=204 2016-07-22T09:47:30.622383+00:00 heroku[router]: at=info method=GET path="/images/channels/03_channel_land.svg" host=misviz.herokuapp.com request_id=7802d9ef-81c5-46d4-bb95-86a8ed6c5d75 fwd="2.125.84.131" dyno=web.1 connect=1ms service=5ms status=304 bytes=204 2016-07-22T09:47:30.612289+00:00 heroku[router]: at=info method=GET path="/images/channels/02_people_land.svg" host=misviz.herokuapp.com request_id=5eff03ec-767c-4870-8a6e-f22866d8b5cf fwd="2.125.84.131" dyno=web.1 connect=0ms service=3ms status=304 bytes=204 2016-07-22T09:47:30.720916+00:00 heroku[router]: at=info method=GET path="/images/github-ribbon.svg" host=misviz.herokuapp.com request_id=5e55ba78-0610-4526-9aea-623cec771f60 fwd="2.125.84.131" dyno=web.1 connect=0ms service=7ms status=304 bytes=204 2016-07-22T09:47:30.650084+00:00 heroku[router]: at=info method=GET path="/images/channels/05_frequent_speakers.svg" host=misviz.herokuapp.com request_id=93353535-b8d2-464d-8ebc-56cd00be929e fwd="2.125.84.131" dyno=web.1 connect=0ms service=4ms status=304 bytes=204 2016-07-22T09:47:30.674904+00:00 heroku[router]: at=info method=GET path="/images/channels/06_emoji_timeline.svg" host=misviz.herokuapp.com request_id=6d2ac234-3834-4b72-942a-a5813840b144 fwd="2.125.84.131" dyno=web.1 connect=0ms service=4ms status=304 bytes=204 2016-07-22T09:47:30.705464+00:00 heroku[router]: at=info method=GET path="/api/user" host=misviz.herokuapp.com request_id=e6bec11c-db99-484d-9284-d213a5b3f8ef fwd="2.125.84.131" dyno=web.1 connect=0ms service=30ms status=403 bytes=151 2016-07-22T09:47:30.711633+00:00 heroku[router]: at=info method=GET path="/images/beta.svg" host=misviz.herokuapp.com request_id=a945a38d-e80a-4efc-a95a-2c496bf5f799 fwd="2.125.84.131" dyno=web.1 connect=1ms service=10ms status=304 bytes=204 2016-07-22T09:47:30.721832+00:00 heroku[router]: at=info method=GET path="/api/config" host=misviz.herokuapp.com request_id=e92b4a95-f326-474b-a60d-0742b632d7b6 fwd="2.125.84.131" dyno=web.1 connect=0ms service=33ms status=200 bytes=422 2016-07-22T09:47:30.792602+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=misviz.herokuapp.com request_id=ebabe2cb-4023-43f5-a82b-a5ea4feb8dc7 fwd="2.125.84.131" dyno=web.1 connect=0ms service=4ms status=304 bytes=144 2016-07-22T09:47:31.839570+00:00 heroku[router]: at=info method=GET path="/api/auth/slack-admin" host=misviz.herokuapp.com request_id=dd994188-2339-4ce7-8e7c-23fc62041467 fwd="2.125.84.131" dyno=web.1 connect=0ms service=10ms status=302 bytes=713

OrKoN commented 8 years ago

@marklochrie50265 I cannot even access the main page https://mis.herokuapp.com/ It is says "Application Offline for Maintenance" and I don't spot any problems in the logs...

Do you have redirect URL configured properly in your Slack App? i.e. https://mis.herokuapp.com/api/auth/slack/callback

marklochrie50265 commented 8 years ago

Must have been something my end, apols.

Thank you

OrKoN commented 8 years ago

@marklochrie50265 let me know if you figure this out and feel free to reopen it if it still does not work!