@FedeOmoto welcome to the forum! Sorry you're experiencing this issue.
I think this is likely related to something in your config. Can you please supply the contents of /etc/apm-server/apm-server.yml (with sensitive details redacted)?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.