尝试使用 Intellij IDEA Upsource 插件登录时连接被拒绝

Connection refused when trying to login with Intellij IDEA Upsource plugin

我正在尝试使用 Upsource Integration 插件登录 Intellij Upsource 服务器。

配置 Upsource URL 后,单击 "Test connection" 浏览器打开,系统提示我登录 Upsource 服务器。这在我的浏览器中失败并出现 "Connection refused" 错误。

我可以在 Intellij 日志文件中看到在端口 3100 上尝试连接到我的计算机:

2018-06-01 07:59:00,706 [  82261]  DEBUG - idea.authorization.AuthManager - Authorization URL: http://x.x.x.x:8888/hub/api/rest/oauth2/auth?response_type=code&client_id=upsource-idea-plugin&scope=8a2cb56b-2c52-4533-ab55-f3d9c6a1be03&redirect_uri=http://localhost:3100&request_credentials=required&access_type=offline

他们启用了 MacOS 防火墙,但未显示任何阻止的尝试。 IntelliJ 配置为允许传入连接。

问题是 MacOS 网络代理设置(因为计算机配置为使用 HTTP 和 HTTPS 代理)- 在将 localhost 添加到应该绕过的主机和域列表后,身份验证有效。