Gateway timeout when running apt-get update












0















When I run apt-get update on my ubuntu 18.04.1 LTS, I get the following error messages



Hit:1 https://download.docker.com/linux/ubuntu bionic InRelease
Err:2 http://ppa.launchpad.net/communitheme/ppa/ubuntu bionic InRelease
504 Gateway Timeout [IP: 135.245.192.7 8000]
Err:3 http://be.archive.ubuntu.com/ubuntu bionic InRelease
504 Gateway Timeout [IP: 135.245.192.7 8000]
Err:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
504 Gateway Timeout [IP: 135.245.192.7 8000]
Err:5 http://be.archive.ubuntu.com/ubuntu bionic-updates InRelease
504 Gateway Timeout [IP: 135.245.192.7 8000]
Err:6 http://be.archive.ubuntu.com/ubuntu bionic-backports InRelease
504 Gateway Timeout [IP: 135.245.192.7 8000]
Reading package lists... Done
W: Failed to fetch http://be.archive.ubuntu.com/ubuntu/dists/bionic/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
W: Failed to fetch http://be.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
W: Failed to fetch http://be.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
W: Failed to fetch http://ppa.launchpad.net/communitheme/ppa/ubuntu/dists/bionic/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
W: Some index files failed to download. They have been ignored, or old ones used instead.


I'm not sure what is going wrong and I haven't found a solution on google yet. Is this an error on my part? I don't remember changing anything on my install.










