Bug #74507 Attempt to connect to MySQL Fabric fails if a proxy is enabled
Submitted: 22 Oct 2014 13:36
Reporter: Alfranio Junior Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Fabric Severity:S3 (Non-critical)
Version:1.4.1 OS:Any
Assigned to: CPU Architecture:Any
Tags: http, proxy

[22 Oct 2014 13:36] Alfranio Junior
Description:
If a proxy is enabled, an attempt to connect to MySQL Fabric raises an error: "cannotconnect"

$ env | grep -i proxy

http_proxy=http://proxy:80/
ftp_proxy=ftp://proxy:80/
socks_proxy=socks://proxy:80/
https_proxy=https://proxy:80/

To disable the proxy for a sub-set of address do the following:

export no_proxy=localhost,127.0.1.1

How to repeat:
1 - Setup MySQL Fabric

2 - Configure a proxy

    export http_proxy=http://proxy:80/

3 - Execute:

    mysqlfabric group create my_group
    cannotconnect

4 - Or execute:

    wget localhost:32274

    --2014-10-22 14:30:30--  http://localhost:32274/
    Resolving www-proxy.us.oracle.com (www-proxy.us.oracle.com)... 148.87.19.20
    Connecting to www-proxy.us.oracle.com (www-   
    proxy.us.oracle.com)|148.87.19.20|:80... connected.
    Proxy request sent, awaiting response... 502 cannotconnect
    2014-10-22 14:30:31 ERROR 502: cannotconnect.
[6 Jul 2017 19:19] Bugs System
Status updated to 'Won't fix' (Fabric is now covered under Oracle Lifetime Sustaining Support)