Skip to content

How to use Proxy? #10

@GoogleCodeExporter

Description

@GoogleCodeExporter
I'd like to use Proxy in order to reach an isolated WSN from a remote station.

What steps will reproduce the problem?
1. My configuration is [ CoAP Client <---> Internet <---> jcoap Proxy - CoAP 
WSN ]
2. From the "proxy" station I run Proxy.class; also it's directly connected to 
the CoAP WSN.
3. From the "local station", in BasicCoapClient.java I set "fec0::2" (IPv6 of 
the CoAP Node) to SERVER_ADDRESS constant; in addition I've tried to set both 
of these properties:
coapRequest.setProxyUri("http://IP_Proxy:8080");
coapRequest.setProxyUri("coap://IP_Proxy:5683");
but, I've received a SocketException (Network is unreachable) because it tries 
to directly connect to fec0::2. 

What is the expected output? What do you see instead?
I expect to see a successful connection to my proxy, which can forward the CoAP 
Client request to the Node.

What version of the product are you using? On what operating system?
Latest version (by git). My OSs are both Ubuntu 11.10.

Please provide any additional information below.

Original issue reported on code.google.com by francesc...@gmail.com on 18 May 2012 at 4:02

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions