Address family not supported by protocol

XMLWordPrintable

      Hi, I can easily 'git pull' from my Bitbucket repository to my remote server in SSH but when I'm trying the same 'git pull' with a php script (owned by same user, using same SSH keys) and launched by a Bitbucket webhook I obtain:

      #!log
      
      socket: Address family not supported by protocol
      ssh: connect to host bitbucket.org port 22: Address family not supported by protocol
      fatal: Could not read from remote repository.
      
      Please make sure you have the correct access rights
      and the repository exists.
      
      

      I tried @oliverkocsis solution here, but seems not working:

      #!log
      
      socket: Address family not supported by protocol
      ssh: connect to host altssh.bitbucket.org port 443: Address family not supported by protocol
      fatal: Could not read from remote repository.
      
      Please make sure you have the correct access rights
      and the repository exists.
      
      

      What does mean this issue and how to resolve it ?

      NB: I'm on a shared server and I can't use 'sudo' command.

              Assignee:
              Unassigned
              Reporter:
              Klemart3D
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: