slack icon indicating copy to clipboard operation
slack copied to clipboard

"Enter code" prompt does not appear

Open adrian-rybski opened this issue 2 years ago • 12 comments

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):

  • OS: [e.g. iOS]: Win11
  • Browser [e.g. chrome, safari]: Chrome
  • Version [e.g. 22]: 113.0.5672.127

adrian-rybski avatar May 31 '23 12:05 adrian-rybski

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}

Charg avatar Feb 07 '24 23:02 Charg

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.

nsartor avatar Mar 27 '24 13:03 nsartor

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.

adrian-rybski avatar Mar 27 '24 13:03 adrian-rybski

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

nsartor avatar Mar 27 '24 13:03 nsartor

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?

adrian-rybski avatar Mar 27 '24 14:03 adrian-rybski

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 avatar Mar 27 '24 14:03 AMMARESIDENTE

In KTP ID

AMMARESIDENTE avatar Mar 27 '24 14:03 AMMARESIDENTE

9291

AMMARESIDENTE avatar Apr 09 '24 06:04 AMMARESIDENTE

Screenshot_20240408_225504_Google Play services IMG-20240406-WA0000

AMMARESIDENTE avatar Apr 09 '24 06:04 AMMARESIDENTE

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

nsartor avatar Apr 09 '24 17:04 nsartor

Problem exist even today

apgapg avatar Jun 17 '24 16:06 apgapg

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: @.***>

AMMARESIDENTE avatar Jun 18 '24 06:06 AMMARESIDENTE