mkarasik
mkarasik
As far as I remember it was 404 response with 55 bytes of data as error message in JSON format.
Opposite, server was responding with 404 and body. Give me an hour I'll bring my setup and try to reproduce the issue.
Here is what happens. Server responds with 404 and some body. getCsrAttributes comes to the line https://github.com/bcgit/bc-java/blob/master/pkix/src/main/java/org/bouncycastle/est/ESTService.java#L540 than continue to https://github.com/bcgit/bc-java/blob/master/pkix/src/main/java/org/bouncycastle/est/ESTService.java#L566 which throws java.io.IOException: Stream closed before limit fully read,...
I patched in my branch as below ``` } catch (error) { if (error.message.startsWith("Artifact has expired")) { setExitMessage(ifNoArtifactFound, "no downloadable artifacts found (expired)") if (ifNoArtifactFound === "fail") return else continue...