Github intergration button ends up with connection refused due to incorrect redirection setting #1174

Closed
opened 2026-02-21 17:30:30 -05:00 by yindo · 0 comments
Owner

Originally created by @BorisPolonsky on GitHub (Mar 5, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

Dify version

0.5.8

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  • Set up dify with nginx running on 127.0.0.1: 8080
  • Access dify front end via 127.0.0.1:8080 and navigate to user icon, settings, intergrations, github and click connect button
  • Page redirected to http://127.0.0.1/console/api/oauth/login/github and ends up with message The site refuse to connect

✔️ Expected Behavior

User shall access /console with port taken into account, in this case http://127.0.0.1/console/api/oauth/login/github

Actual Behavior

http://127.0.0.1/console/api/oauth/login/github

Originally created by @BorisPolonsky on GitHub (Mar 5, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### Dify version 0.5.8 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce - Set up `dify` with `nginx` running on 127.0.0.1: 8080 - Access dify front end via `127.0.0.1:8080` and navigate to user icon, settings, intergrations, github and click `connect` button - Page redirected to `http://127.0.0.1/console/api/oauth/login/github` and ends up with message `The site refuse to connect` ### ✔️ Expected Behavior User shall access `/console` with `port` taken into account, in this case `http://127.0.0.1/console/api/oauth/login/github` ### ❌ Actual Behavior http://127.0.0.1/console/api/oauth/login/github
yindo added the 🐞 bug label 2026-02-21 17:30:30 -05:00
yindo closed this issue 2026-02-21 17:30:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#1174