Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws.ServiceNotificationsSensor - Permission Denied #125

Open
Aliskaa opened this issue Feb 28, 2025 · 0 comments
Open

aws.ServiceNotificationsSensor - Permission Denied #125

Aliskaa opened this issue Feb 28, 2025 · 0 comments

Comments

@Aliskaa
Copy link

Aliskaa commented Feb 28, 2025

Hello,

When I try to setup the aws.ServiceNotificationsSensor (stackstorm-aws pack), there is an error.

I'm trying with Docker plateform

My config :
service_notifications_sensor: host: 0.0.0.0 port: 80 path: /test_sns

The Sensorcontainer logs :
`2025-02-28 14:14:00,546 INFO [-] Found config for sensor "ServiceNotificationsSensor"
2025-02-28 14:14:00,547 DEBUG [-] Using SSL context for RabbitMQ connection: {}
2025-02-28 14:14:00,547 INFO [-] Watcher started
2025-02-28 14:14:00,547 INFO [-] Running sensor initialization code
2025-02-28 14:14:00,548 INFO [-] Running sensor in passive mode
2025-02-28 14:14:00,548 INFO [-] Listening for webhooks on http://0.0.0.0:80/test_sns

  • Serving Flask app 'service_notifications_sensor'
  • Debug mode: on
    2025-02-28 14:14:00,552 ERROR [-] Permission denied
    2025-02-28 14:14:00,552 ERROR [-]

2025-02-28 14:14:00,552 INFO [-] Stopping trigger watcher
2025-02-28 14:14:00,553 INFO [-] Invoking cleanup on sensor
2025-02-28 14:14:00,865 DEBUG [-] 1 active sensor(s)
2025-02-28 14:14:05,866 DEBUG [-] 1 active sensor(s)
2025-02-28 14:14:05,867 INFO [-] Process for sensor aws.ServiceNotificationsSensor has exited with code 1
2025-02-28 14:14:05,867 DEBUG [-] Dispatching trigger (trigger=core.st2.sensor.process_exit,payload={'trigger': 'core.st2.sensor.process_exit', 'payload': {'id': 'ServiceNotificationsSensor', 'timestamp': 1740752045, 'exit_code': 1}, 'trace_context': None})
2025-02-28 14:14:05,867 DEBUG [-] using channel_id: 1
2025-02-28 14:14:05,868 DEBUG [-] Channel open
2025-02-28 14:14:05,869 DEBUG [-] Closed channel #1
`

Anyone to help me ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant