Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    SSL not available in Python 3.7 after upgrade to pfSense 2.5

    pfSense Packages
    1
    1
    50
    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.
    • L
      Larusso last edited by

      Hi, I've got problem with speedtest after upgrade, It seems python do not have ssl module available and for some reason speedtest tries to use https version even without using --secure switch.
      Here is a stack trace
      Retrieving speedtest.net configuration...
      Traceback (most recent call last):
      File "/usr/local/bin/speedtest", line 11, in <module>
      load_entry_point('speedtest-cli==2.1.2', 'console_scripts', 'speedtest')()
      File "/usr/local/lib/python3.7/site-packages/speedtest.py", line 1986, in main
      shell()
      File "/usr/local/lib/python3.7/site-packages/speedtest.py", line 1875, in shell
      secure=args.secure
      File "/usr/local/lib/python3.7/site-packages/speedtest.py", line 1091, in init
      self.get_config()
      File "/usr/local/lib/python3.7/site-packages/speedtest.py", line 1121, in get_config
      uh, e = catch_request(request, opener=self._opener)
      File "/usr/local/lib/python3.7/site-packages/speedtest.py", line 730, in catch_request
      uh = _open(request)
      File "/usr/local/lib/python3.7/urllib/request.py", line 531, in open
      response = meth(req, response)
      File "/usr/local/lib/python3.7/urllib/request.py", line 641, in http_response
      'http', request, response, code, msg, hdrs)
      File "/usr/local/lib/python3.7/urllib/request.py", line 563, in error
      result = self._call_chain(*args)
      File "/usr/local/lib/python3.7/urllib/request.py", line 503, in _call_chain
      result = func(*args)
      File "/usr/local/lib/python3.7/urllib/request.py", line 755, in http_error_302
      return self.parent.open(new, timeout=req.timeout)
      File "/usr/local/lib/python3.7/urllib/request.py", line 525, in open
      response = self._open(req, data)
      File "/usr/local/lib/python3.7/urllib/request.py", line 543, in _open
      '_open', req)
      File "/usr/local/lib/python3.7/urllib/request.py", line 503, in _call_chain
      result = func(*args)
      File "/usr/local/lib/python3.7/site-packages/speedtest.py", line 563, in https_open
      SpeedtestHTTPSConnection,
      NameError: name 'SpeedtestHTTPSConnection' is not defined

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Products

      • Platform Overview
      • TNSR
      • pfSense
      • Appliances

      Services

      • Training
      • Professional Services

      Support

      • Subscription Plans
      • Contact Support
      • Product Lifecycle
      • Documentation

      News

      • Media Coverage
      • Press
      • Events

      Resources

      • Blog
      • FAQ
      • Find a Partner
      • Resource Library
      • Security Information

      Company

      • About Us
      • Careers
      • Partners
      • Contact Us
      • Legal
      Our Mission

      We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

      Subscribe to our Newsletter

      Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

      © 2021 Rubicon Communications, LLC | Privacy Policy