I go to this screen:
https://circleci.com/bb/username/projectname/edit#ssh
and click “Add SSH key”.
In the pop-up dialogue I misread “Hostname” and thought it was just a key name, so I put in “Deploy key”, which of course is an invalid host name.
This results in a background JSON/400 response of this:
{“message”:“the hostname isn’t valid. Try checking this Wikipedia article for hostname restrictions: http://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names”}
Also, if I put in a nonsense SSH key, the JSON comes back with this 400 error:
{“message”:“it looks like private key is invalid key. Double check”}
In each case, I think I should see this error in the UI. However, for either, the save button temporarily changes to “Failed”, and then reverts. Thus, the user does not know what the problem is.
I am on Firefox 59.0.2 (64-bit) on Mint 17 with NoScript. Would someone else check this in case the issue is just on my machine?