Failed to connect to bitbucket.org port 443: Network is unreachable

前端 未结 17 871
梦如初夏
梦如初夏 2020-12-05 14:50

I am getting issue while pushing code.

git push origin master

fatal: unable to access \'https://xxxxxxxxxx@bitbucket.org/xxxxxx/xxxxxx.git/\': 
Failed to co         


        
17条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-05 15:00

    I got that problem and even change /etc/hosts with IP address from official IP addresses https://confluence.atlassian.com/bitbucket/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall-343343385.html

    Server not clone any project from bitbucket through use ip4 like that 104.192.143.1 and just slow and no response

    For me SOLVED enable/add ip6 in /etc/network/interfaces . LOL, For every virtualization individual, but for kvm is looks like

    iface ens3 inet6 static
            address 2a04:5200:fff5::89e
            netmask 48
            gateway 2a04:5200:fff5::1
            up ip -6 addr add 2a04:5200:fff5::8ea dev ens3
            down ip -6 addr del 2a04:5200:fff5::8ea dev ens3
    

    For OpenVZ looks like

    iface venet0 inet6 manual
        up ifconfig venet0 add 2a04:5200:fff7::bb6/128
        down ifconfig venet0 del 2a04:5200:fff7::bb6/128
        up route -A inet6 add default dev venet0
        down route -A inet6 del default dev venet0
    

    Try active or add ip6 ip adress in your panel hosting and reinstall it, but delete all files there.

提交回复
热议问题