• Tags
  • Documentation
  • Order
  • Register
  • Login
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
568
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.
  • undefined
    Tinchus
    last edited by Phaedrux 13 Jan 2023, 22:32

    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

    undefined undefined 2 Replies Last reply 13 Jan 2023, 23:07 Reply Quote 0
    • undefined
      gloomyandy @Tinchus
      last edited by 13 Jan 2023, 23:07

      @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
      • undefined
        Phaedrux Moderator
        last edited by 14 Jan 2023, 05:12

        Maybe one for @chrishamm

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • undefined
          chrishamm administrators @Tinchus
          last edited by 14 Jan 2023, 11:18

          @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

          undefined 1 Reply Last reply 14 Jan 2023, 16:22 Reply Quote 0
          • undefined
            Tinchus @chrishamm
            last edited by Tinchus 14 Jan 2023, 16:22

            @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

            undefined 1 Reply Last reply 15 Jan 2023, 17:50 Reply Quote 0
            • undefined
              Falcounet @Tinchus
              last edited by 15 Jan 2023, 17:50

              @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.

              undefined undefined 2 Replies Last reply 17 Jan 2023, 13:02 Reply Quote 1
              • undefined
                chrishamm administrators @Falcounet
                last edited by 17 Jan 2023, 13:02

                @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

                undefined 1 Reply Last reply 12 Jun 2023, 06:36 Reply Quote 1
                • undefined
                  Tinchus @Falcounet
                  last edited by 17 Jan 2023, 19:09

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

                  1 Reply Last reply Reply Quote 2
                  • undefined Phaedrux marked this topic as a question 18 Jan 2023, 05:33
                  • undefined Phaedrux has marked this topic as solved 18 Jan 2023, 05:33
                  • undefined
                    SputnikOC3d @chrishamm
                    last edited by 12 Jun 2023, 06:36

                    @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 ...

                    undefined 1 Reply Last reply 12 Jun 2023, 09:38 Reply Quote 0
                    • undefined
                      chrishamm administrators @SputnikOC3d
                      last edited by 12 Jun 2023, 09:38

                      @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

                      undefined 1 Reply Last reply 14 Jun 2023, 07:50 Reply Quote 0
                      • undefined
                        SputnikOC3d @chrishamm
                        last edited by 14 Jun 2023, 07:50

                        @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
                        9 out of 11
                        • First post
                          9/11
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA