【发布时间】: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