1
16.1 Legacy Series / [SOLVED] update using http fails but works using https
« on: May 12, 2016, 05:00:39 pm »
Hi,
don't know, if its just with me. Started using OPNsense with 16.1.
Every update I did since then, which included the "opensense-x.y.z.txz" package failed.
WebUI Messages didn't help. Messages I got while upgrading vie shell menu have led to the right direction.
Today I took the time to collect messages and so on, so I want to share this, just in case, anyone else runs into this problem.
End of message in WebUI (which doesn't help):
Update stops here. Nothing gets updated.
End of messages in shell menu:
It is allways that package, which leeds to timeout.
I do this to work around:
edit /usr/local/etc/pkg/repos/origin.conf
change url from http to https. url looks like this afterwards:
url: "pkg+https://pkg.opnsense.org/${ABI}/16.1/latest"
Now update runs perfectly.
After update content of orign.conf is changed back to http. I assume origin.conf is included in update.
So this is no big deal for me anymore, nevertheless I have following wishes
- please change messages in WebUI, so that one can see, that download of a certain package fails
- does the repository have some donwload issue? Is it desired, that this package is available by https but not by http?
- maybe change url in origin.conf to https?
Thank you for your great work!
Best regards,
Joerg
don't know, if its just with me. Started using OPNsense with 16.1.
Every update I did since then, which included the "opensense-x.y.z.txz" package failed.
WebUI Messages didn't help. Messages I got while upgrading vie shell menu have led to the right direction.
Today I took the time to collect messages and so on, so I want to share this, just in case, anyone else runs into this problem.
End of message in WebUI (which doesn't help):
Code: [Select]
Fetching perl5-5.20.3_12.txz: .......... done
Fetching opnsense-update-16.1.9_1.txz: .. done
Restarting webConfigurator...done.
***DONE***
Update stops here. Nothing gets updated.
End of messages in shell menu:
Code: [Select]
19 MiB to be downloaded.
pkg-static: http://pkg.opnsense.org/FreeBSD:10:i386/16.1/latest/All/opnsense-16.1.13.txz: Operation timed out
It is allways that package, which leeds to timeout.
I do this to work around:
edit /usr/local/etc/pkg/repos/origin.conf
change url from http to https. url looks like this afterwards:
url: "pkg+https://pkg.opnsense.org/${ABI}/16.1/latest"
Now update runs perfectly.
After update content of orign.conf is changed back to http. I assume origin.conf is included in update.
So this is no big deal for me anymore, nevertheless I have following wishes

- please change messages in WebUI, so that one can see, that download of a certain package fails
- does the repository have some donwload issue? Is it desired, that this package is available by https but not by http?
- maybe change url in origin.conf to https?
Thank you for your great work!
Best regards,
Joerg