share|improve this question



























    0















    When I run apt-get update on my ubuntu 18.04.1 LTS, I get the following error messages



    Hit:1 https://download.docker.com/linux/ubuntu bionic InRelease
    Err:2 http://ppa.launchpad.net/communitheme/ppa/ubuntu bionic InRelease
    504 Gateway Timeout [IP: 135.245.192.7 8000]
    Err:3 http://be.archive.ubuntu.com/ubuntu bionic InRelease
    504 Gateway Timeout [IP: 135.245.192.7 8000]
    Err:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
    504 Gateway Timeout [IP: 135.245.192.7 8000]
    Err:5 http://be.archive.ubuntu.com/ubuntu bionic-updates InRelease
    504 Gateway Timeout [IP: 135.245.192.7 8000]
    Err:6 http://be.archive.ubuntu.com/ubuntu bionic-backports InRelease
    504 Gateway Timeout [IP: 135.245.192.7 8000]
    Reading package lists... Done
    W: Failed to fetch http://be.archive.ubuntu.com/ubuntu/dists/bionic/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
    W: Failed to fetch http://be.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
    W: Failed to fetch http://be.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
    W: Failed to fetch http://ppa.launchpad.net/communitheme/ppa/ubuntu/dists/bionic/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
    W: Some index files failed to download. They have been ignored, or old ones used instead.


    I'm not sure what is going wrong and I haven't found a solution on google yet. Is this an error on my part? I don't remember changing anything on my install.










    share|improve this question

























      0












      0








      0








      When I run apt-get update on my ubuntu 18.04.1 LTS, I get the following error messages



      Hit:1 https://download.docker.com/linux/ubuntu bionic InRelease
      Err:2 http://ppa.launchpad.net/communitheme/ppa/ubuntu bionic InRelease
      504 Gateway Timeout [IP: 135.245.192.7 8000]
      Err:3 http://be.archive.ubuntu.com/ubuntu bionic InRelease
      504 Gateway Timeout [IP: 135.245.192.7 8000]
      Err:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
      504 Gateway Timeout [IP: 135.245.192.7 8000]
      Err:5 http://be.archive.ubuntu.com/ubuntu bionic-updates InRelease
      504 Gateway Timeout [IP: 135.245.192.7 8000]
      Err:6 http://be.archive.ubuntu.com/ubuntu bionic-backports InRelease
      504 Gateway Timeout [IP: 135.245.192.7 8000]
      Reading package lists... Done
      W: Failed to fetch http://be.archive.ubuntu.com/ubuntu/dists/bionic/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
      W: Failed to fetch http://be.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
      W: Failed to fetch http://be.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
      W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
      W: Failed to fetch http://ppa.launchpad.net/communitheme/ppa/ubuntu/dists/bionic/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
      W: Some index files failed to download. They have been ignored, or old ones used instead.


      I'm not sure what is going wrong and I haven't found a solution on google yet. Is this an error on my part? I don't remember changing anything on my install.










      share|improve this question














      When I run apt-get update on my ubuntu 18.04.1 LTS, I get the following error messages



      Hit:1 https://download.docker.com/linux/ubuntu bionic InRelease
      Err:2 http://ppa.launchpad.net/communitheme/ppa/ubuntu bionic InRelease
      504 Gateway Timeout [IP: 135.245.192.7 8000]
      Err:3 http://be.archive.ubuntu.com/ubuntu bionic InRelease
      504 Gateway Timeout [IP: 135.245.192.7 8000]
      Err:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
      504 Gateway Timeout [IP: 135.245.192.7 8000]
      Err:5 http://be.archive.ubuntu.com/ubuntu bionic-updates InRelease
      504 Gateway Timeout [IP: 135.245.192.7 8000]
      Err:6 http://be.archive.ubuntu.com/ubuntu bionic-backports InRelease
      504 Gateway Timeout [IP: 135.245.192.7 8000]
      Reading package lists... Done
      W: Failed to fetch http://be.archive.ubuntu.com/ubuntu/dists/bionic/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
      W: Failed to fetch http://be.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
      W: Failed to fetch http://be.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
      W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
      W: Failed to fetch http://ppa.launchpad.net/communitheme/ppa/ubuntu/dists/bionic/InRelease 504 Gateway Timeout [IP: 135.245.192.7 8000]
      W: Some index files failed to download. They have been ignored, or old ones used instead.


      I'm not sure what is going wrong and I haven't found a solution on google yet. Is this an error on my part? I don't remember changing anything on my install.







      apt 18.04 updates lts






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 21 at 12:32









      PieterVPieterV

      1227




      1227






















          1 Answer
          1






          active

          oldest

          votes


















          1














          This is not obvious what is you network config. I do not have enough reputation score to ask more info in comment, sorry



          looks similar to "Unable to connect" error with apt-get: possible proxy?



          I believe 135.245.192.7:8000 is a proxy.
          Gateway timeout tells us the proxy is busy.
          Please try some other time.



          Or do you have a chance to change proxy?



          Please compare the proxy setting in browser and current APT settings in /etc/apt/*
          As per your questions you have access to inet via browser.



          Here are references for the apt proxy



          https://www.serverlab.ca/tutorials/linux/administration-linux/how-to-set-the-proxy-for-apt-for-ubuntu-18-04/



          apt.conf "Acquire::http:Proxy "proxyserver:port" seems not to be used (Ubuntu 13.04 under Virtual Box on Win7)






          share|improve this answer


























          • Indeed, apparently I had an outdated proxy config. Thanks!

            – PieterV
            Jan 22 at 9:40











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1111639%2fgateway-timeout-when-running-apt-get-update%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          This is not obvious what is you network config. I do not have enough reputation score to ask more info in comment, sorry



          looks similar to "Unable to connect" error with apt-get: possible proxy?



          I believe 135.245.192.7:8000 is a proxy.
          Gateway timeout tells us the proxy is busy.
          Please try some other time.



          Or do you have a chance to change proxy?



          Please compare the proxy setting in browser and current APT settings in /etc/apt/*
          As per your questions you have access to inet via browser.



          Here are references for the apt proxy



          https://www.serverlab.ca/tutorials/linux/administration-linux/how-to-set-the-proxy-for-apt-for-ubuntu-18-04/



          apt.conf "Acquire::http:Proxy "proxyserver:port" seems not to be used (Ubuntu 13.04 under Virtual Box on Win7)






          share|improve this answer


























          • Indeed, apparently I had an outdated proxy config. Thanks!

            – PieterV
            Jan 22 at 9:40
















          1














          This is not obvious what is you network config. I do not have enough reputation score to ask more info in comment, sorry



          looks similar to "Unable to connect" error with apt-get: possible proxy?



          I believe 135.245.192.7:8000 is a proxy.
          Gateway timeout tells us the proxy is busy.
          Please try some other time.



          Or do you have a chance to change proxy?



          Please compare the proxy setting in browser and current APT settings in /etc/apt/*
          As per your questions you have access to inet via browser.



          Here are references for the apt proxy



          https://www.serverlab.ca/tutorials/linux/administration-linux/how-to-set-the-proxy-for-apt-for-ubuntu-18-04/



          apt.conf "Acquire::http:Proxy "proxyserver:port" seems not to be used (Ubuntu 13.04 under Virtual Box on Win7)






          share|improve this answer


























          • Indeed, apparently I had an outdated proxy config. Thanks!

            – PieterV
            Jan 22 at 9:40














          1












          1








          1







          This is not obvious what is you network config. I do not have enough reputation score to ask more info in comment, sorry



          looks similar to "Unable to connect" error with apt-get: possible proxy?



          I believe 135.245.192.7:8000 is a proxy.
          Gateway timeout tells us the proxy is busy.
          Please try some other time.



          Or do you have a chance to change proxy?



          Please compare the proxy setting in browser and current APT settings in /etc/apt/*
          As per your questions you have access to inet via browser.



          Here are references for the apt proxy



          https://www.serverlab.ca/tutorials/linux/administration-linux/how-to-set-the-proxy-for-apt-for-ubuntu-18-04/



          apt.conf "Acquire::http:Proxy "proxyserver:port" seems not to be used (Ubuntu 13.04 under Virtual Box on Win7)






          share|improve this answer















          This is not obvious what is you network config. I do not have enough reputation score to ask more info in comment, sorry



          looks similar to "Unable to connect" error with apt-get: possible proxy?



          I believe 135.245.192.7:8000 is a proxy.
          Gateway timeout tells us the proxy is busy.
          Please try some other time.



          Or do you have a chance to change proxy?



          Please compare the proxy setting in browser and current APT settings in /etc/apt/*
          As per your questions you have access to inet via browser.



          Here are references for the apt proxy



          https://www.serverlab.ca/tutorials/linux/administration-linux/how-to-set-the-proxy-for-apt-for-ubuntu-18-04/



          apt.conf "Acquire::http:Proxy "proxyserver:port" seems not to be used (Ubuntu 13.04 under Virtual Box on Win7)







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 21 at 16:23

























          answered Jan 21 at 15:04









          KSIKSI

          362




          362













          • Indeed, apparently I had an outdated proxy config. Thanks!

            – PieterV
            Jan 22 at 9:40



















          • Indeed, apparently I had an outdated proxy config. Thanks!

            – PieterV
            Jan 22 at 9:40

















          Indeed, apparently I had an outdated proxy config. Thanks!

          – PieterV
          Jan 22 at 9:40





          Indeed, apparently I had an outdated proxy config. Thanks!

          – PieterV
          Jan 22 at 9:40


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1111639%2fgateway-timeout-when-running-apt-get-update%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to change which sound is reproduced for terminal bell?

          Can I use Tabulator js library in my java Spring + Thymeleaf project?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents