Discussion:
[Contiki-developers] Cooper: Server not responding
Bildea Ana
2014-02-24 15:28:59 UTC
Permalink
Hello,

I am trying to test out the Coap functionality with Cooja on Sky motes.
I use the contiki 2.6 version and the Cooper browser 0.18:

https://addons.mozilla.org/fr/firefox/addon/copper-270430/


I followed the tutorial
(
https://github.com/adamdunkels/contiki-fork/tree/master/examples/er-rest-example)
as below:

COOJA HOWTO
Server only:

*make TARGET=cooja coap-client-server-example.csc*

Open new terminal

*make connect-router-cooja*

Start Copper and discover resources at coap://cooja2:5683/. Choose "Click
button on Sky 2" from the context menu
of mote 2 (server)after requesting /test/separate
Do the same when observing /test/event

I selected the corespondent version of COAP on COOPER e.G.. 0.8 available
on the right top corner of Cooper.

Well, although I can ping the motes from Linux, in Cooper typing
coap://[aaaa::0212:7401:0001:0101]:5683/ I obtain the errors:

Browser :
*Cooper: Server not responding*
Terminal:
*=timeout================*
* Message ID: 2808*
* =======================*
*INFO: errorHandler()*

Thank you in advance for any suggestions.

Best,
Ana B.
Pablo Corbalán Pelegrín
2014-02-25 09:15:00 UTC
Permalink
Hi Ana,

I am working with the Er-Rest-Example and I got it working with real motes.
I don't know if you got it working already but what you have to do is:

Cooja: How to use Server Only

make TARGET=cooja clap-client-server-example.csc

Open a new terminal and execute the next command:

make connect-router-cooja

Then, go to Cooja and start simulation. There, you will see there are two
motes, one is the RPL Border Router (Green) and the other one is the CoAP
Server. If you take the RPL IPv6 an go to the browser in the next address:

http://[aaaa::212:7401:1:101]/

You will see how it is your network. So, that address belongs to the RPL
Border Router and not to the CoAP Server, so that's why what you were doing
wasn't working. Then, if you take the IPv6 of the other mote (CoAP Server)
you will be able to use Copper and get the information from it. So, go to
the next address:

coap://[aaaa::212:7402:2:202]/

And start getting information from the CoAP Server. However, I couldn't get
anything at coap://cooja2:5683/.

I hope this help you out.

Best regards,
Pablo Corbalán
Post by Bildea Ana
Hello,
I am trying to test out the Coap functionality with Cooja on Sky motes.
https://addons.mozilla.org/fr/firefox/addon/copper-270430/
I followed the tutorial
(
https://github.com/adamdunkels/contiki-fork/tree/master/examples/er-rest-example)
COOJA HOWTO
*make TARGET=cooja coap-client-server-example.csc*
Open new terminal
*make connect-router-cooja*
Start Copper and discover resources at coap://cooja2:5683/. Choose "Click
button on Sky 2" from the context menu
of mote 2 (server)after requesting /test/separate
Do the same when observing /test/event
I selected the corespondent version of COAP on COOPER e.G.. 0.8 available
on the right top corner of Cooper.
Well, although I can ping the motes from Linux, in Cooper typing
*Cooper: Server not responding*
*=timeout================*
* Message ID: 2808*
* =======================*
*INFO: errorHandler()*
Thank you in advance for any suggestions.
Best,
Ana B.
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Contiki-developers mailing list
https://lists.sourceforge.net/lists/listinfo/contiki-developers
--
Saludos,
Pablo Corbalán Pelegrín
Moritz Struebe
2014-02-25 09:51:14 UTC
Permalink
However, I couldn't get anything at coap://cooja2:5683/
No DN entry? http://en.wikipedia.org/wiki/Domain_name

Morty
--
Dipl.-Ing. Moritz 'Morty' Struebe (Wissenschaftlicher Mitarbeiter)
Lehrstuhl für Informatik 4 (Verteilte Systeme und Betriebssysteme)
Friedrich-Alexander-Universität Erlangen-Nürnberg
Martensstr. 1
91058 Erlangen

Tel : +49 9131 85-25419
Fax : +49 9131 85-28732
eMail : ***@informatik.uni-erlangen.de
WWW : http://www4.informatik.uni-erlangen.de/~morty
Bildea Ana
2014-02-26 08:46:30 UTC
Permalink
Hi,

Thanks a lot for your suggestions. Finally it works.

As I use a virtual machine, I had to stop first the firewall in Windows and
afterwards I set up in Firefox (Ubuntu) the proxy using the parameters of
the system.
Then, I had to set up the COAP version 06 on the right corner of Cooper.
That's all.


Thanks again.

Best,
Ana

Loading...