Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    Updatecheck does not work with proxy settings

    Scheduled Pinned Locked Moved Operating
    3 Posts 2 Posters 3.6k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • manni2M Offline
      manni2
      last edited by

      if i run updatecheck, i get the following error

      root@i-doit:/var/www/i-doit# ./updatecheck

      • Loading module: updatecheck

        • Checking… Please wait..
          Error while connecting / cURL error: 56 - Received HTTP code 403 from proxy after CONNECT
          Make sure this host is connected to the internet!
          Proxy settings can be configured in src/config.inc.php
          Proxy configuration:  (
            'active' => true,
            'host' => '192.168.XXXXX',
            'port' => '3128',
            'user' => '',
            'pass' => '',
          )

        extract of my config file:
        root@i-doit:/var/www/i-doit/src/config.inc.php

        […]
        /**
          * @desc Proxy
          * –------------------------------------------------------------------------
          *      Proxy configuration
          */
        $g_proxy = array(
                "active" => true,
                "host"  => "192.168.XXXX",
                "port"  => "3128",
                "user"  => "",
                "pass"  => ""
        );
        […]

        any suggestions?

      1 Reply Last reply Reply Quote 0
      • manni2M Offline
        manni2
        last edited by

        the update-check script uses METHOD CONNECT.
        this was not allowed in squid.

        in squid.conf i had to put:

        […]
        acl PORT_80 port 80            #allow port 80
        […]
        http_access allow CONNECT PORT_80

        1 Reply Last reply Reply Quote 0
        • dsD Offline
          ds
          last edited by

          In older versions there was also a problem with our curl initialisation, this should be fixed in the most recent version now

          1 Reply Last reply Reply Quote 0
          • First post
            Last post