esl / MongoosePush

MongoosePush is a simple Elixir RESTful service allowing to send push notification via FCM and/or APNS.
Apache License 2.0
108 stars 24 forks source link

Local Dev POST Error no_matching_pool #219

Open amatosolivo opened 2 months ago

amatosolivo commented 2 months ago

When making the POST to a local MongoosePush service it returns :

{ "reason": "no_matching_pool" }

Here the POST URL and Body https://localhost:8443/v3/notification/f534534543 { "service": "apns", "alert": { "body": "notification's text body", "title": "notification's title" } }

amatosolivo commented 2 months ago

This is the log

{"file[15]":115,"file[19]":120,"file[1]":105,"what":"pool_selection","service":"apns","file[4]":109,"when":"2024-08-02T11:45:03.454","file[9]":111,"at":".:75","file[14]":117,"device_id":"f534534543","file[7]":103,"file[8]":111,"file[6]":110,"pid":"#PID<0.2060.0>","file[0]":108,"file[13]":112,"reason":"no_matching_pool","request_id":"F-fz2sagvJNGkIEAAAAL","file[5]":111,"application":"mongoose_push","domain[0]":"elixir","mode":"prod","file[10]":115,"result":"error","file[17]":46,"file[3]":47,"file[11]":101,"file[12]":95,"category":"generic","severity":"error","file[2]":98,"text":"Unable to choose pool","file[16]":104,"file[18]":101}