Can't Deploy Code through USB on Mac


#1

The Roborio can’t be found. I can ping it at the ip 10.55.30.2, the IP I set for it, but VSCode/gradle can’t find it.

Task :discoverRoborio
Task ‘:discoverRoborio’ is not up-to-date because:
Task has not declared any outputs despite executing actions.
Discovering Target roborio
Log : Discovering Target roborio
admin @ 10.55.30.2: Resolved but not connected.
Reason: JSchException
java.net.ConnectException: Connection refused (Connection refused)
admin @ 172.22.11.2: Resolved but not connected.
Reason: TimeoutException
Discovery timed out.
admin @ roborio-5530-FRC.local: Failed resolution.
Reason: TimeoutException
Discovery timed out.
admin @ roborio-5530-FRC: Failed resolution.
Reason: UnknownHostException
roborio-5530-FRC: nodename nor servname provided, or not known
admin @ roborio-5530-FRC.lan: Failed resolution.
Reason: UnknownHostException
roborio-5530-FRC.lan: nodename nor servname provided, or not known
admin @ roborio-5530-FRC.frc-field.local: Failed resolution.
Reason: TimeoutException
Discovery timed out.
admin @ null: Not started.
Reason: ConnectException
Connection refused (Connection refused)


#2

If you read the log above, it states that it can see the roboRIO but cannot connect as the “connection refused”. Have you put a password on your roboRIO at all? Additionally, see @Peter_Johnson’s comment.


#3

Is the RoboRio imaged? A factory RoboRio without the 2019 image probably won’t have ssh. Follow the getting started directions in screensteps, in particular the section on “imaging your roboRIO”, if you’ve not done this yet.

Also worth checking is your firewall settings.


#4

Oh, I just saw that you’re saying “through USB on Mac”. The USB roboRio connection only works on Windows. On Mac you’ll need to use Ethernet to connect to the roboRio.


#5

you can also deploy wirelessly by connecting to the robot’s radio


#6

Well thanks for the help anyway. At least we know for sure now.