jupyter-naas / naas

Low-code Python library to safely use notebooks in production: schedule workflows, generate assets, trigger webhooks, send notifications, build pipelines, manage secrets (Cloud-only)
https://app.naas.ai/
GNU Affero General Public License v3.0
286 stars 25 forks source link

Naas Notification: HTTP 500 Error when sending notifications from local install, binder #229

Closed aiexplorations closed 2 years ago

aiexplorations commented 3 years ago
  1. Notification API - naas.notification.send() does not work properly when using naas on local install
  2. Notification API - naas.notification.send() does not work properly when using naas on binder

Note: Notification API - naas.notification.send() works properly when using naas on cloud using Google SSO login

Attachments: Binder run and Local run for notification example

image image

jravenel commented 3 years ago

Hi @aiexplorations, thanks a lot. We will try to reproduce and let you know our findings.

Thanks.

riderx commented 2 years ago

@aiexplorations email services are not configured in binder, and cannot be without compromise email server security. For localhost, it can be done if you run the email service and setup email provider. It's not documented, but you can find the machine your should run there : https://github.com/jupyter-naas/notifications

jravenel commented 2 years ago

@aiexplorations email services are not configured in binder, and cannot be without compromise email server security. For localhost, it can be done if you run the email service and setup email provider. It's not documented, but you can find the machine your should run there : https://github.com/jupyter-naas/notifications

@riderx thanks for your inputs 👍 @aiexplorations happy to help if you need guidance.