Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    cant connect to https://pkg.duet3d.com for update

    Scheduled Pinned Locked Moved Solved
    Firmware installation
    6
    11
    594
    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.
    • Tinchusundefined
      Tinchus
      last edited by Phaedrux

      Hello. Im trying to update from 3.4.4 to 3.4.5, duet3 SBC mode. and Im getting this:

      Err:1 https://pkg.duet3d.com stable InRelease
      Could not connect to pkg.duet3d.com:443 (134.209.94.168). - connect (101: Network is unreachable)
      Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
      Get:3 http://archive.raspberrypi.org/debian buster/main armhf Packages [392 kB]
      Get:4 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
      Fetched 439 kB in 6s (68.8 kB/s)
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      35 packages can be upgraded. Run 'apt list --upgradable' to see them.
      W: Failed to fetch https://pkg.duet3d.com/dists/stable/InRelease Could not connect to pkg.duet3d.com:443 (134.209.94.168). - connect (101: Network is unreachable)
      W: Some index files failed to download. They have been ignored, or old ones used instead.

      The SBC has internet connection because I checked through ssh connection:

      ping google.com
      PING google.com(2800:3f0:4002:810::200e (2800:3f0:4002:810::200e)) 56 data bytes
      64 bytes from 2800:3f0:4002:810::200e (2800:3f0:4002:810::200e): icmp_seq=1 ttl=119 time=12.4 ms
      64 bytes from 2800:3f0:4002:810::200e (2800:3f0:4002:810::200e): icmp_seq=2 ttl=119 time=14.2 ms

      Update server is down? Im getting this error since yesterday

      gloomyandyundefined chrishammundefined 2 Replies Last reply Reply Quote 0
      • gloomyandyundefined
        gloomyandy @Tinchus
        last edited by

        @Tinchus said in cant connect for update:

        https://pkg.duet3d.com

        isitdownrightnow seems to be reporting that the package server is at least running: https://www.isitdownrightnow.com/pkg.duet3d.com.html and I can reach it from the UK.

        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          Maybe one for @chrishamm

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • chrishammundefined
            chrishamm administrators @Tinchus
            last edited by

            @Tinchus It works for me, so not sure why it failed on your setup:

            # apt update
            Get:1 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
            Get:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
            Hit:3 https://pkg.duet3d.com unstable InRelease
            Get:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13.2 MB]
            Get:5 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [311 kB]
            Fetched 13.6 MB in 6s (2,223 kB/s)
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            8 packages can be upgraded. Run 'apt list --upgradable' to see them.
            

            Maybe try restarting your router and/or SBC.

            Duet software engineer

            Tinchusundefined 1 Reply Last reply Reply Quote 0
            • Tinchusundefined
              Tinchus @chrishamm
              last edited by Tinchus

              @chrishamm well, the server definetely is not reachable from Uruguay. The raspberry has internet connection as you can see on the results of the ssh session but is not able to reach the duet3d server:

              pi@printer2:~ $ sudo apt update
              Hit:1 http://archive.raspberrypi.org/debian buster InRelease
              Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
              Err:3 https://pkg.duet3d.com stable InRelease
              Could not connect to pkg.duet3d.com:443 (134.209.94.168). - connect (101: Network is unreachable)
              Fetched 15.0 kB in 5s (2,898 B/s)
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              35 packages can be upgraded. Run 'apt list --upgradable' to see them.
              W: Failed to fetch https://pkg.duet3d.com/dists/stable/InRelease Could not connect to pkg.duet3d.com:443 (134.209.94.168). - connect (101: Network is unreachable)
              W: Some index files failed to download. They have been ignored, or old ones used instead.
              pi@printer2:~ $ ping google.com
              PING google.com(2800:3f0:4002:808::200e (2800:3f0:4002:808::200e)) 56 data bytes
              64 bytes from 2800:3f0:4002:808::200e (2800:3f0:4002:808::200e): icmp_seq=1 ttl=119 time=12.7 ms
              64 bytes from 2800:3f0:4002:808::200e (2800:3f0:4002:808::200e): icmp_seq=2 ttl=119 time=12.9 ms
              64 bytes from 2800:3f0:4002:808::200e (2800:3f0:4002:808::200e): icmp_seq=3 ttl=119 time=13.6 ms
              ^C
              --- google.com ping statistics ---
              3 packets transmitted, 3 received, 0% packet loss, time 5ms
              rtt min/avg/max/mdev = 12.740/13.070/13.599/0.389 ms

              to update Im using the apt update method, can I update uploading the update zip file into DWC or this should not be done on a duet3 SBC setup?

              Also, on the printer the only thing I did wrong was doin a "apt update" commando WITHOUT the sudo , so I received an error on the first attemp. Is there a chance this could have broken something?

              PD: I have rebooted router and cable modem several times so far and also the printer

              Falcounetundefined 1 Reply Last reply Reply Quote 0
              • Falcounetundefined
                Falcounet @Tinchus
                last edited by

                @Tinchus said in cant connect to https://pkg.duet3d.com for update:

                @chrishamm well, the server definetely is not reachable from Uruguay. The raspberry has internet connection as you can see on the results of the ssh session but is not able to reach the duet3d server:

                Looks like that's something you have to clarify with your ISP.
                Maybe you can use a VPN as a workaround.
                Out of curiosity, what do you get when running ping 134.209.94.168 and sudo traceroute 134.209.94.168 ?

                to update Im using the apt update method, can I update uploading the update zip file into DWC or this should not be done on a duet3 SBC setup?

                I wouldn't recommend this and you have to keep DSF and firmware versions in sync as well.

                Also, on the printer the only thing I did wrong was doin a "apt update" commando WITHOUT the sudo , so I received an error on the first attemp. Is there a chance this could have broken something?

                No, the dsf user doesn't have the privileges so the command fails but nothing gets broken.

                chrishammundefined Tinchusundefined 2 Replies Last reply Reply Quote 1
                • chrishammundefined
                  chrishamm administrators @Falcounet
                  last edited by

                  @Falcounet That isn't right. I'm about to add support for update.zip to DSF in 3.5-b2 so that multiple .deb packages can be installed at once. In order to use this, root plugins will have to be enabled in the DSF config, though. The service installing them will be DuetPluginService running as root.

                  @Tinchus I don't know why our server isn't reachable from your internet connection in Uruguay - sorry.

                  Duet software engineer

                  SputnikOC3dundefined 1 Reply Last reply Reply Quote 1
                  • Tinchusundefined
                    Tinchus @Falcounet
                    last edited by

                    @Falcounet Today I tried again and this time connection was ok... weird. But problem is fixed. Thanks!

                    1 Reply Last reply Reply Quote 2
                    • Phaedruxundefined Phaedrux marked this topic as a question
                    • Phaedruxundefined Phaedrux has marked this topic as solved
                    • SputnikOC3dundefined
                      SputnikOC3d @chrishamm
                      last edited by

                      @chrishamm - where can I learn more about what this is about and how it works ? Im in SBC mode, but my printer is on a private lan in my shop and cannot easily get out to the internet to apt.get ...

                      chrishammundefined 1 Reply Last reply Reply Quote 0
                      • chrishammundefined
                        chrishamm administrators @SputnikOC3d
                        last edited by

                        @SputnikOC3d It's just a stub at this point. First of all, you need to enable root plugin support in /opt/dsf/conf/config.json by changing RootPluginSupport from false to true. Then restart the SBC or just DCS by running sudo systemctl restart duetcontrolserver from a Linux terminal. Once done, you need to download the latest .deb packages from the stable/unstable package feeds (see the command line here for a list of the packages you need), compress them as dsf-update.zip, and upload it on the Files -> System page. After 2mins or so, DWC should report that the installation was successful. I don't think this way of updating is supported before v3.4, though.

                        Duet software engineer

                        SputnikOC3dundefined 1 Reply Last reply Reply Quote 0
                        • SputnikOC3dundefined
                          SputnikOC3d @chrishamm
                          last edited by

                          @chrishamm said in cant connect to https://pkg.duet3d.com for update:

                          @SputnikOC3d It's just a stub at this point. First of all, you need to enable root plugin support in /opt/dsf/conf/config.json by changing RootPluginSupport from false to true. Then restart the SBC or just DCS by running sudo systemctl restart duetcontrolserver from a Linux terminal. Once done, you need to download the latest .deb packages from the stable/unstable package feeds (see the command line here for a list of the packages you need), compress them as dsf-update.zip, and upload it on the Files -> System page. After 2mins or so, DWC should report that the installation was successful. I don't think this way of updating is supported before v3.4, though.

                          Awesome - thank you ... running 3.4+ iirc - Need to fire up the beast and see where shes at ... Thanks again.

                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA