Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Proget: The SSL connection could not be established for NPM Feed

    Scheduled Pinned Locked Moved Support
    5 Posts 2 Posters 15 Views
    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.
    • K Offline
      kc_2466
      last edited by

      Proget 2024.36 (build 5) - Free edition

      I've created 3 NPM feeds:
      first one connects to npsjs.org in order to cache packages
      seconds one has no connectors, and is for local packages
      third one aggregates the other two

      If you view the feed page for the aggregate feed - you see error messages for both the connectors:
      9d735326-29b7-4466-9afb-7fb991cda48c-image.png

      The ProGet server has a valid SSL certificate - Although, if it's relevant, it is issued by our own internal Certificate Authority.

      There are no message showing in the Diagnostic Centre.

      stevedennisS 1 Reply Last reply Reply Quote 0
      • stevedennisS Offline
        stevedennis inedo-engineer @kc_2466
        last edited by

        Hi @kc_2466 ,

        This error means that the ProoGet server itself cannot make a secure / SSL connection to the URLs you've configured.

        We know that npmjs.org has a valid certificate, so this means that "something" on the server or in your network is interfering with outbound traffic. This is typically a content filter, proxy, or something to that effect.

        You would get the same results of if you were to curl those URLs while logged in to the ProGet server, running under the same user that ProGet is running as.

        Thanks,
        Steve

        1 Reply Last reply Reply Quote 0
        • K Offline
          kc_2466
          last edited by

          It's not the feed that connects directly to npmjs.org that has these errors, it's the feed that aggregates the other two - so it's almost as if it's having a problem with it's own feeds?

          ProGet is running under docker, and I don't think your docker container has curl - so that makes it tricky.

          stevedennisS 1 Reply Last reply Reply Quote 0
          • stevedennisS Offline
            stevedennis inedo-engineer @kc_2466
            last edited by

            Hi @kc_2466,

            I see - so they are "self-connectors", and ProGet is effectively connecting to itself. In that case, then the ProGet server is not "trusting" your in-house certificates.

            You'll need tot add a self-signed CA to Docker configuration. See the self-signed-ca option:
            https://docs.inedo.com/docs/installation/linux/docker-guide

            Cheers,
            Steve

            1 Reply Last reply Reply Quote 0
            • K Offline
              kc_2466
              last edited by

              Yes - they are "self-connectors". We've now bought an externally signed certificate, as it seemed like the simpler option (the in house cert option was causing other issues too). However that hasn't resolved the issue with the self-connectors.

              However, I've just edited those connectors manually to use http rather than https, and that has resolved the issue. But It's not really an ideal solution.

              So it looks like from inside the docker container it's still not "trusting" the externally signed certificate.

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation