local Python repository with devpi on Ubuntu 18.04 could not connect to localhost












0















I am trying to set up my own local python repository of I am following the instructions on https://devpi.net/docs/devpi/devpi/latest/+d/quickstart-pypimirror.html



I can get it running and access it locally via localhost but as soon as I try to connect to the devpi server from a computer on the same network I get



user@user:~$ devpi use http://xxx.xxx.xxx.xxx:3141
Warning: insecure http host, trusted-host will be set for pip
could not connect to 'http://xxx.xxx.xxx.xxx:3141/+api':
HTTPConnectionPool(host='xxx.xxx.xxx.xxx', port=3141): Max retries exceeded with url: /+api (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7feb9631cef0>: Failed to establish a new connection: [Errno 111] Connection refused',))


The result of --start and --init commands look fine



user:~ user$ devpi-server --start --init
2019-02-14 12:54:12,289 INFO NOCTX Loading node info from /Users/femto-13/.devpi/server/.nodeinfo
2019-02-14 12:54:12,290 INFO NOCTX generated uuid: e848f4123df547aebfb4eb3f10407fd8
2019-02-14 12:54:12,290 INFO NOCTX wrote nodeinfo to: /Users/femto-13/.devpi/server/.nodeinfo
2019-02-14 12:54:12,325 INFO NOCTX DB: Creating schema
2019-02-14 12:54:12,428 INFO [Wtx-1] setting password for user 'root'
2019-02-14 12:54:12,428 INFO [Wtx-1] created user 'root' with email None
2019-02-14 12:54:12,428 INFO [Wtx-1] created root user
2019-02-14 12:54:12,429 INFO [Wtx-1] created root/pypi index
2019-02-14 12:54:12,432 INFO [Wtx-1] fswriter0: committed: keys: '.config','root/.config'
starting background devpi-server at http://localhost:3141
/Users/femto-13/.devpi/server/.xproc/devpi-server$ /Library/Frameworks/Python.framework/Versions/3.7/bin/devpi-server
process 'devpi-server' started pid=3920
devpi-server process startup detected


However, if I look at the web interface at localhost:3141 I see server status to be fatal (see image below)
enter image description here



It seems to be a straight-forward installation but something is wrong and I cannot figure it out.



Any suggestion?










share|improve this question



























    0















    I am trying to set up my own local python repository of I am following the instructions on https://devpi.net/docs/devpi/devpi/latest/+d/quickstart-pypimirror.html



    I can get it running and access it locally via localhost but as soon as I try to connect to the devpi server from a computer on the same network I get



    user@user:~$ devpi use http://xxx.xxx.xxx.xxx:3141
    Warning: insecure http host, trusted-host will be set for pip
    could not connect to 'http://xxx.xxx.xxx.xxx:3141/+api':
    HTTPConnectionPool(host='xxx.xxx.xxx.xxx', port=3141): Max retries exceeded with url: /+api (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7feb9631cef0>: Failed to establish a new connection: [Errno 111] Connection refused',))


    The result of --start and --init commands look fine



    user:~ user$ devpi-server --start --init
    2019-02-14 12:54:12,289 INFO NOCTX Loading node info from /Users/femto-13/.devpi/server/.nodeinfo
    2019-02-14 12:54:12,290 INFO NOCTX generated uuid: e848f4123df547aebfb4eb3f10407fd8
    2019-02-14 12:54:12,290 INFO NOCTX wrote nodeinfo to: /Users/femto-13/.devpi/server/.nodeinfo
    2019-02-14 12:54:12,325 INFO NOCTX DB: Creating schema
    2019-02-14 12:54:12,428 INFO [Wtx-1] setting password for user 'root'
    2019-02-14 12:54:12,428 INFO [Wtx-1] created user 'root' with email None
    2019-02-14 12:54:12,428 INFO [Wtx-1] created root user
    2019-02-14 12:54:12,429 INFO [Wtx-1] created root/pypi index
    2019-02-14 12:54:12,432 INFO [Wtx-1] fswriter0: committed: keys: '.config','root/.config'
    starting background devpi-server at http://localhost:3141
    /Users/femto-13/.devpi/server/.xproc/devpi-server$ /Library/Frameworks/Python.framework/Versions/3.7/bin/devpi-server
    process 'devpi-server' started pid=3920
    devpi-server process startup detected


    However, if I look at the web interface at localhost:3141 I see server status to be fatal (see image below)
    enter image description here



    It seems to be a straight-forward installation but something is wrong and I cannot figure it out.



    Any suggestion?










    share|improve this question

























      0












      0








      0








      I am trying to set up my own local python repository of I am following the instructions on https://devpi.net/docs/devpi/devpi/latest/+d/quickstart-pypimirror.html



      I can get it running and access it locally via localhost but as soon as I try to connect to the devpi server from a computer on the same network I get



      user@user:~$ devpi use http://xxx.xxx.xxx.xxx:3141
      Warning: insecure http host, trusted-host will be set for pip
      could not connect to 'http://xxx.xxx.xxx.xxx:3141/+api':
      HTTPConnectionPool(host='xxx.xxx.xxx.xxx', port=3141): Max retries exceeded with url: /+api (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7feb9631cef0>: Failed to establish a new connection: [Errno 111] Connection refused',))


      The result of --start and --init commands look fine



      user:~ user$ devpi-server --start --init
      2019-02-14 12:54:12,289 INFO NOCTX Loading node info from /Users/femto-13/.devpi/server/.nodeinfo
      2019-02-14 12:54:12,290 INFO NOCTX generated uuid: e848f4123df547aebfb4eb3f10407fd8
      2019-02-14 12:54:12,290 INFO NOCTX wrote nodeinfo to: /Users/femto-13/.devpi/server/.nodeinfo
      2019-02-14 12:54:12,325 INFO NOCTX DB: Creating schema
      2019-02-14 12:54:12,428 INFO [Wtx-1] setting password for user 'root'
      2019-02-14 12:54:12,428 INFO [Wtx-1] created user 'root' with email None
      2019-02-14 12:54:12,428 INFO [Wtx-1] created root user
      2019-02-14 12:54:12,429 INFO [Wtx-1] created root/pypi index
      2019-02-14 12:54:12,432 INFO [Wtx-1] fswriter0: committed: keys: '.config','root/.config'
      starting background devpi-server at http://localhost:3141
      /Users/femto-13/.devpi/server/.xproc/devpi-server$ /Library/Frameworks/Python.framework/Versions/3.7/bin/devpi-server
      process 'devpi-server' started pid=3920
      devpi-server process startup detected


      However, if I look at the web interface at localhost:3141 I see server status to be fatal (see image below)
      enter image description here



      It seems to be a straight-forward installation but something is wrong and I cannot figure it out.



      Any suggestion?










      share|improve this question














      I am trying to set up my own local python repository of I am following the instructions on https://devpi.net/docs/devpi/devpi/latest/+d/quickstart-pypimirror.html



      I can get it running and access it locally via localhost but as soon as I try to connect to the devpi server from a computer on the same network I get



      user@user:~$ devpi use http://xxx.xxx.xxx.xxx:3141
      Warning: insecure http host, trusted-host will be set for pip
      could not connect to 'http://xxx.xxx.xxx.xxx:3141/+api':
      HTTPConnectionPool(host='xxx.xxx.xxx.xxx', port=3141): Max retries exceeded with url: /+api (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7feb9631cef0>: Failed to establish a new connection: [Errno 111] Connection refused',))


      The result of --start and --init commands look fine



      user:~ user$ devpi-server --start --init
      2019-02-14 12:54:12,289 INFO NOCTX Loading node info from /Users/femto-13/.devpi/server/.nodeinfo
      2019-02-14 12:54:12,290 INFO NOCTX generated uuid: e848f4123df547aebfb4eb3f10407fd8
      2019-02-14 12:54:12,290 INFO NOCTX wrote nodeinfo to: /Users/femto-13/.devpi/server/.nodeinfo
      2019-02-14 12:54:12,325 INFO NOCTX DB: Creating schema
      2019-02-14 12:54:12,428 INFO [Wtx-1] setting password for user 'root'
      2019-02-14 12:54:12,428 INFO [Wtx-1] created user 'root' with email None
      2019-02-14 12:54:12,428 INFO [Wtx-1] created root user
      2019-02-14 12:54:12,429 INFO [Wtx-1] created root/pypi index
      2019-02-14 12:54:12,432 INFO [Wtx-1] fswriter0: committed: keys: '.config','root/.config'
      starting background devpi-server at http://localhost:3141
      /Users/femto-13/.devpi/server/.xproc/devpi-server$ /Library/Frameworks/Python.framework/Versions/3.7/bin/devpi-server
      process 'devpi-server' started pid=3920
      devpi-server process startup detected


      However, if I look at the web interface at localhost:3141 I see server status to be fatal (see image below)
      enter image description here



      It seems to be a straight-forward installation but something is wrong and I cannot figure it out.



      Any suggestion?







      18.04 python3






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 7 hours ago









      ValentynValentyn

      548




      548






















          0






          active

          oldest

          votes











          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%2f1118286%2flocal-python-repository-with-devpi-on-ubuntu-18-04-could-not-connect-to-localhos%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f1118286%2flocal-python-repository-with-devpi-on-ubuntu-18-04-could-not-connect-to-localhos%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

          Category:香港粉麵

          List *all* the tuples!

          Channel [V]