Comments (8)
Thanks for the report. The first step would be to fix the problem in https://github.com/web-push-libs/encrypted-content-encoding, then update the package here.
from web-push.
Both are part of this same group, is this issue sufficient or should I duplicate it on the other repo?
from web-push.
@wmaltmann it'd be useful to file an issue on the other repo as well, and this one can track updating the dependency once the other repo's issue is fixed.
from web-push.
Just upgrading to the latest nodejs (18) runtime in AWS lamda solved the issue for me. I was on nodejs 16
from web-push.
Also running into this, although strangely a few notifications will make it through, and then the error surfaces after some amount of time has passed.
(node:8) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Worth noting this is running Node 18βin response to the note above.
Happy to look into this further but figured Iβd check in @wmaltmann.
from web-push.
@jondashkyle if you want to help, you'd need to fix web-push-libs/encrypted-content-encoding#68 in a similar fashion to #813.
from web-push.
I worked around it by making the change locally and pointing to my local version.
from web-push.
@wmaltmann could you submit a PR? That would benefit everyone!
from web-push.
Related Issues (20)
- Add whitelist for valid browser push service hosts HOT 9
- iOS and Apple HOT 5
- Encoding issues while generating VAPID keys HOT 4
- Body not showing in push notification HOT 2
- package.json: change of node >= 6 to node >= 16 should be a minor version upgrade? HOT 1
- Validation error of protocol is never returned
- Is there a changelog somewhere? HOT 3
- TypeError [ERR_UNKNOWN_ENCODING]: Unknown encoding: base64url HOT 2
- Notifications not always shown in MacOS Chrome HOT 1
- How to define target endpoint for notification HOT 1
- Add support for multiple WebPush instances HOT 2
- Calling fetch function for push notifications in service worker causes CORS error HOT 1
- Can webpush push be configured with images like new notification messages? HOT 1
- Unsubscribed due to error DELIVERY_PERMISSION_DENIED
- FCM legacy api shutdown HOT 1
- Will the code still work when FCM API is removed in Jun-2024? HOT 2
- util.inherits is not a function
- [Feature Request] Add Image Support
- Deno Support HOT 1
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.