Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Waiting to connect to OTA command server (http://www.chiefdelphi.com/forums/showthread.php?t=103920)

Brian Selle 27-02-2012 22:44

Waiting to connect to OTA command server
 
I've searched CD and tried all the things on the other post but we are still getting "waiting to connect to OTA command server" from NetBeans. Here is what we have know and tried:

1) can ping camera, 2CAN, cRio fine
2) reboot the cRio - download again - same issue
3) switched lan cable to wireless (set to 10.33.10.5 / 255.255.255.0) - same issue
4) reflashed the cRio (already had v43, did it again). Downloaded, rebooted cRio - same issue
5) removed 2CAN from network - ping fine - download - same issue
6) connected lan directly to cRio - same issue
7) disable ipv6 - same issue
8) reboot computer - same issue
9) verified windows firewall is off - yes

Any other ideas?

derekwhite 28-02-2012 08:29

Re: Waiting to connect to OTA command server
 
That sounds pretty thorough :-). Please post the complete output from Netbeans when downloading.

dbeckwith 28-02-2012 09:17

Re: Waiting to connect to OTA command server
 
Yeah we've had problems with Netbeans before where it would stop producing output, but the code was still running. I can't really remember, but it might have been right at the point you're describing. It might be just a problem with Netbeans and the code is fine. Post the output so we can see.
FYI our solution to that problem: Eclipse!

Brian Selle 28-02-2012 14:03

Re: Waiting to connect to OTA command server
 
Another thing I left off is that I can ftp directly to the cRio fine. Below is the netbeans output.

init:
init:
Deleting directory C:\Users\bselle\Documents\NetBeansProjects\Team331 0FRC2012\build
Deleting directory C:\Users\bselle\Documents\NetBeansProjects\Team331 0FRC2012\suite
Deleting directory C:\Users\bselle\Documents\NetBeansProjects\Team331 0FRC2012\j2meclasses
clean:
Created dir: C:\Users\bselle\Documents\NetBeansProjects\Team331 0FRC2012\build
Compiling 48 source files to C:\Users\bselle\Documents\NetBeansProjects\Team331 0FRC2012\build
compile:
Created dir: C:\Users\bselle\Documents\NetBeansProjects\Team331 0FRC2012\j2meclasses
preverify:
Created dir: C:\Users\bselle\Documents\NetBeansProjects\Team331 0FRC2012\suite
Building jar: C:\Users\bselle\Documents\NetBeansProjects\Team331 0FRC2012\suite\Team3310FRC2012_1.0.0.jar
jar-app:
CompilerOracle: exclude com/sun/squawk/Method.getParameterTypes
CompilerOracle: exclude com/sun/squawk/SymbolParser.getSignatureTypeAt
CompilerOracle: exclude com/sun/squawk/SymbolParser.stripMethods
[translating suite image [closed: false, parent: squawk] ...]
### Excluding compile: com.sun.squawk.Method::getParameterTypes
### Excluding compile: com.sun.squawk.SymbolParser::getSignatureTypeAt
[Including resource: META-INF/MANIFEST.MF]
Romizer processed 285 classes and generated 4 files.
Expanding: C:\Users\bselle\Documents\NetBeansProjects\Team331 0FRC2012\suite\Team3310FRC2012_1.0.0.jar into C:\Users\bselle\Documents\NetBeansProjects\Team331 0FRC2012\suite
Moving 1 file to C:\Users\bselle\Documents\NetBeansProjects\Team331 0FRC2012\suite
Moving 1 file to C:\Users\bselle\Documents\NetBeansProjects\Team331 0FRC2012\suite
Moving 1 file to C:\Users\bselle\Documents\NetBeansProjects\Team331 0FRC2012\suite
Deleting: C:\Users\bselle\Documents\NetBeansProjects\Team331 0FRC2012\image.suite.api
Host OS: Windows 7 6.1, 6.1
Host JVM: Java HotSpot(TM) 64-Bit Server VM 19.1-b02
Target IP: 10.33.10.2
Network interfaces on host:
Intel(R) Centrino(R) Ultimate-N 6300 AGN: address: 10.16.25.170 netmask: 255.255.255.255 or hidden by IPv6 address (due to Java on Windows Bug:6707289)
Intel(R) 82577LM Gigabit Network Connection: address: 10.33.10.5 netmask: 255.255.255.0 <--- on robot's subnet
Connecting FTP @10.33.10.2
upgrade:
Sending local file image.suite
flashapp:
deploy:
init:
Waiting to connect to OTA command server of 10.33.10.2:8001 for past 11s
Waiting to connect to OTA command server of 10.33.10.2:8001 for past 12s
Waiting to connect to OTA command server of 10.33.10.2:8001 for past 13s
Waiting to connect to OTA command server of 10.33.10.2:8001 for past 14s
Waiting to connect to OTA command server of 10.33.10.2:8001 for past 15s
Waiting to connect to OTA command server of 10.33.10.2:8001 for past 16s
Waiting to connect to OTA command server of 10.33.10.2:8001 for past 17s
Waiting to connect to OTA command server of 10.33.10.2:8001 for past 18s
Waiting to connect to OTA command server of 10.33.10.2:8001 for past 19s
Waiting to connect to OTA command server of 10.33.10.2:8001 for past 20s

Brian Selle 28-02-2012 15:24

Re: Waiting to connect to OTA command server
 
Finally got it work. Previously when I reflashed the cRio I didn't check the format box. I did it again with the format box checked and it worked (after the reboot issue).

Thanks for your responses!

dbeckwith 28-02-2012 16:42

Re: Waiting to connect to OTA command server
 
Glad you fixed it, because that wasn't the issue I had in mind.

hdodge2972 31-01-2013 10:28

Re: Waiting to connect to OTA command server
 
I am having the same issue with out new cRIO ii trying to download code from netbeans. I have tried everything that you guys have. Exact same error except with team 2972 credentials. Any ideas?

Team3266Spencer 31-01-2013 17:41

Re: Waiting to connect to OTA command server
 
Quote:

Originally Posted by hdodge2972 (Post 1225173)
I am having the same issue with out new cRIO ii trying to download code from netbeans. I have tried everything that you guys have. Exact same error except with team 2972 credentials. Any ideas?

Try rebooting the cRIO multiple times, it always seems like you have to reboot it once after imaging it, and a second time after trying to send code for the first time. At least from personal experience.

jesusrambo 31-01-2013 20:10

Re: Waiting to connect to OTA command server
 
Yep, I've noticed that for the past four years it's been like that. Every time I reimage the cRIO and deploy code, it'll stick on that and I have to manually reboot.


All times are GMT -5. The time now is 21:14.

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