【问题标题】:Phusion Passenger Enterprise fails to connect to the licensing server behind a proxyPhusion Passenger Enterprise 无法连接到代理后面的许可服务器
【发布时间】:2018-03-27 12:34:12
【问题描述】:

我们正在尝试从开源版本升级到 Phusion Passenger 企业版,但我们遇到了问题。乘客无法连接到许可服务器并显示以下错误消息:

[ W 2018-03-27 10:20:55.2565 35498/T6 age/Cor/CloudUsageTracker.h:439 ]: Could not contact the Phusion Passenger Enterprise licensing server (HTTP error: Failed to connect to www.phusionpassenger.com port 443: Connection timed out). To ensure proper access to the licensing server, please try these:
- Ensure that your network connection to https://www.phusionpassenger.com works.
- If you can only access https://www.phusionpassenger.com via a proxy, please set the config option 'PassengerCtl licensing_proxy PROXY_URL' (Apache) or 'passenger_ctl licensing_proxy PROXY_URL' (Nginx). 'PROXY_URL' takes the format of protocol://username:password@hostname:port, where 'protocol' is either 'http' or 'socks5'.

我们需要为所有传出的 HTTP 连接使用代理,所以我添加了推荐的配置选项:

passenger_ctl licensing_proxy http://OURPROXY:3128;

但是问题仍然存在,并显示相同的错误消息。

使用curl 通过代理访问此 URL 可以正常工作:

$ curl -x http://OURPROXY:3128 https://www.phusionpassenger.com

我们在 Ubuntu 14.04 LTS 上使用带有 Passenger 的 nginx,Passenger Enterprise 是从官方 APT 存储库安装的。

什么可能导致此错误?任何帮助将不胜感激。

【问题讨论】:

    标签: passenger


    【解决方案1】:

    我已收到 Phusion 乘客支持部门对此问题的答复。他们不小心拼错了错误消息中相关配置选项的名称。

    设置此选项的正确方法是:

    passenger_ctl licensing_proxy_url http://OURPROXY:3128;
    

    关于这个问题,如果你想让Passenger检查代理后面的安全更新,你还需要单独设置:

    passenger_security_update_check_proxy http://OURPROXY:3128;
    

    【讨论】:

      猜你喜欢
      • 2020-02-13
      • 1970-01-01
      • 2019-04-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-09-19
      • 2018-07-16
      • 1970-01-01
      相关资源
      最近更新 更多