简体   繁体   中英

Firebase asp.net push notifications works locally but not deployed

I have a 2019 ASP.NET basic project for push notifications using Firebase and swagger and it works locally (i receive the message to my device). When I publish the project to the local file system and put that on the windows server (iis 10) it does not send the push notification, just reports: { "isSuccess": false, "message": "Something went wrong" } What could the problem be? Is there a way to get a more detailed error?

I uploaded the launchSettings.json with my domain name set in the same folder which is not created when published but that made no difference.

Figured it out, the error was being handled in the code in a try catch so I just had to show the non-sanitized version of the error.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM