integrations / slack

Bring your code to the conversations you care about with the GitHub and Slack integration
https://slack.github.com/
MIT License
2.99k stars 468 forks source link

"Enter code" prompt does not appear #1707

Open adrian-rybski opened 1 year ago

adrian-rybski commented 1 year ago

Describe the bug We have just set up a GHES Integration with our Slack workspace and we're unable to subscribe to any repositories, because the "Enter code" prompt does not appear when we click on the button. There's only a tiny spinning wheel that disappears after 2 seconds and that's it. The same option works fine for the official GitHub app.

To Reproduce

  1. Type in the "/github subscribe owner [feature]" command
  2. Click on 'Connect GitHub account" button
  3. When in the browser, click on the "Connect GitHub account" button there
  4. Copy the verification code
  5. Click the "Enter code" button - the prompt does not appear

Expected behavior

  1. Type in the "/github subscribe owner [feature]" command
  2. Click on 'Connect GitHub account" button
  3. When in the browser, click on the "Connect GitHub account" button there
  4. Copy the verification code
  5. Click the "Enter code" button
  6. Enter the verification code and confirm

Screenshots image

Desktop (please complete the following information):

Charg commented 5 months ago

For me, restarting the slack container on the GHE instance fixed it. I noticed the following log line which prompted me to try a restart

socket-mode:SocketModeClient:0 A ping wasn't received from the server before the timeout of 30000ms!

To restart the container I ran docker restart slack-{uuid-of-container}

nsartor commented 3 months ago

I'm having the same issue, restarting the container hasn't fixed it. I'm going to bounce the whole server when I get a chance.

adrian-rybski commented 3 months ago

I managed to solve it somehow but I'm not sure what did the trick. I did two things before checking if it works: 1) added the person who enabled the integration in GitHub as app collaborator in Slack 2) reinstalled/installed the app through GitHub, even though it was installed already. I got the prompt afterwards.

nsartor commented 3 months ago

Thanks @adrian-rybski when you say you uninstalled/reinstalled the app in github, do you mean you went to the management console and unchecked/checked slack integration: image Thanks

adrian-rybski commented 3 months ago

Sorry, I don't remember if it was in GitHub or in Slack to be honest... You can definitely reinstall the app through Slack. Did you try doing it maybe?

AMMARESIDENTE commented 3 months ago

I managed to solve it somehow but I'm not sure what did the trick. I did two things before checking if it works:

  1. added the person who enabled the integration in GitHub as app collaborator in Slack
  2. reinstalled/installed the app through GitHub, even though it was installed already. I got the prompt afterwards.

![Uploading 20240327_200538.jpg…]()

AMMARESIDENTE commented 3 months ago

In KTP ID

AMMARESIDENTE commented 3 months ago

9291

AMMARESIDENTE commented 3 months ago

Screenshot_20240408_225504_Google Play services IMG-20240406-WA0000

nsartor commented 2 months ago

I tried restarting github enterprise with no luck, I'll try removing and reinstalling next.

apgapg commented 2 weeks ago

Problem exist even today

AMMARESIDENTE commented 2 weeks ago

mx#1707

Pada Sel, 18 Jun 2024 00:11, Ayush P Gupta @.***> menulis:

Problem exist even today

— Reply to this email directly, view it on GitHub https://github.com/integrations/slack/issues/1707#issuecomment-2173812051, or unsubscribe https://github.com/notifications/unsubscribe-auth/A63FH7WQAGA7Y7CKUXHK3TDZH4DDBAVCNFSM6AAAAAAYVMH6TWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZTHAYTEMBVGE . You are receiving this because you commented.Message ID: @.***>