Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-4062

FIWARE.Request.Lab.Spain.Fi-Ware Labs cloud cannot connect to instance.

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-LAB-HELP
    • Labels:
      None

      Description

      Hi. I have recently created an instance in Fi-Ware labs cloud. The instance is medium-flavor Ubuntu 14.04, with the public IP 130.206.123.31 (already associated to the instance). I created two security groups, and changed the roles for one of them – I added two roles, both TCP, one from port 22 to port 22 and another from port 80 to port 80. I didn’t change the other options (0.0.0.0/0, CIDR) as shown in the image attached. I created a keypair and downloaded it. I tried both the windows way (via Putty) and the Ubuntu way, on my personal VM.
                      When using Windows, I entered the public IP in the  textbox (130.206.123.31), and port 22 via SSH. In the SSH tab in Putty I attached the file generated by Puttygen of my private key, in PPK format. Then I hit “open” and sort of a command prompt window opens up, and after a short while I get the error message – “connection timed out”. I tried all given IP’s in the instance – also the local ones.
                      The I headed over to my VM, with Ubuntu 14.14 OS. I downloaded the “keypair_first.pem” file from the keypairs tab in security to my desktop, changed its permissions as shown (“chmod 400 keypair_first.pem” command), and then entered the command – “ssh –I keypair_first.pem root@130.206.123.31”, and received the error message saying “ssh: connect to host 130.206.123.31 port 22: No route to host”.
                      I also tried connecting to the display, when a new window opened up with the next url: http://cloud.lab.fiware.org/vnc_display, waiting for connection from 130.206.112.3 (Not my public IP). After a while the window turns gray and says: ”The connection was reset”. I also tried to ping my public IP, and got replies saying “Destination Host Unreachable” , also from 130.206.112.3 (again, not the IP I pinged).

      I request your assistance in the case, I need to connect to my instance obviously.
      Thank you very much in advance, Amit.

      _______________________________________________
      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-lab-help-new
      [Created via e-mail received from: Amit Ben Tzvi <amit5735735@gmail.com>]

        Issue Links

          Activity

          Hide
          marcocipriani Marco Cipriani added a comment -

          Dear Amit,
          to connect via ssh to an Ubuntu VM, you have to use the user "ubuntu".
          So the Linux command should be something like:
          ssh -i keypair_first.pem ubuntu@130.206.123.31

          You cannot connect via vnc_display because the password authentication is disabled. You can enable it after your first connection via ssh.

          For enabling ping, you have to add the following security rule:
          ICMP Type=0 Code=0 CIDR 0.0.0.0/0

          Let us know if you need further help.
          Best regards
          Marco

          Show
          marcocipriani Marco Cipriani added a comment - Dear Amit, to connect via ssh to an Ubuntu VM, you have to use the user "ubuntu". So the Linux command should be something like: ssh -i keypair_first.pem ubuntu@130.206.123.31 You cannot connect via vnc_display because the password authentication is disabled. You can enable it after your first connection via ssh. For enabling ping, you have to add the following security rule: ICMP Type=0 Code=0 CIDR 0.0.0.0/0 Let us know if you need further help. Best regards Marco
          Hide
          fw.ext.user FW External User added a comment -

          Hi. I've tried what you suggested, but still no change. It's not a credentials problem: the VM is not accessible. I added the rule, restarted the machine, and still receive "Destination Host Unreachable", as you can see in the image below. Please help me get the VM accessible ASAP, it a major delay we cannot afford at this stage. Thank you.

          From: Help-Desk
          Sent: Wednesday, September 9, 2015 5:31 PM
          To: amit5735735@gmail.com
          Subject: [FI-WARE-JIRA] (HELP-4062) [Fiware-lab-help] Fi-Ware Labs cloudcannot connect to instance

          Dear Amit,
          to connect via ssh to an Ubuntu VM, you have to use the user "ubuntu".
          So the Linux command should be something like:
          ssh -i keypair_first.pem ubuntu@130.206.123.31

          You cannot connect via vnc_display because the password authentication is disabled. You can enable it after your first connection via ssh.

          For enabling ping, you have to add the following security rule:
          ICMP Type=0 Code=0 CIDR 0.0.0.0/0

          Let us know if you need further help.
          Best regards
          Marco

          -------------------------------------------------------------------------------
          Marco Cipriani created HELP-4062:
          ------------------------------------

          Summary: [Fiware-lab-help] Fi-Ware Labs cloud cannot connect to instance
          Key: HELP-4062
          URL: https://jira.fiware.org/browse/HELP-4062
          Project: Help-Desk
          Issue Type: extRequest
          Components: FIWARE-LAB-HELP
          Reporter: FW External User

          This email was generated by the FIWARE JIRA (http://jira.fiware.org).

          Show
          fw.ext.user FW External User added a comment - Hi. I've tried what you suggested, but still no change. It's not a credentials problem: the VM is not accessible. I added the rule, restarted the machine, and still receive "Destination Host Unreachable", as you can see in the image below. Please help me get the VM accessible ASAP, it a major delay we cannot afford at this stage. Thank you. From: Help-Desk Sent: Wednesday, September 9, 2015 5:31 PM To: amit5735735@gmail.com Subject: [FI-WARE-JIRA] ( HELP-4062 ) [Fiware-lab-help] Fi-Ware Labs cloudcannot connect to instance Dear Amit, to connect via ssh to an Ubuntu VM, you have to use the user "ubuntu". So the Linux command should be something like: ssh -i keypair_first.pem ubuntu@130.206.123.31 You cannot connect via vnc_display because the password authentication is disabled. You can enable it after your first connection via ssh. For enabling ping, you have to add the following security rule: ICMP Type=0 Code=0 CIDR 0.0.0.0/0 Let us know if you need further help. Best regards Marco ------------------------------------------------------------------------------- Marco Cipriani created HELP-4062 : ------------------------------------ Summary: [Fiware-lab-help] Fi-Ware Labs cloud cannot connect to instance Key: HELP-4062 URL: https://jira.fiware.org/browse/HELP-4062 Project: Help-Desk Issue Type: extRequest Components: FIWARE-LAB-HELP Reporter: FW External User This email was generated by the FIWARE JIRA ( http://jira.fiware.org ).
          Hide
          marcocipriani Marco Cipriani added a comment -

          Dear Amit,
          I've just forwarded your issue to the Spain support team.
          They will give help soon.
          Meanwhile, please, provide us your project ID. You can find it selecting your project name: look at the info bar at the bottom of the page, something like "Connetted to <project-name> (ID 00000000000000000000000000000xyz).

          Best regards
          Marco

          Show
          marcocipriani Marco Cipriani added a comment - Dear Amit, I've just forwarded your issue to the Spain support team. They will give help soon. Meanwhile, please, provide us your project ID. You can find it selecting your project name: look at the info bar at the bottom of the page, something like "Connetted to <project-name> (ID 00000000000000000000000000000xyz). Best regards Marco
          Hide
          fw.ext.user FW External User added a comment -

          Info: Connected to project Amitbz cloud (ID e783364686a0443fb60051f197f20ef7)

          From: Help-Desk
          Sent: Wednesday, September 9, 2015 7:43 PM
          To: amit5735735@gmail.com
          Subject: [FI-WARE-JIRA] (HELP-4062) [Fiware-lab-help] Fi-Ware Labs cloudcannot connect to instance

          Dear Amit,
          I've just forwarded your issue to the Spain support team.
          They will give help soon.
          Meanwhile, please, provide us your project ID. You can find it selecting your project name: look at the info bar at the bottom of the page, something like "Connetted to <project-name> (ID 00000000000000000000000000000xyz).

          Best regards
          Marco

          -------------------------------------------------------------------------------
          Marco Cipriani created HELP-4062:
          ------------------------------------

          Summary: [Fiware-lab-help] Fi-Ware Labs cloud cannot connect to instance
          Key: HELP-4062
          URL: https://jira.fiware.org/browse/HELP-4062
          Project: Help-Desk
          Issue Type: extRequest
          Components: FIWARE-LAB-HELP
          Reporter: FW External User

          This email was generated by the FIWARE JIRA (http://jira.fiware.org).

          Show
          fw.ext.user FW External User added a comment - Info: Connected to project Amitbz cloud (ID e783364686a0443fb60051f197f20ef7) From: Help-Desk Sent: Wednesday, September 9, 2015 7:43 PM To: amit5735735@gmail.com Subject: [FI-WARE-JIRA] ( HELP-4062 ) [Fiware-lab-help] Fi-Ware Labs cloudcannot connect to instance Dear Amit, I've just forwarded your issue to the Spain support team. They will give help soon. Meanwhile, please, provide us your project ID. You can find it selecting your project name: look at the info bar at the bottom of the page, something like "Connetted to <project-name> (ID 00000000000000000000000000000xyz). Best regards Marco ------------------------------------------------------------------------------- Marco Cipriani created HELP-4062 : ------------------------------------ Summary: [Fiware-lab-help] Fi-Ware Labs cloud cannot connect to instance Key: HELP-4062 URL: https://jira.fiware.org/browse/HELP-4062 Project: Help-Desk Issue Type: extRequest Components: FIWARE-LAB-HELP Reporter: FW External User This email was generated by the FIWARE JIRA ( http://jira.fiware.org ).
          Hide
          henar Henar Muñoz added a comment -

          Hi

          I think your VM is up.
          ssh ubuntu@130.206.123.31
          The authenticity of host '130.206.123.31 (130.206.123.31)' can't be established.
          Could you verify it and tell me if everything is ok now?
          Regards,
          Henar

          Show
          henar Henar Muñoz added a comment - Hi I think your VM is up. ssh ubuntu@130.206.123.31 The authenticity of host '130.206.123.31 (130.206.123.31)' can't be established. Could you verify it and tell me if everything is ok now? Regards, Henar
          Hide
          fw.ext.user FW External User added a comment -

          Hi. I still don't know the CREDENTIALS of the machine! I can access it, but
          nowhere is provided with what USERNAME AND PASSWORD. SSH connection won't
          let me do what I need, because I wneed the PASSWORD of the username
          "ubuntu" in order to use FTP, to map a network drive, set a DB and many
          other things.
          HOW CAN I RETRIEVE THE PASSWORD TO THE INSTANCE?
          thanks, Amit.

          Show
          fw.ext.user FW External User added a comment - Hi. I still don't know the CREDENTIALS of the machine! I can access it, but nowhere is provided with what USERNAME AND PASSWORD. SSH connection won't let me do what I need, because I wneed the PASSWORD of the username "ubuntu" in order to use FTP, to map a network drive, set a DB and many other things. HOW CAN I RETRIEVE THE PASSWORD TO THE INSTANCE? thanks, Amit.
          Hide
          henar Henar Muñoz added a comment -

          Hi
          You have to use your keypair. If you are command line, just
          ssh -i yourkey.pem ubuntu@yourIP
          If you are using putty, you can have a look at
          http://stackoverflow.com/questions/26950092/login-to-fiware-ge-using-putty-windows-what-credentials
          Regards,
          Henar

          Show
          henar Henar Muñoz added a comment - Hi You have to use your keypair. If you are command line, just ssh -i yourkey.pem ubuntu@yourIP If you are using putty, you can have a look at http://stackoverflow.com/questions/26950092/login-to-fiware-ge-using-putty-windows-what-credentials Regards, Henar
          Hide
          fw.ext.user FW External User added a comment -

          Then how can I connect with VNC?? The first thing that pops up in the
          screen is my login and password credentials, which I do not know. Please
          help me solve this issue today.

          Show
          fw.ext.user FW External User added a comment - Then how can I connect with VNC?? The first thing that pops up in the screen is my login and password credentials, which I do not know. Please help me solve this issue today.
          Hide
          henar Henar Muñoz added a comment -

          Hi
          We don't allow for accesing for VNC by using root user. Once you are inside, you can create another account and you could access with your new account. Tell me if you have problems to access.
          Regards,
          Henar

          Show
          henar Henar Muñoz added a comment - Hi We don't allow for accesing for VNC by using root user. Once you are inside, you can create another account and you could access with your new account. Tell me if you have problems to access. Regards, Henar

            People

            • Assignee:
              henar Henar Muñoz
              Reporter:
              fw.ext.user FW External User
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: