Git Product home page Git Product logo

helidon-examples's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

helidon-examples's Issues

2.x: `examples/security/webserver-signatures` test fails with JDK 11.0.11 (works with 11.0.22)

This might be OK, but I wanted to at least document it. If you build examples/security/webserver-signatures with JDK 11.0.11 it fails with:

[INFO] Running io.helidon.security.examples.signatures.SignatureExampleConfigMainTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.712 s <<< FAILURE! - in io.helidon.security.examples.signatures.SignatureExampleConfigMainTest
[ERROR] io.helidon.security.examples.signatures.SignatureExampleConfigMainTest  Time elapsed: 0.712 s  <<< ERROR!
io.helidon.common.pki.PkiException: Failed to read PKCS12 keystore: keystore:FILE:/Users/jdipol/GitHub/barchetta/helidon-examples/examples/security/webserver-signatures/src/main/resources/keystore.p12
	at io.helidon.security.examples.signatures.SignatureExampleConfigMainTest.initClass(SignatureExampleConfigMainTest.java:31)
Caused by: java.io.IOException: Integrity check failed: java.security.NoSuchAlgorithmException: Algorithm HmacPBESHA256 not available
	at io.helidon.security.examples.signatures.SignatureExampleConfigMainTest.initClass(SignatureExampleConfigMainTest.java:31)
Caused by: java.security.NoSuchAlgorithmException: Algorithm HmacPBESHA256 not available
	at io.helidon.security.examples.signatures.SignatureExampleConfigMainTest.initClass(SignatureExampleConfigMainTest.java:31)

Works fine with JDK 11.0.22

`/webclient/standalone` example builds OK but running the separate client as in the `README.md` fails

Environment Details

  • Helidon Version: 3.x
  • Helidon SE or Helidon MP
  • JDK version:
  • OS:
  • Docker version (if applicable):

Problem Description

The /webclient/standalone app builds and tests successfully, but it includes both a server and a client. When you start the server and then run the client per the instructions in the README.md file the client reports a failure in the redirection step.

Steps to reproduce

In the helidon-examples repo clone:

cd examples/webclient/standalone
mvn clean package
java -jar target/helidon-examples-webclient-standalone.jar

Note the port number displayed (XXX).
In another terminal window:

java -cp "target/classes:target/libs/*" io.helidon.examples.webclient.standalone.ClientMain XXX

You get output with a few successes and then a failure at the redirection step:

Exception in thread "main" java.util.concurrent.CompletionException: java.lang.IllegalStateException: Follow redirection failed!
	at java.base/java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:413)
	at java.base/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2118)
	at io.helidon.common.reactive.Awaitable.await(Awaitable.java:54)
	at io.helidon.examples.webclient.standalone.ClientMain.main(ClientMain.java:103)
Caused by: java.lang.IllegalStateException: Follow redirection failed!
	at io.helidon.examples.webclient.standalone.ClientMain.lambda$followRedirects$7(ClientMain.java:132)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.