GithubHelp home page GithubHelp logo

3G support about libpusher HOT 4 CLOSED

pusher avatar pusher commented on July 24, 2024
3G support

from libpusher.

Comments (4)

lukeredpath avatar lukeredpath commented on July 24, 2024

I do believe that the most common cause of connection issues over 3G is transparent proxying by the network.

The best way to avoid this is with using encryption. I've just committed support for enabling SSL, by setting the encrypted parameter to YES.

Please try this and let me know if it works for you.

from libpusher.

papin avatar papin commented on July 24, 2024

Thanks for your prompt reply Luke but I don't understand how to set SSL encryption. I don't see any SSL parameter in the PTPusher class.

Can you give me the exact line to add ?

from libpusher.

kvnsmth avatar kvnsmth commented on July 24, 2024

Luke, thanks for the suggestion to use encryption. Does libPusher try an encrypted connection (WSS) if it fails to connect on unencrypted (WS)? The Pusher JS library has this behavior. I want to turn on encryption for my pusher app but am afraid it will break existing installations.

Thanks!

from libpusher.

lukeredpath avatar lukeredpath commented on July 24, 2024

I'm closing this issue now; the recommendation is to use an encrypted connection to ensure reliability over the cellular networks and avoid transparent proxying issues.

The library doesn't currently try both, it will try either encrypted or non-encrypted depending on how you create the PTPusher instance; if anybody thinks this will cause them a problem, please open a new issue.

from libpusher.

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.