Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server without DTLS #392

Closed
bboeck opened this issue Sep 27, 2017 · 2 comments
Closed

Server without DTLS #392

bboeck opened this issue Sep 27, 2017 · 2 comments
Labels
bsserver Impact LWM2M bootstrap server bug Dysfunctionnal behavior server Impact LWM2M server

Comments

@bboeck
Copy link

bboeck commented Sep 27, 2017

Since M4 it is not possible to create a server without using dtls.

public static void main (String args[]) {
    	LeshanServerBuilder builder = new LeshanServerBuilder();
        builder.disableSecuredEndpoint();
        LeshanServer server = builder.build();
        server.start();
    }

Even if disableSecuredEndpoint is set, I get the following exception

Exception in thread "main" java.lang.IllegalStateException: Supported cipher suites must be set either explicitly or implicitly by means of setting the identity or PSK store
	at org.eclipse.californium.scandium.config.DtlsConnectorConfig$Builder.build(DtlsConnectorConfig.java:872)
	at org.eclipse.leshan.server.californium.LeshanServerBuilder.build(LeshanServerBuilder.java:404)
@sbernard31 sbernard31 added bsserver Impact LWM2M bootstrap server bug Dysfunctionnal behavior client Impact LWM2M client server Impact LWM2M server labels Sep 27, 2017
@sbernard31
Copy link
Contributor

sbernard31 commented Sep 27, 2017

Thx a lot @bboeck to report that.
It should be fixed by #397.

Nice shirt by the way ;)

@sbernard31 sbernard31 removed the client Impact LWM2M client label Sep 27, 2017
@sbernard31
Copy link
Contributor

Fixed in master (commit cd08129)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bsserver Impact LWM2M bootstrap server bug Dysfunctionnal behavior server Impact LWM2M server
Projects
None yet
Development

No branches or pull requests

2 participants