Body: <p>I'm gettting the following error while trying to update within the control panel.</p>
  <blockquote>
  <p>Fehler: curl error 7 while downloading <a href="https://composer.craftcms.com/packages.json" rel="nofollow noreferrer">https://composer.craftcms.com/packages.json</a>: Failed to connect to composer.craftcms.com port 443: Connection refused
  Composer-Ausgabe: Loading composer repositories with package information</p>
  </blockquote>
  <p>I'm suspecting some sort of it infrastructure problem but i'm not 100% sure and I'm wondering if anyone else had this problem aswell.</p>
  <p>I've tried adding our proxy in the <code>config/guzzle.php</code> file but this didn't work for me.</p>
  <pre><code>&lt;?php
  
  return [
      'proxy' =&gt; 'http://myproxy.com:1234',
  ];
  </code></pre>
  <p>Does anyone else have an idea or can you confirm it's a infrastructure problem? If so, i might just need to reach out to our IT-Guy.</p>
  <p>Any inputs are appreciated.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-01-10T23:13:05.620Z
Comments.Text: Can you successfully curl https://composer.craftcms.com/packages.json from a terminal on that same box? Or load it in a browser on the same box? If not, sounds like it's being blocked by a firewall or some such on the network.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-01-12T09:12:38.470Z
Comments.Text: @BradBell Thank you for your answer. Isn't it possible to work around the firewall by defining the proxy? Is maybe my guzzle file not correct? I'll check it anyway with our IT :)
Comments.UserDisplayName: Marco
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-01-13T04:57:30.377Z
Comments.Text: Depends on the version of Craft - older versions had some bugs in `config/guzzle.php` implementation. But even in a working setup, plugins (or anything that doesn't use Craft's native Guzzle client) don't have to respect that setting.
Comments.UserDisplayName: Brad Bell
Tags: <updates>
Title: Craft CMS update failed - Connection refused
ThreadText: # Craft CMS update failed - Connection refused
  
  (Asked by: username_0 on 2022-01-07)
  
  I'm gettting the following error while trying to update within the control panel.
  
  > Fehler: curl error 7 while downloading <https://composer.craftcms.com/packages.json>: Failed to connect to composer.craftcms.com port 443: Connection refused
  > Composer-Ausgabe: Loading composer repositories with package information
  
  I'm suspecting some sort of it infrastructure problem but i'm not 100% sure and I'm wondering if anyone else had this problem aswell.
  
  I've tried adding our proxy in the `config/guzzle.php` file but this didn't work for me.
  
  ```
  <?php
  
  return [
      'proxy' => 'http://myproxy.com:1234',
  ];
  
  ```
  
  Does anyone else have an idea or can you confirm it's a infrastructure problem? If so, i might just need to reach out to our IT-Guy.
  
  Any inputs are appreciated.
  
  **Tags:** updates
  
  > **Comments:**
  > **username_1**: Can you successfully curl https://composer.craftcms.com/packages.json from a terminal on that same box? Or load it in a browser on the same box? If not, sounds like it's being blocked by a firewall or some such on the network.  
  > **username_0**: @username_1 Thank you for your answer. Isn't it possible to work around the firewall by defining the proxy? Is maybe my guzzle file not correct? I'll check it anyway with our IT :)  
  > **username_1**: Depends on the version of Craft - older versions had some bugs in `config/guzzle.php` implementation. But even in a working setup, plugins (or anything that doesn't use Craft's native Guzzle client) don't have to respect that setting.  
  
  ---
  
  ## 0 answers
  
  