Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot select DoH server on archlinux #33

Closed
maz-1 opened this issue Apr 24, 2019 · 5 comments
Closed

Cannot select DoH server on archlinux #33

maz-1 opened this issue Apr 24, 2019 · 5 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@maz-1
Copy link

maz-1 commented Apr 24, 2019

error message:

Traceback (most recent call last):
  File "accesser.py", line 303, in <module>
    DoH.init().run_forever()
  File "/opt/Accesser/utils/DoH.py", line 136, in init
    logger.info('Auto selected DoH server: '+DoH_domain)
TypeError: can only concatenate str (not "NoneType") to str

I added

    except Exception as e:
        print(e)

to line 113 of utils/DoH.py, And the exception info I get is
The NPN extension requires OpenSSL 1.0.1 or later.

According to a similar issue(HENNGE/aapns#10), the openssl libray provided by system may not have npn support enabled

@URenko
Copy link
Owner

URenko commented Apr 26, 2019

I‘ll check it when I have time, thanks

@lance6716
Copy link

Same TypeError here. Ubuntu 18

@URenko
Copy link
Owner

URenko commented May 6, 2019

Same TypeError here. Ubuntu 18

But I have just tested it on Ubuntu 18.04 (with python3.7.3 and Firefox) and it worked well.

You can check if the exception in line 113 is The NPN extension requires OpenSSL 1.0.1 or later.

@lance6716
Copy link

Same TypeError here. Ubuntu 18

But I have just tested it on Ubuntu 18.04 (with python3.7.3 and Firefox) and it worked well.

You can check if the exception in line 113 is The NPN extension requires OpenSSL 1.0.1 or later.

You're right. In fact openssl version is 1.1.1b, so it's same bug with maz-1

@URenko
Copy link
Owner

URenko commented May 7, 2019

For the same reason as #10, it will not be fixed.

You can use dnscrypt-proxy temporarily.

@URenko URenko added bug Something isn't working wontfix This will not be worked on labels May 7, 2019
@URenko URenko closed this as completed May 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants