can't connect to get.ispconfig

Discussion in 'General' started by marco, Jul 26, 2023.

  1. marco

    marco Member

    Hello, I am trying use the autoinstaller but can't connect to get.ispconfig.org
    upload_2023-7-25_23-25-35.png

    is the server ok?
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Does your host have IPv6 connectivity? It seems to try to use IPv6. Try ping4 and ping6 to troubleshoot.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    I just tested the server and I have no issues using https://get.ispconfig.org. Like @Taleman suggested, try to connect with IPv4:

    Code:
    wget -4 -O - https://get.ispconfig.org | sh -s -- --use-ftp-ports=40110-40210 --unattended-upgrades
     
  4. marco

    marco Member

    root@angel:~# ping -c 2 get.ispconfig.org
    PING get.ispconfig.org(2606:4700:20::681a:bf6 (2606:4700:20::681a:bf6)) 56 data bytes

    --- get.ispconfig.org ping statistics ---
    2 packets transmitted, 0 received, 100% packet loss, time 1004ms

    root@angel:~# ping6 -c 2 get.ispconfig.org
    PING get.ispconfig.org(2606:4700:20::681a:bf6 (2606:4700:20::681a:bf6)) 56 data bytes

    --- get.ispconfig.org ping statistics ---
    2 packets transmitted, 0 received, 100% packet loss, time 1024ms

    root@angel:~# iptables -L
    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    How can I force to use IPv4?
     
  5. marco

    marco Member

    Oh, now I understand, yes with IPV4 it works!!
     
  6. marco

    marco Member

    [INFO] Activating rspamd repository.
    [INFO] Activating sury php repository.
    Traceback (most recent call last):
    File "/usr/bin/add-apt-repository", line 364, in <module>
    sys.exit(0 if addaptrepo.main() else 1)
    File "/usr/bin/add-apt-repository", line 347, in main
    shortcut = handler(source, **shortcut_params)
    File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 40, in shortcut_handler
    return handler(shortcut, **kwargs)
    File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 82, in __init__
    if self.lpppa.publish_debug_symbols:
    File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 120, in lpppa
    self._lpppa = self.lpteam.getPPAByName(name=self.ppaname)
    File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 107, in lpteam
    self._lpteam = self.lp.people(self.teamname)
    File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 98, in lp
    self._lp = login_func("%s.%s" % (self.__module__, self.__class__.__name__),
    File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 494, in login_anonymously
    return cls(
    File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 230, in __init__
    super(Launchpad, self).__init__(
    File "/usr/lib/python3/dist-packages/lazr/restfulclient/resource.py", line 472, in __init__
    self._wadl = self._browser.get_wadl_application(self._root_uri)
    File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 447, in get_wadl_application
    response, content = self._request(url, media_type=wadl_type)
    File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 389, in _request
    response, content = self._request_and_retry(
    File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 359, in _request_and_retry
    response, content = self._connection.request(
    File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1725, in request
    (response, content) = self._request(
    File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 144, in _request
    response, content = super(LaunchpadOAuthAwareHttp, self)._request(
    File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 184, in _request
    return super(RestfulHttp, self)._request(
    File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1441, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
    File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1363, in _conn_request
    conn.connect()
    File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1153, in connect
    sock.connect((self.host, self.port))
    TimeoutError: [Errno 110] Connection timed out
    [ERROR] Exception occured: ISPConfigOSException -> Command add-apt-repository -y ppa:eek:ndrej/php failed. (/ispconfig.ai.php:15)
    root@angel:~#
    How can I fix that? :-(
     
  7. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Post listings and code in CODE tags. See https://forum.howtoforge.com/threads/please-read-before-posting.58408/
    To use the ISPConfig autoinstaller, there are preconditions. What is the OS you try to install ISPConfig on? Have you installed that OS following the instructions for autoinstaller?
    Note ISPConfig install needs freshly installed OS, if it has already been used and configured for something, the autoinstaller fails.
     
  8. marco

    marco Member

    Code:
    root@angel:~# lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 22.04.2 LTS
    Release:        22.04
    Codename:       jammy
    
     
  9. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  10. marco

    marco Member

    is a fresh install, is a recent VPS
     
  11. marco

    marco Member

    Code:
    TimeoutError: [Errno 110] Connection timed out
    [ERROR] Exception occured: ISPConfigOSException -> Command add-apt-repository -y ppa:ondrej/php failed. (/ispconfig.ai.php:15)
    root@angel:~#
    
    The problem it seems the repository, if I try manually, abort by timeout
     
  12. marco

    marco Member

    The problem is the server that is forced to work with IPv6, I have another server and the repository it's Okay
    How can I fix that?
     
  13. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Do not use a server with IPv6 only?
    Can you ask the VPS provider to add IPv4?
    Try Internet Search Engines with
    Code:
    site:howtoforge.com ipv6 only
    Did you use -4 or --inet4-only as parameter for wget?
     
  14. marco

    marco Member

    I pass the problem to the VPS provider.
     
  15. marco

    marco Member

    Problem Solved by VPS provider!! Deactivated IPv6
    Thanks to everybody!!
     
  16. marco

    marco Member

    The problem solved as follow:
    edit /etc/sysctl.conf
    and add
    Code:
    net.ipv6.conf.all.disable_ipv6=1
    net.ipv6.conf.default.disable_ipv6=1
    net.ipv6.conf.lo.disable_ipv6=1
    
     

Share This Page