This question is almost identical to https://groups.google.com/forum/#!topic/reviewboard/UmXYqdsKTXY, however that thread ended without resolution.
We have ReviewBoard 1.7.20 set up on Ubuntu 12.04. I am trying to set up a repository on ReviewBoard against a git repository on stash, but I run into the "[Errno -5] No address associated with hostname" error. This happens when I have a valid ssh clone link in my Path field. For this I am leaving all the other fields empty. My log is almost identical to the one posted on the other topic. I have redacted the actual links to our server. GitTool: Attempting ssh connection with host: [redacted]:7999, username: git 2014-01-08 14:22:17,188 - DEBUG - - starting thread (client mode): 0xb9b412ecL 2014-01-08 14:22:17,208 - INFO - - Connected (version 2.0, client SSHD-CORE-0.7.0-ATLASSIAN-M2) 2014-01-08 14:22:17,236 - DEBUG - - kex algos:['diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] server key:['ssh-rsa'] client encrypt:['aes128-cbc', '3des-cbc', 'blowfish-cbc'] server encrypt:['aes128-cbc', '3des-cbc', 'blowfish-cbc'] client mac:['hmac-md5', 'hmac-sha1', 'hmac-md5-96', 'hmac-sha1-96'] server mac:['hmac-md5', 'hmac-sha1', 'hmac-md5-96', 'hmac-sha1-96'] client compress:['none'] server compress:['none'] client lang:[''] server lang:[''] kex follows?False 2014-01-08 14:22:17,236 - DEBUG - - Ciphers agreed: local=aes128-cbc, remote=aes128-cbc 2014-01-08 14:22:17,236 - DEBUG - - using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local aes128-cbc, remote aes128-cbc; mac: local hmac-sha1, remote hmac-sha1; compression: local none, remote none 2014-01-08 14:22:17,371 - DEBUG - - Switch to new keys ... 2014-01-08 14:22:17,472 - DEBUG - - EOF in transport thread As in the other topic, initially this looks like a key problem because it never once says anything about key authenticated, or key denied; it just ends. However, the line: Connected (version 2.0, client SSHD-CORE-0.7.0-ATLASSIAN-M2) It sees this is stash, so I gather that it is properly getting to the right address (otherwise it wouldn't know). So having verified that is actually getting to the host in question, things go back to the keys. On Stash, I made a user, let's call him ReviewBoardUser. On ReviewBoard, I generated a key using the SSH tab on the left. I took this key and gave it to the ReviewBoardUser. What I expect would happen is that ReviewBoard would authenticate with Stash with the key, Stash would map it to this special ReviewBoardUser that has read access to all repositories that ReviewBoard needs, and then everything would be fine. (On that note, I would be using the form "https://server/path/to/repo/<filename>?at=<revision>&raw" as the mask for Stash, so I don't believe there would be a need for cgit or anything. I won't know until I get this working and can actually try it). The previous topic user was also using Stash from the looks of the logs. One last point regarding the previous topic; I am not sure how to use rbssh properly, so I couldn't get any extra info from using that tool. I would appreciate a nice example syntax for using it, as I can't tell if I am making an error, or if it is itself reporting a valid error with the configuration. Let me know if there is any more information that is needed, I will be happy to provide it. - Erika -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
