OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Timeout while connecting to the selected mirror
« previous next »
  • Print
Pages: [1]

Author Topic: Timeout while connecting to the selected mirror  (Read 5413 times)

tre4bax

  • Full Member
  • ***
  • Posts: 151
  • Karma: 4
    • View Profile
Timeout while connecting to the selected mirror
« on: October 07, 2018, 12:19:54 pm »
I loaded NTOPNG the other day to do traffic analysis.  What I didn't spot until I went in to configure it was I need to install Redis.  When I have tried to update the plugins to see this and install it I constantly get the above.  I have tried everything I can think of.  I have tried rebooting the router, several times and I have tried changing the mirrors.  To no avail.

Yesterday I read something about pinging opnsense.org.

If I do this from my router it pings 81.171.2.181 and gets 100% packet loss

If I do it from a workstation connected to the same router this pings fine 0% packet loss average 14ms

Is this the source of my issue with updating the plugins?  and if so what the heck have I done here?  Really wish the config on this could be source managed through GIT or something so I can unwrap ;-)
Logged

tre4bax

  • Full Member
  • ***
  • Posts: 151
  • Karma: 4
    • View Profile
Re: Timeout while connecting to the selected mirror
« Reply #1 on: October 09, 2018, 10:06:40 pm »
Still cannot do any form of update.  surely someone has encountered this before?
Logged

tre4bax

  • Full Member
  • ***
  • Posts: 151
  • Karma: 4
    • View Profile
Re: Timeout while connecting to the selected mirror
« Reply #2 on: October 09, 2018, 10:19:17 pm »
Looks like this might be the issue:

configd.py: [c02ed810-623c-4d1e-9b21-8eed1e89e80f] Script action failed with Command 'pkg rquery "%n|||%v|||%c|||%sh|||0|||%L"' returned non-zero exit status 74 at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 481, in execute stdout=output_stream, stderr=error_stream) File "/usr/local/lib/python2.7/subprocess.py", line 190, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command 'pkg rquery "%n|||%v|||%c|||%sh|||0|||%L"' returned non-zero exit status 74
Logged

tre4bax

  • Full Member
  • ***
  • Posts: 151
  • Karma: 4
    • View Profile
Re: Timeout while connecting to the selected mirror
« Reply #3 on: October 12, 2018, 10:35:15 am »
Where is a mirror address so I can ping it from the box?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: Timeout while connecting to the selected mirror
« Reply #4 on: October 17, 2018, 10:50:53 pm »
Running this from the console will reveal the mirror address:

# opnsense-update -M


Cheers,
Franco
Logged

tre4bax

  • Full Member
  • ***
  • Posts: 151
  • Karma: 4
    • View Profile
Re: Timeout while connecting to the selected mirror
« Reply #5 on: October 18, 2018, 11:05:51 am »
Many thanks Franco.  I will give it a try.

Trev
Logged

Andreas_

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 1
    • View Profile
Re: Timeout while connecting to the selected mirror
« Reply #6 on: October 26, 2018, 09:04:50 am »
I had the same problem; couldn't update my 18.7.4 to .5 or .6 via GUI on one of two routers (carp pair). changelog was downloaded/unpacked successfully, but then things stopped. Connectivity to update site (pkg.opnsense) was fine.

I finally conducted the update via CLI successfully.
Logged

Stifler

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Timeout while connecting to the selected mirror
« Reply #7 on: December 07, 2018, 10:41:11 am »
Just registered to share my issue that caused this same problem.

If you installed the Sunny Valley Networks "Sensei" package for OPNSense, and then uninstalled it, it leaves behind traces in the /etc/local/etc/pkg/repo folder.

The best thing to do is open the file left behind (sunneyvalley.conf) and disable the repo. Then update the pkg system.

pkg update -f

Might not be Sensei, but could be something installed that left cruft on your system.

Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Timeout while connecting to the selected mirror
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2