This message originated from Cribl Community Slack.
Click here to view the original link.
Hi guys,
I have workers running on-premises and data is being sent successfully from the source to the destination.
I also have some workers running in AWS. These workers are able to receive data, but for some reason the Dynatrace destination keeps returning 401 Unauthorized, so the data is not being delivered to Dynatrace.
I confirmed the following:
If I SSH to any AWS worker, I can successfully send data to Dynatrace using curl with the same endpoint and auth token.
Firewall connectivity is open.
outputs.yml is synced correctly from the Leader to the AWS workers.
The AWS workers are using a specific RHEL 8 image.
I tried the suggested checks related to fapolicyd and SELinux, and I also tested with SELinux disabled, but the issue still persists.
As soon as I configure the destination and route data to it, the destination fails with a 401 error.
Has anyone faced a similar issue before, or can anyone help troubleshoot what might be causing this?
Solved
AWS Workers Failing To Deliver Data To Dynatrace With 401 Unauthorized Error
Best answer by wdelarocha352
{"time":"2026-04-24T12:45:13.062Z","cid":"w0","channel":"criblsecret","level":"error","message":"Secret decrypt failed","path":"/outputs/dynatrace/token","error":{"message":"error:1C800064:Provider routines::bad decrypt","stack":"Error: error:1C800064:Provider routines::bad decrypt\n at Decipheriv.final
This means the worker can’t decrypt the Dynatrace token stored for that output, so it’s almost certainly sending a bad/empty token and Dynatrace is replying 401. Curl works because you’re using the raw token but Stream is failing earlier when it tries to decrypt the token
In the Cribl UI, open the Dynatrace destination, re-paste the token, save, then Commit and Deploy.
Send test traffic and watch the worker log to see if the Secret decrypt failed for /outputs/dynatrace/token disappears. If not, I’d suspect a cribl.secret mismatch on those workers and consider reinstalling them so they pick up the right cribl.secretSign up
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
