View Full Version : [WARNING][DO NOT UPDATE WPI PLUGINS] Too many authentication failures for admin
Hugo_Klepsch
27-01-2015, 13:25
We have been able to build and upload code for the past two weeks. I am uploading\deploying different versions of confirmed working code.
We were able to upload and deploy the same code yesterday night, and have made no changes to roborio configuration since then.
Today we saw the WPI plugins for eclipse were updated, we updated two of the four programming computers, and only those computers have the following error:
[sshexec] Connecting to roboRIO-2200.local:22
[sshexec] Caught exception: SSH_MSG_DISCONNECT: 2 Too many authentication failures for admin
Until a fix has been found, do not update your plugins!
lucas.alvarez96
27-01-2015, 14:10
You're having authentication problems. Edit your build.properties file within the USER/wpilib/java/current/ant directory.
Hugo_Klepsch
27-01-2015, 17:42
You're having authentication problems. Edit your build.properties file within the USER/wpilib/java/current/ant directory.
Thanks for showing us the file to edit!
Inside the build.properties file there us a username and password entry.
By default (I assume) the username is lvuser, with a blank password.
We changed that to the correct logon for our admin user, (configurable through the roborio webserver) and everything worked again!
Imgur links: (http://imgur.com/a/1lmQH)
Thanks
RufflesRidge
27-01-2015, 18:53
So, to clarify, the problem was not with the updated WPILib plugins at all but with the fact that you have modified the user accounts on your roboRIO?
lucas.alvarez96
27-01-2015, 19:06
Yep
virtuald
27-01-2015, 20:04
You should probably change the title of this post then?
Hugo_Klepsch
28-01-2015, 19:18
So, to clarify, the problem was not with the updated WPILib plugins at all but with the fact that you have modified the user accounts on your roboRIO?
Not necessarily, that user account was working yesterday, and no changes were made to users on the roborio between the time that they were working and the time that they were not.
The WPI plugins, however were updated, therefore I can only assume the only changed variable is somehow a cause of the breakage.
Mark McLeod
28-01-2015, 19:20
Code runs as the lvuser/blank password account
admin should remain as admin/blank password
Don't change the account setup.
Joe Ross
30-01-2015, 19:58
Not necessarily, that user account was working yesterday, and no changes were made to users on the roborio between the time that they were working and the time that they were not.
The WPI plugins, however were updated, therefore I can only assume the only changed variable is somehow a cause of the breakage.
The wpi plugin update process deletes almost everything in the wpilib folder, including any customizations you made to the build.
Rather then changing the properties file included in the wpilib plugins, a less brittle approach would be to change the build.properties in the project directory to have the username and password you want.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.