Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   [WARNING][DO NOT UPDATE WPI PLUGINS] Too many authentication failures for admin (http://www.chiefdelphi.com/forums/showthread.php?t=133568)

Hugo_Klepsch 27-01-2015 13:25

[WARNING][DO NOT UPDATE WPI PLUGINS] Too many authentication failures for admin
 
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

Re: [WARNING][DO NOT UPDATE WPI PLUGINS] Too many authentication failures for admin
 
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

Re: [WARNING][DO NOT UPDATE WPI PLUGINS] Too many authentication failures for admin
 
3 Attachment(s)
Quote:

Originally Posted by lucas.alvarez96 (Post 1434758)
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:


Thanks

RufflesRidge 27-01-2015 18:53

Re: [WARNING][DO NOT UPDATE WPI PLUGINS] Too many authentication failures for admin
 
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

Re: [WARNING][DO NOT UPDATE WPI PLUGINS] Too many authentication failures for admin
 
Yep

virtuald 27-01-2015 20:04

Re: [WARNING][DO NOT UPDATE WPI PLUGINS] Too many authentication failures for admin
 
You should probably change the title of this post then?

Hugo_Klepsch 28-01-2015 19:18

Re: [WARNING][DO NOT UPDATE WPI PLUGINS] Too many authentication failures for admin
 
Quote:

Originally Posted by RufflesRidge (Post 1434895)
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

Re: [WARNING][DO NOT UPDATE WPI PLUGINS] Too many authentication failures for admin
 
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

Re: [WARNING][DO NOT UPDATE WPI PLUGINS] Too many authentication failures for admin
 
Quote:

Originally Posted by Hugo_Klepsch (Post 1435379)
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.


All times are GMT -5. The time now is 01:48.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi