healthjoy / async-firebase

The lightweight asynchronous client that makes interaction with Firebase Cloud Messaging oversimplified.
MIT License
37 stars 14 forks source link

404 on send_each_for_multicast #73

Closed COSHW closed 7 months ago

COSHW commented 7 months ago

Recently, when sending multicast message, AsyncFirebaseClient would close the event loop and stop working further.

I did some digging myself and found out, that it happens because of 404 response when making a "message:send" request. Discovered cause of this was async_firebase/utils.py:49 util that has encoded a ":" symbol into "%3A", resulting in a 404 response.

Removing quote fixed the issue.

image

ndmytro commented 7 months ago

@COSHW thanks for bringing this up, I will take a look shortly