Giter Site home page Giter Site logo

Comments (8)

noxdafox avatar noxdafox commented on July 18, 2024

This line,

{socket_error, {econnrefused, ...} ...}

suggests that your instance cannot reach AWS CloudWatch service. Check the network settings and your firewalls to make sure the instance can reach out AWS services.

from rabbitmq-cloudwatch-exporter.

an2ny avatar an2ny commented on July 18, 2024

@noxdafox do you have any idea what ports those might be? i am doing this using docker so it could be the reason

from rabbitmq-cloudwatch-exporter.

noxdafox avatar noxdafox commented on July 18, 2024

You can refer to AWS documentation to know what are the requirements for your environment to work.

https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-port-requirements.html

from rabbitmq-cloudwatch-exporter.

noxdafox avatar noxdafox commented on July 18, 2024

Is this issue still ongoing?

from rabbitmq-cloudwatch-exporter.

an2ny avatar an2ny commented on July 18, 2024

Is this issue still ongoing?

i have given up on this. i opened all ports mentioned in https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-port-requirements.html
in docker and still no luck.

from rabbitmq-cloudwatch-exporter.

GrigoriLab avatar GrigoriLab commented on July 18, 2024

Is this issue still ongoing?

i have given up on this. i opened all ports mentioned in https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-port-requirements.html
in docker and still no luck.

I had the same problem. It turned out if you are testing on local machine just having .aws in your home folder (for rabbitmq docker image it should be in /var/lib/rabbitmq/.aws) is not working, you should have explicitly set aws environment variables:

root@01382c1e6bc6:/# export AWS_ACCESS_KEY_ID=<aws_access_key_id>
root@01382c1e6bc6:/# export AWS_SECRET_ACCESS_KEY=<aws_secret_access_key>
root@01382c1e6bc6:/# export AWS_DEFAULT_REGION=<region>
root@01382c1e6bc6:/# rabbitmq-server

from rabbitmq-cloudwatch-exporter.

ggrzesiuk avatar ggrzesiuk commented on July 18, 2024

Hi I have a similar issue. I'm getting the following error.
Lager failed to install handler lager_cloudwatch_backend into lager_event, retrying later : {'EXIT',
{{case_clause,
{error,
{socket_error,
timeout}}},
[{lager_cloudwatch_backend,
maybe_create_log_group,
1,
[{file,
"src/lager_cloudwatch_backend.erl"},
{line,
129}]},
{lager_cloudwatch_backend,
init,
1,
[{file,
"src/lager_cloudwatch_backend.erl"},
{line,
78}]},
{gen_event,
server_add_handler,
4,
[{file,
"gen_event.erl"},
{line,
516}]},
{gen_event,
handle_msg,
6,
[{file,
"gen_event.erl"},
{line,
361}]},
{proc_lib,
init_p_do_apply,
3,
[{file,
"proc_lib.erl"},
{line,
226}]}]}}

I'm using RabbitMQ 3.8.23 and Erlang 23.3.1

from rabbitmq-cloudwatch-exporter.

ggrzesiuk avatar ggrzesiuk commented on July 18, 2024

Any other sugestions why logs are not beeing published to cloudwatch and only metrics ?

from rabbitmq-cloudwatch-exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.