IBM Cloud Docs
I am getting a timeout error when running my Linux agent configuration script. What do I do?

I am getting a timeout error when running my Linux agent configuration script. What do I do?

When running the Linux agent post-config.sh configuration script I get a timeout message.

You get the following error message:

"msg":"Error setting up IAM Tokenmanager","error":"timeout while trying to set up Tokenmanager","stacktrace":
"main.FLBPluginInit\n\t/root/pkg/plugin/logger-icl-output-plugin.go:80\n_cgoexp_eee5b56c7e4a_FLBPluginInit\n\t_cgo_gotypes.go:68\nruntime.cgocallbackg1\n\t/usr/local/go/src/runtime/
cgocall.go:315\nruntime.cgocallbackg\n\t/usr/local/go/src/runtime/cgocall.go:234\nruntime.cgocallback\n\t/usr/local/go/
src/runtime/asm_amd64.s:998"}

[error] [go proxy]: plugin 'logger-icl-output-plugin' failed to initialize

Your system does not have access to the public internet.

Change your configuration to use a private endpoint. Specify PrivateProduction for IAM_Environment in your output plugin parameters in your /etc/fluent-bit/output-logs-router-agent.conf file or specify the -i PrivateProduction option when running the post-config.sh configuration script.

The API key used for the agent must have the sender role to IBM Cloud Logs. The user granting the permission to the API key must have at least the sender permission to grant the permission to the API key.