Roborio not found

When we try to deploy the code we get is error message.

Task :discoverroborio
Discovering Target roborio
admin @ roborio-9172-FRC.frc-field.local: Failed resolution.
Reason: RuntimeException
Unknown Host
admin @ roborio-9172-FRC.lan: Failed resolution.
Reason: RuntimeException
Unknown Host
admin @ 172.22.11.2: Resolved but not connected.
Reason: RuntimeException
com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException: Connection reset
admin @ roborio-9172-FRC: Resolved but not connected.
Reason: RuntimeException
com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException: Connection reset
admin @ roborio-9172-FRC.local: Resolved but not connected.
Reason: RuntimeException
com.jcraft.jsch.JSchException: socket is not established
admin @ 10.91.72.2: Resolved but not connected.
Reason: RuntimeException
com.jcraft.jsch.JSchException: socket is not established
1 other action(s) not started.
Run with --info for more details

Task :discoverroborio FAILED
Missing Target!
=============================================
Are you connected to the robot, and is it on?
=============================================
GradleRIO detected this build failed due to not being able to find “roborio”!
Scroll up in this error log for more information.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:discoverroborio’.

A failure occurred while executing edu.wpi.first.deployutils.deploy.target.discovery.TargetDiscoveryWorker
Target roborio could not be found at any location! See above for more details.

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 6s
4 actionable tasks: 2 executed, 2 up-to-date

  • The terminal process “cmd.exe /d /c gradlew deploy -PteamNumber=9172 --offline -Dorg.gradle.java.home=“C:\Users\Public\wpilib\2023\jdk”” terminated with exit code: 1.
  • Terminal will be reused by tasks, press any key to close it.

What have you done to troubleshoot this?

How are you connected to the robot?

Have you read through this troubleshooting page in the wpilib docs?

Can you share a screenshot of the roboRIO imaging tool connected to the roboRIO?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.