Comments (5)
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.
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.
Check out the release v1.3.3 :)
from web-push-php.
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.
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)
- cURL error 28: NSS: client certificate not found (nickname not specified)
- event.data is always null HOT 8
- Shared device question HOT 2
- Get subscription from report (in case of error) HOT 2
- Pass a custom variable to flush() HOT 1
- some subscribers get 403 Error HOT 1
- Successfull message but nothing happens HOT 1
- Consider using `GuzzleHttp\Pool` in `flush` HOT 5
- web app ios error
- size of payload must not be greater than 4078 octets HOT 2
- Não estou conseguindo implantar n meu sistema, alguem quer um freelance para fazer isso? HOT 1
- Help with frontend HOT 4
- Notification not sent due to hex2bin() error
- 12x performance difference between windows and linux HOT 1
- Migration to new Firebase HTTPv1 api's question. HOT 2
- Make $supportedContentEncodings publicly available or implement encoding negotiation
- $report->isSuccess() always returns true with web.push.apple.com HOT 4
- Remove legacy code and updates HOT 3
- Abandoned packages HOT 4
- Push Notification in IOS HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web-push-php.