Hello, We have found some issues when trying to connect Bluemix with a backend server using the basic connector.
1) The installer does not create any Linux service, so we cannot restart the tunnel issuing "sudo service nativeapimgmt restart" as stated in the documentation. 2) When starting the connector using the command ./startmgmt.sh, a prompt is shown (for nativeapiadmin@159.8.142.102, I suppose)
/usr/bin/ssh -f -N -R 127.0.0.1:1087:127.0.0.1:1087 -i /home/nativeapiadmin/.ssh/id_rsa -o ServerAliveInterval=10 -o ExitOnForwardFailure=yes -o TCPKeepAlive=yes -o StrictHostKeyChecking=no -p 5001 nativeapiadmin@159.8.142.102
Password:
We need to know what password are they asking for?
Answer by Quan Phan (1) | Feb 10, 2015 at 08:30 AM
Hi, In order to assist the issue, we would like to have the following information:
1) What platform are you using?
2) Did you upload the pub key onto Bluemix?
3) What is your "org_id" ?
Thanks.
1) Red Hat EL 6
2) No Im trying to upload id_rsa.pub. But I can not upload it because I can not make the connection.
after u generate it on your virtual machine or private cloud, you will be able to put the newly generated public key to bluemix and after that click 3times regresh and you will be connected. For me is working
Answer by Quan Phan (1) | Feb 10, 2015 at 10:38 AM
Hi,
@ mario.kam: Thanks a lot for your sharing. It's great that it works for you.
@ FRANCISCOFERNANDEZRAMIREZ
After each time you run the install script, a new id_rsa.pub will be generated. You need to upload it onto Bluemix each time you run a new install.
About the org_id, when you logon to Bluemeix and select your service, in the address bar, you can find your org_id. It should look similar to the following:
serviceGuid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
orgGuid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
spaceGuid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Let us know if you still have any problem. Thanks.
Answer by mar.deluca (1) | Mar 15, 2015 at 04:22 AM
Hello, we are facing a similar issue with the basic connector (orgGuid=e8c87e52-b259-44bb-90c9-a7b252ca6fdf). Following these steps
Created a Basic Connector instance in Bluemix
Installed nativeapiadmin on a RHEL 6.3 virtual machine
Uploaded generated id_rsa.pub file to the Bluemix web console
Launched startmgmt.sh (we added a "-v" to the ssh parameters)
We get
OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to 174.37.231.28 [174.37.231.28] port 5001. debug1: connect to address 174.37.231.28 port 5001: Connection refused ssh: connect to host 174.37.231.28 port 5001: Connection refused
Any suggestion is appreciated. Thanks
Answer by NeilBRyanIBM (1) | Apr 12, 2016 at 04:52 AM
I'm facing a similar issue. I broke down the testssh.sh script to this command and this is where it seems to hang:
/usr/bin/ssh -p 5001 -i /home/nativeapiadmin/.ssh/id_rsa nativeapiadmin@208.43.69.245 WARNING: Your password has expired. You must change your password now and login again! Changing password for nativeapiadmin. (current) UNIX password:
Can you please help?
Thanks!