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!

    Licensing Violations on 6.0.2

    Scheduled Pinned Locked Moved Support
    11 Posts 4 Posters 37 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.
    • F Offline
      falk.winkler_2111
      last edited by

      Hi,

      we using Proget 6.0.2 Windows in a Windows Container based 'mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2019' with Traefik as reverse proxy. We having many 'Licensing Violations' on the Self Connetor'. This is the same with the original Linux Docker Container with a Jwilder-nginx-proxy.

      ee245a53-1f6c-4dc5-8ae0-7baaca6486f8-image.png

      e97324e9-fa3d-441b-bda0-1cff9ed071b8-image.png

      How we can fixing that?

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @falk.winkler_2111
        last edited by

        Hi @falk-winkler_2111,

        ProGet free edition only supports self-connectors when they connect directly to ProGet. If you bypass the proxy, that should resolve the license violations for you.

        To do this, just use http://localhost or http://<PROGET_IP_ADDRESS> in your connector without issue. Please give that a try and let me know if you run into any issues.

        Cheers,
        Alana

        1 Reply Last reply Reply Quote 0
        • F Offline
          falk.winkler_2111
          last edited by

          All Connectors using now http://localhost. The Ip 10.128.9.4 it's the Address from the dockerhost.

          90ed11f3-c313-4238-8941-f2960bdf5397-image.png

          add8f9c2-6d8c-4434-aded-fb1aa32eb685-image.png

          1 Reply Last reply Reply Quote 0
          • Dan_WoolfD Offline
            Dan_Woolf inedo-engineer
            last edited by

            Hi @falk-winkler_2111,

            Can you please try setting the Web.BaseUrl in Administration -> Advanced Settings to http://packages2.test.plano and restart your container? This will tell ProGet that the expected local URL is http://packages2.test.plano.

            Thanks,
            Dan

            1 Reply Last reply Reply Quote 0
            • F Offline
              falk.winkler_2111
              last edited by

              Hi,

              I have, nothing has changed.

              1 Reply Last reply Reply Quote 0
              • rhessingerR Offline
                rhessinger inedo-engineer
                last edited by

                Hi @falk-winkler_2111,

                What headers do you currently have forwarding in Traefik? We have documentation around setting up nginx, I know it is a different tool than Traefik, but it does include the standard headers that you need to forward.

                Thanks,
                Rich

                Products Engineer, Inedo

                1 Reply Last reply Reply Quote 0
                • F Offline
                  falk.winkler_2111
                  last edited by

                  Hi,

                  this is with the same settings as the proget and traefik.

                  IP: 127.0.0.1
                  IP: fe80::64d1:bbf:13a4:93e7
                  IP: 172.24.56.32
                  RemoteAddr: 172.24.60.66:61093
                  GET / HTTP/1.1
                  Host: whoami.develop.plano
                  User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36
                  Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9
                  Accept-Encoding: gzip, deflate, br
                  Accept-Language: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7
                  Sec-Ch-Ua: " Not A;Brand";v="99", "Chromium";v="96", "Google Chrome";v="96"
                  Sec-Ch-Ua-Mobile: ?0
                  Sec-Ch-Ua-Platform: "Windows"
                  Sec-Fetch-Dest: document
                  Sec-Fetch-Mode: navigate
                  Sec-Fetch-Site: none
                  Sec-Fetch-User: ?1
                  Upgrade-Insecure-Requests: 1
                  X-Forwarded-For: 10.128.5.241
                  X-Forwarded-Host: whoami.develop.plano
                  X-Forwarded-Port: 443
                  X-Forwarded-Proto: https
                  X-Forwarded-Server: bfc63359bdb4
                  X-Real-Ip: 10.128.5.241

                  1 Reply Last reply Reply Quote 0
                  • rhessingerR Offline
                    rhessinger inedo-engineer
                    last edited by

                    Hi @falk-winkler_2111,

                    That all looks correct. When you used localhost for the connector, did you still have the Web.BaseUrl set? If so, can you place try clearing that when you are using localhost? Typically I suggest using Web.BaseUrl when your self-connectors connect to that same URL, when using localhost you should leave that value blank. Also, is the internal port that ProGet is running on within the container port 80 also, or is it a port that Docker is mapping to an external port 80? That can also cause license violations in ProGet Free.

                    I'm also going to try to look through past tickets with users who use Traefik. I did a brief scan before my last comment and the X-Forward* headers seem to be the most common issue in the configuration.

                    Thanks,
                    Rich

                    Products Engineer, Inedo

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      falk.winkler_2111
                      last edited by

                      hi and thank you, all works fine now.

                      1 Reply Last reply Reply Quote 0
                      • Dan_WoolfD Offline
                        Dan_Woolf inedo-engineer
                        last edited by

                        Hi @falk-winkler_2111,

                        Thanks for following up and letting us know this is resolved now. Can you please post what your final solution was?

                        Thanks,
                        Dan

                        1 Reply Last reply Reply Quote 0
                        • F Offline
                          falk.winkler_2111
                          last edited by

                          hi,

                          I had in the proxy configuration both allowed, ssl and non ssl. The Web.BaseUrl must be make empty. All self connector using http://localhost as base url.

                          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