# Apm-agent-ruby shows error with no description

**URL:** <https://discuss.elastic.co/t/apm-agent-ruby-shows-error-with-no-description/165206>\
**Category:** APM\
**Created:** [January 22, 2019, 10:13am UTC](https://discuss.elastic.co/t/apm-agent-ruby-shows-error-with-no-description/165206 "2019-01-22T10:13:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhimanyu\_Kaushal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhimanyu_kaushal/32/35645_2.png) [@Abhimanyu\_Kaushal](https://discuss.elastic.co/u/Abhimanyu_Kaushal)\
**Post date:** [January 22, 2019, 10:13am UTC](https://discuss.elastic.co/t/apm-agent-ruby-shows-error-with-no-description/165206/1 "2019-01-22T10:13:27Z")

</div>

I am trying to use Elastic APM in Rails. When it starts it responds with an error:  
[ElasticAPM] APM Server reponded with an error:  
""

I am not able to identify the problem here. My apm server is running fine over nginx. When I try to reach the server url through browser it shows: {"ok":{"build\_date":"2018-11-09T17:48:30Z","build\_sha":"2c46a2919dbe06767caeacbffd0055aab1493991","version":"6.5.0"}}  
I also tried "apm-server -e" but it shows no error.

---

<div class="post-metadata">

**Author:** ![mikker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikker/32/22118_2.png) [@mikker](https://discuss.elastic.co/u/mikker)\
**Post date:** [January 23, 2019, 11:42am UTC](https://discuss.elastic.co/t/apm-agent-ruby-shows-error-with-no-description/165206/2 "2019-01-23T11:42:12Z")

</div>

Hi Abhimanyu. Can you provide a bit more information on how you've set up the two? What versions are you using (Rails, Ruby, APM Server, the APM gem)? Did you set a `secret_token`on the server?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 13, 2019, 7:42am UTC](https://discuss.elastic.co/t/apm-agent-ruby-shows-error-with-no-description/165206/3 "2019-02-13T07:42:13Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
