cant connect to https://pkg.duet3d.com for update
-
@Tinchus said in cant connect for update:
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.
-
Maybe one for @chrishamm
-
@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.
-
@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 msto 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
-
@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 runningping 134.209.94.168
andsudo 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.
-
@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 beDuetPluginService
running as root.@Tinchus I don't know why our server isn't reachable from your internet connection in Uruguay - sorry.
-
@Falcounet Today I tried again and this time connection was ok... weird. But problem is fixed. Thanks!
-
-
-
@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 ...
-
@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 changingRootPluginSupport
fromfalse
totrue
. Then restart the SBC or just DCS by runningsudo 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 asdsf-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. -
@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 changingRootPluginSupport
fromfalse
totrue
. Then restart the SBC or just DCS by runningsudo 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 asdsf-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.