Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to login to remote server #21

Open
nidup opened this issue Aug 10, 2017 · 3 comments
Open

Impossible to login to remote server #21

nidup opened this issue Aug 10, 2017 · 3 comments

Comments

@nidup
Copy link
Contributor

nidup commented Aug 10, 2017

Source Pim Configuration: Collect your configuration files from a server
What is the hostname of the source PIM server? http://test-dev-feature-6.akeneo.com    
What is the SSH port of the source PIM server? XXXXX
What is the SSH user you want to connect with ? XXXXX
What is the absolute path of the private SSH key able to connect to the server? XXXX
What is the absolute path of the composer.json on the server? XXXX

                                                                                                                                                                                                           
  [Akeneo\PimMigration\Domain\SourcePimConfiguration\SourcePimConfigurationException]                                                                                                                      
  Error: Step 1 - SourcePimConfiguration: Cannot connect to http://test-dev-feature-6.akeneo.com:2323. Error 32574. Unable to find the socket transport "http" - did you forget to enable it when you con  
  figured PHP?                                                                                                                                                                                             
                                                                                                                                                                                                           

                                                                                                                                                                               
  [RuntimeException]                                                                                                                                                           
  Cannot connect to XXXXX. Error 32574. Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?  
                                                                                                                                                                               

akeneo-pim:migrate [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [--] <command>

What i installed:
nico@nidup-xps:~/git/migration-tool$ sudo apt-get install php7.1 php7.1-gmp php7.1-mbstring php7.1-json php7.1-xml

In fact, it seems related to the fact i type http in the hostname:
What is the hostname of the source PIM server? http://test-dev-feature-6.akeneo.com

Once removing http i get the following message
What is the hostname of the source PIM server? test-dev-feature-6.akeneo.com

                                                                                                                                                        
  [Akeneo\PimMigration\Domain\SourcePimConfiguration\SourcePimConfigurationException]                                                                   
  Error: Step 1 - SourcePimConfiguration: Impossible to login to akeneo@test-dev-feature-6.akeneo.com:2323 using this ssh key : xxxx  
                                                                                                                                                        
                                                                                                                
  [Akeneo\PimMigration\Infrastructure\ImpossibleConnectionException]                                            
  Impossible to login to akeneo@test-dev-feature-6.akeneo.com:2323 using this ssh key : xxx

I checked i can properly connect to this server directly

@nidup nidup changed the title Missing pre-requisite when migrating from server Impossible to login to remote server Aug 10, 2017
@anaelChardan
Copy link
Contributor

Yes, we need to put more validation on the inputs :/. Hum weird, JJ and Marie had the same problem, I'll try to debug it to see what is the problem because on my computer, i can connect to test-dev-feature-6 :/

@momoss
Copy link
Contributor

momoss commented Oct 23, 2017

Hi @nidup,

Can you retry with the last tagged version 1.0.0-alpha3,

Best regards

@pushpender-sharma
Copy link

Hey, Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants