Jump to content

liabtsab

Members
  • Posts

    3
  • Joined

  • Last visited

About liabtsab

  • Rank
    Newbie
    Newbie

Profile Information

  • Location
    USA
  1. yeah were using AWS and i took a second look at that document. Looks like the x-forwarded-for-last option does what you mentioned so i think we're good. Can confirm i no longer get the session disconnects. Thanks for the help!
  2. @MartinK That's what I figured. I was trying to find where that option would be didnt know it was in that properties file. I ended up using x-forwarded-last since the available options were connection, x-forwarded-last, and x-forwarded-first. The last one being the least secure option. It seems to have fixed the issue. Not sure what the difference is between the two x-forwarded options so ill probably have to research a bit.
  3. Has anyone gotten this setup to function properly? Here's a summary of my current configuration: On Windows host running ERA server: - removed the server connector from the server.xml tomcat config file - uncommented the HTTP connector from the server.xml tomcat config file - in the HTTP connector section, added the attributes scheme="https",proxyName="route 53 CNAME record", proxyPort="443" On AWS: - Created two security groups, one for the ERA instance and one for the ELB - ELB security group allows all traffic from ports 443 and 2222 (no outbound restrictions) - ERA instance security groups allows traffic from port 443 and 2222 from the ELB security group - Listener rule on the ELB set to forward incoming 443 traffic to the ELB to ports 8080 on the ERA instance - Another listener rule on the ELB set to forward incoming 2222 traffic to the ELB to port 2222 on the ERA instance - Added the ERA instance to the ELB and adjusted the healthcheck to ensure healthy state - Created a route 53 Alias that points to the ELB dns hostname and which is also equal to the proxyName set in the HTTP connector section inside of Tomcat So as-is, everything "works". Traffic is flowing, agents are able to check in over the internet. The only remaining issue i'm noticing is every now and then the web console errors out with a "failed to retrieve data. Session invalid" message. When this happens, it'll auto log me out of the console and i have to wait several minutes before I can log back in. I found a small page in the KB articles saying if a session from an IP is invalid for 15 attempts this occurs. Not really sure how to fix this and as far as i can tell, the IPs given to an ELB are dynamic and always changing. I don't know if this IP change is whats causing the issue, but when we run it with the ELB and have SSL terminate at the tomcat level, everything is fine. We don't want to do this because it detracts from our standard setup and it doesn't open up our ERA server over the internet so our remote users can check-in their machines. It's also a nghtmare to try and track down users in different timezones every so often to have them hop on the VPN for the checkin to occur since most of them don't really need access to internal resources to do their job...If anyone has gotten this to work, please share.
×
×
  • Create New...