Setting IP address behind Elastic Beanstalk
ecaron
Posted on
Jun 10 2014
Using the ruby gem, all our request IP addresses are coming through as 127.0.0.1 or the IP of the load balancer. What's the recommended way to make sure Raygun is reporting the X-Forwarded-For / X-Realip as the remoteaddr?
John-Daniel Trask
Raygun
Posted on
Jul 08 2014
Sorry for the delay here!
If you're still looking at this, could you take a peek at this branch and let me know if it helps you? https://github.com/MindscapeHQ/raygun4ruby/pull/30
Kind regards,
John-Daniel Trask
Co-founder
Mindscape Limited
ecaron
Posted on
Jul 08 2014
Based on the PR, the change looks perfect. I'm applying it to production - as-is - to verify that it fixes the issue. I'll post an update once the next error comes through so I'll be able to confirm/deny the fix.
ecaron
Posted on
Jul 08 2014
Forced an error and the correct IP came through in all its magnificent glory. Branch is great and smells like 1.1.3 to me!
nikz
Posted on
Jul 10 2014
1.1.3 has now been released as requested. Enjoy!