Skip to content

aws.ServiceNotificationsSensor - Permission Denied #125

@Aliskaa

Description

@Aliskaa

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions