Giter Site home page Giter Site logo

Comments (5)

Minishlink avatar Minishlink commented on June 3, 2024 2

Apparently Firefox for Mobile has restrictions of payload length.
I filled an issue on mozilla-services/autopush#748 since it's not a standard behavior.

In the meantime, you can disable automatic padding.

from web-push-php.

Minishlink avatar Minishlink commented on June 3, 2024

To sum up, they have no easy way of supporting the standard 4096 bytes length and I don't feel a lot of enthusiasm to do so.

I'll decrease the padding length, and update the README, in order to have more "out-of-the-box" compatiblity.

Thanks for your feedback!

from web-push-php.

Minishlink avatar Minishlink commented on June 3, 2024

Check out the release v1.3.3 :)

from web-push-php.

albertsylvester avatar albertsylvester commented on June 3, 2024

Dear Minishlink,

Yeah, Why did I get this error in Firefox android?
"errno": 105, "message": "Request did not validate Critical Failure: Client is unreachable due to a configuration error. Unable to send message

Array ( [0] => Array ( [success] => [endpoint] => https://updates.push.services.mozilla.com/wpush/v2/gAAAAABYcXhkmxpJQyL2gMvSHlkRIRMePd8vz0w4ZFFF82Whz7zPzzNjnaOXXWyaQ2VIl6nmcfXhKljeDG6dw34UWW12bl1zMXO7oVmzV2xKBOoOdhN30Sg9bX1gmXGa-ow1Rf9UbIbqEhqFAAhGknLlpolC6DKo4x2fl_4QOmTm3dKkXXXXXX [statusCode] => 410 [headers] => Array ( [0] => HTTP/1.1 410 Gone [1] => Access-Control-Allow-Headers: content-encoding,encryption,crypto-key,ttl,encryption-key,content-type,authorization [2] => Access-Control-Allow-Methods: POST [3] => Access-Control-Allow-Origin: * [4] => Access-Control-Expose-Headers: location,www-authenticate [5] => Content-Type: application/json [6] => Date: Sat, 07 Jan 2017 23:44:42 GMT [7] => Server: nginx [8] => Content-Length: 252 [9] => Connection: keep-alive ) [content] => {"errno": 105, "message": "Request did not validate Critical Failure: Client is unreachable due to a configuration error. Unable to send message.", "code": 410, "more_info": "http://autopush.readthedocs.io/en/latest/http.html#error-codes", "error": ""} [expired] => 1 ) )

Thank you

Warm regards,

Albert

from web-push-php.

Minishlink avatar Minishlink commented on June 3, 2024

Hi Albert, that must be a bug from the bridge between Firefox autopush and Google notification service. I can't help you, sorry.

from web-push-php.

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.