1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

My Amazon VPS Remote Desktop Connection Keeps Breaking Randomly, and It's Driving Me Crazy!

Discussion in 'BlackHat Lounge' started by Noah Hawryshko, Dec 3, 2016.

Tags:
  1. Noah Hawryshko

    Noah Hawryshko Senior Member

    Joined:
    Apr 28, 2016
    Messages:
    871
    Likes Received:
    729
    Gender:
    Male
    Occupation:
    Biotechnology Engineer at Silph. Co, Saffron
    Location:
    Kanto
    I've tried everything. RDP seemingly works when it wants to, and it doesn't when it doesn't. I tried installing TeamViewer because I figured I could just use that if the RDP connection went down again, but that stops working just as much and only in conjunction with RDP.

    1. All Amazon security groups are correctly configured.
    2. RDP traffic is accepted, port 80 traffic is accepted for Teamviewer.
    3. Traffic from my IP is accepted to those ports.
    4. All firewalls are correctly configured.
    5. All proxy services and web servers have that I have running on them run perfectly fine 100% of the time.
    6. Servers have their uptime monitored every minute of the day and respond to pings 100% of the time.
    7. All proxy services and web servers are fully functional even when RDP and Teamviewer don't respond.
    8. RDP'ing via direct IP and connecting with Teamviewer via Partner ID doesn't work when RDP and Teamviewer decide not to respond.
    9. Connecting via alternate DNS servers doesn't work.
    10. The IP's are not dynamic.
    11. Rebooting solves the problem sometimes, but many times it takes 3 or 4 reboots to get RDP or Teamviewer to work on a server. Sometimes it doesn't work, even after rebooting for hours. This is not consistent, so it confuses me.
    12. RDP and Teamviewer only ever work or fail to work at the same times. There has never been an instance where RDP has worked and Teamviewer has not, or vice-versa.
    13. The 5 servers themselves stop responding to RDP and Teamviewer at different times, in a seemingly random fashion. At any given time, only 3 or 4 will respond to RDP and Teamviewer, and the next day a different mix of 3 or 4 will respond to RDP and Teamviewer. It's never all of them or none of them, even though they were all configured together and are all configured exactly the same.

    I'm at a loss.
     
    Last edited: Dec 4, 2016
  2. Noah Hawryshko

    Noah Hawryshko Senior Member

    Joined:
    Apr 28, 2016
    Messages:
    871
    Likes Received:
    729
    Gender:
    Male
    Occupation:
    Biotechnology Engineer at Silph. Co, Saffron
    Location:
    Kanto
    Bump. Anyone else experienced this problem before?
     
  3. deal with it

    deal with it Power Member

    Joined:
    Sep 30, 2015
    Messages:
    629
    Likes Received:
    278
    Gender:
    Male
    it happens for newer instances as well ?
     
  4. Noah Hawryshko

    Noah Hawryshko Senior Member

    Joined:
    Apr 28, 2016
    Messages:
    871
    Likes Received:
    729
    Gender:
    Male
    Occupation:
    Biotechnology Engineer at Silph. Co, Saffron
    Location:
    Kanto
    All 5 were configured at the same time. Idk what the problem is
     
  5. Buzzika

    Buzzika Senior Member

    Joined:
    Jul 8, 2009
    Messages:
    1,197
    Likes Received:
    1,481
    Occupation:
    Hustler
    Location:
    Gurgaon
    what's your ping time?
     
  6. Noah Hawryshko

    Noah Hawryshko Senior Member

    Joined:
    Apr 28, 2016
    Messages:
    871
    Likes Received:
    729
    Gender:
    Male
    Occupation:
    Biotechnology Engineer at Silph. Co, Saffron
    Location:
    Kanto
    8ms, ping is fine.
     
  7. Noah Hawryshko

    Noah Hawryshko Senior Member

    Joined:
    Apr 28, 2016
    Messages:
    871
    Likes Received:
    729
    Gender:
    Male
    Occupation:
    Biotechnology Engineer at Silph. Co, Saffron
    Location:
    Kanto
    Bump. Anyone have any idea?
     
  8. dabandit

    dabandit Junior Member

    Joined:
    Feb 21, 2008
    Messages:
    143
    Likes Received:
    53
    As with any form of troubleshooting, you have to strip things down, piece by piece, until you find your problem. Tear down all of your firewalls, security groups and VPC ACLs and build them back up from scratch. Test RDP/TV at each step, as you add an additional layer of security, until you run into a wall.
     
  9. bartosimpsonio

    bartosimpsonio Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 21, 2013
    Messages:
    12,767
    Likes Received:
    11,425
    Occupation:
    COINZ
    Location:
    BUYAH
    Home Page:
    IIRC correctly there was an option where you lowered the quality of service required for the remote desktop? I think it drops the connection if it detects a drop below X. Unfortunately I don't remember the technical term (must have changed too by now) but maybe you can search for RDP minimum bandwidth or something like that.
     
  10. dabandit

    dabandit Junior Member

    Joined:
    Feb 21, 2008
    Messages:
    143
    Likes Received:
    53
    I think your referring to the "Experience" setting. But, I don't think that's where his problem lies (either in the security group or the VPC ACL). I'm going by memory as it has been quite awhile since I last worked with Amazon.