Completed

Azure Functions - Necesito ayuda para resolver un error relacionado con Firebase

Published on the November 17, 2022 in IT & Programming

About this project

Open

Hola

Necesito un desarrollador de .Net que tenga experiencia colocando Azure functions en producción. He creado una Azure function que envía notificaciones PUSH mediante Firebase, usando el nuget FirebaseAdmin.
Tengo una arquitectura de capas y el proyecto funciona bien en modo local. Las notificaciones son enviadas y llegan a su destino, no obstante, al publicar en un portal interno de Azure, sale este error:


2022-11-11T18:03:03  Welcome, you are now connected to log-streaming service. The default timeout is 2 hours. Change the timeout with the App Setting SCM_LOGSTREAM_TIMEOUT (in seconds).
2022-11-11T18:04:00.033 [Information] Executing ‘SendPushNotifications’ (Reason=‘Timer fired at 2022-11-11T15:04:00.0271951-03:00’, Id=d2afee7a-7b9f-4305-b755-1f1e50266e86)
2022-11-11T18:04:00.148 [Error] No se pudo enviar push:System.ArgumentNullException : Value cannot be null. (Parameter ‘App argument must not be null.’)At FirebaseAdmin.Messaging.FirebaseMessaging.GetMessaging(FirebaseApp app)at async StoreVisibilityFunctionAzureDev.Infraestructura.Data.Servicios.NotificationsService.SendNotification(PushNotification pushNotification)at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async RedinFunctionAzure.Notifications.SendPushNotifications(TimerInfo myTimer,ILogger log) at /Users/vn0v4mv/Documents/LookApp/Desarrollo/LOOKAPP-azure-function2/StoreVisibilityFunctionAzure/Functions/Notifications.cs : 55
2022-11-11T18:04:00.176 [Error] No se pudo enviar push:System.ArgumentNullException : Value cannot be null. (Parameter ‘App argument must not be null.’)At FirebaseAdmin.Messaging.FirebaseMessaging.GetMessaging(FirebaseApp app)at async StoreVisibilityFunctionAzureDev.Infraestructura.Data.Servicios.NotificationsService.SendNotification(PushNotification pushNotification)at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async RedinFunctionAzure.Notifications.SendPushNotifications(TimerInfo myTimer,ILogger log) at /Users/vn0v4mv/Documents/LookApp/Desarrollo/LOOKAPP-azure-function2/StoreVisibilityFunctionAzure/Functions/Notifications.cs : 55
2022-11-11T18:04:00.185 [Error] No se pudo enviar push:System.ArgumentNullException : Value cannot be null. (Parameter ‘App argument must not be null.’)At FirebaseAdmin.Messaging.FirebaseMessaging.GetMessaging(FirebaseApp app)at async StoreVisibilityFunctionAzureDev.Infraestructura.Data.Servicios.NotificationsService.SendNotification(PushNotification pushNotification)at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async RedinFunctionAzure.Notifications.SendPushNotifications(TimerInfo myTimer,ILogger log) at /Users/vn0v4mv/Documents/LookApp/Desarrollo/LOOKAPP-azure-function2/StoreVisibilityFunctionAzure/Functions/Notifications.cs : 55
2022-11-11T18:04:00.191 [Error] No se pudo enviar push:System.ArgumentNullException : Value cannot be null. (Parameter ‘App argument must not be null.’)At FirebaseAdmin.Messaging.FirebaseMessaging.GetMessaging(FirebaseApp app)at async StoreVisibilityFunctionAzureDev.Infraestructura.Data.Servicios.NotificationsService.SendNotification(PushNotification pushNotification)at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async RedinFunctionAzure.Notifications.SendPushNotifications(TimerInfo myTimer,ILogger log) at /Users/vn0v4mv/Documents/LookApp/Desarrollo/LOOKAPP-azure-function2/StoreVisibilityFunctionAzure/Functions/Notifications.cs : 55
2022-11-11T18:04:00.199 [Error] No se pudo enviar push:System.ArgumentNullException : Value cannot be null. (Parameter ‘App argument must not be null.’)At FirebaseAdmin.Messaging.FirebaseMessaging.GetMessaging(FirebaseApp app)at async StoreVisibilityFunctionAzureDev.Infraestructura.Data.Servicios.NotificationsService.SendNotification(PushNotification pushNotification)at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async RedinFunctionAzure.Notifications.SendPushNotifications(TimerInfo myTimer,ILogger log) at /Users/vn0v4mv/Documents/LookApp/Desarrollo/LOOKAPP-azure-function2/StoreVisibilityFunctionAzure/Functions/Notifications.cs : 55
2022-11-11T18:04:00.207 [Error] No se pudo enviar push:System.ArgumentNullException : Value cannot be null. (Parameter ‘App argument must not be null.’)At FirebaseAdmin.Messaging.FirebaseMessaging.GetMessaging(FirebaseApp app)at async StoreVisibilityFunctionAzureDev.Infraestructura.Data.Servicios.NotificationsService.SendNotification(PushNotification pushNotification)at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async RedinFunctionAzure.Notifications.SendPushNotifications(TimerInfo myTimer,ILogger log) at /Users/vn0v4mv/Documents/LookApp/Desarrollo/LOOKAPP-azure-function2/StoreVisibilityFunctionAzure/Functions/Notifications.cs : 55
2022-11-11T18:04:00.214 [Error] No se pudo enviar push:System.ArgumentNullException : Value cannot be null. (Parameter ‘App argument must not be null.’)At FirebaseAdmin.Messaging.FirebaseMessaging.GetMessaging(FirebaseApp app)at async StoreVisibilityFunctionAzureDev.Infraestructura.Data.Servicios.NotificationsService.SendNotification(PushNotification pushNotification)at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async RedinFunctionAzure.Notifications.SendPushNotifications(TimerInfo myTimer,ILogger log) at /Users/vn0v4mv/Documents/LookApp/Desarrollo/LOOKAPP-azure-function2/StoreVisibilityFunctionAzure/Functions/Notifications.cs : 55
2022-11-11T18:04:00.221 [Error] No se pudo enviar push:System.ArgumentNullException : Value cannot be null. (Parameter ‘App argument must not be null.’)At FirebaseAdmin.Messaging.FirebaseMessaging.GetMessaging(FirebaseApp app)at async StoreVisibilityFunctionAzureDev.Infraestructura.Data.Servicios.NotificationsService.SendNotification(PushNotification pushNotification)at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async RedinFunctionAzure.Notifications.SendPushNotifications(TimerInfo myTimer,ILogger log) at /Users/vn0v4mv/Documents/LookApp/Desarrollo/LOOKAPP-azure-function2/StoreVisibilityFunctionAzure/Functions/Notifications.cs : 55
2022-11-11T18:04:00.230 [Error] No se pudo enviar push:System.ArgumentNullException : Value cannot be null. (Parameter ‘App argument must not be null.’)At FirebaseAdmin.Messaging.FirebaseMessaging.GetMessaging(FirebaseApp app)at async StoreVisibilityFunctionAzureDev.Infraestructura.Data.Servicios.NotificationsService.SendNotification(PushNotification pushNotification)at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async RedinFunctionAzure.Notifications.SendPushNotifications(TimerInfo myTimer,ILogger log) at /Users/vn0v4mv/Documents/LookApp/Desarrollo/LOOKAPP-azure-function2/StoreVisibilityFunctionAzure/Functions/Notifications.cs : 55
2022-11-11T18:04:00.237 [Error] No se pudo enviar push:System.ArgumentNullException : Value cannot be null. (Parameter ‘App argument must not be null.’)At FirebaseAdmin.Messaging.FirebaseMessaging.GetMessaging(FirebaseApp app)at async StoreVisibilityFunctionAzureDev.Infraestructura.Data.Servicios.NotificationsService.SendNotification(PushNotification pushNotification)at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async RedinFunctionAzure.Notifications.SendPushNotifications(TimerInfo myTimer,ILogger log) at /Users/vn0v4mv/Documents/LookApp/Desarrollo/LOOKAPP-azure-function2/StoreVisibilityFunctionAzure/Functions/Notifications.cs : 55
2022-11-11T18:04:00.246 [Information] Executed ‘SendPushNotifications’ (Succeeded, Id=d2afee7a-7b9f-4305-b755-1f1e50266e86, Duration=219ms)

Project overview

Me gustaría tener tu ayuda para resolver este problema en el proyecto oficial.

Category IT & Programming
Subcategory Other
Is this a project or a position? Project
I currently have I have specifications
Required availability Part time
Roles needed Developer

Project duration 1 to 3 months

Skills needed