Giter Site home page Giter Site logo

Comments (6)

mr-canoehead avatar mr-canoehead commented on August 17, 2024

I haven't used this project in some time, so I did a fresh install today to see if I could reproduce the problem you're encountering; yes, it's definitely broken. There seems to be an incompatibility between the latest versions of the Green Unicorn WSGI server and the Eventlet async handler.

I have encountered this issue before on another project and was able to resolve it by switching from 'eventlet' handlers to 'threading' in the gunicorn config + application server code. It's a minor change, so I modified my installation to get rid of the Eventlet dependency and now the web interface is working normally; I can see the vpn client gateway status, switch servers, etc.

I still need to do a bit more testing, and there may be some other issues to address as well (e.g. the 'Get IP address geolocation' tool seems to be broken). I hope to push the changes to a test branch later this week, and if all goes well merge it to the master branch this weekend.

I'll update this thread with my progress on the issue.

Thanks,
Chris

from vpn_client_gateway.

izo1 avatar izo1 commented on August 17, 2024

Ah so sorry for pulling you back in haha!

If you have any alternate lightweight versions that are awesome as this one, possible to recommend one?

from vpn_client_gateway.

mr-canoehead avatar mr-canoehead commented on August 17, 2024

An easy workaround for this issue is to install an older version of eventlet:

  1. remove eventlet:
    sudo pip3 uninstall eventlet

  2. install eventlet 0.30.2:
    sudo pip3 install eventlet==0.30.2

  3. restart the application server:
    sudo systemctl restart vpncgw.service

After doing this on my test system the management web page functioned as expected.

from vpn_client_gateway.

izo1 avatar izo1 commented on August 17, 2024

Thank you for that! I think it worked.

I believe these were auto updated when I had the server running for about a year?

Is there a way to disable auto update or is that off by default?

I guess I wasted time reinstalling everything haha

from vpn_client_gateway.

izo1 avatar izo1 commented on August 17, 2024

@mr-canoehead I am also having an issue with DNS servers for PIA? It seems they keep changing it.

209.222.18.222 and 209.222.18.218 seems wrong and 1.1.1.1/8.8.8.8 may causee leaking.

Any other suggestions?

from vpn_client_gateway.

zweid0bby avatar zweid0bby commented on August 17, 2024

Any idea how to fix this or an alternative ??
sudo pip3 install eventlet==0.30.2 didnt work for me

from vpn_client_gateway.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.