Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

error starting the example program #21

Open
yogeshVU opened this issue Jul 1, 2021 · 0 comments
Open

error starting the example program #21

yogeshVU opened this issue Jul 1, 2021 · 0 comments

Comments

@yogeshVU
Copy link

yogeshVU commented Jul 1, 2021

Once starting the Example program from the readme.md with appropriate url set to localhost:2746, one gets following error:

"/Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home/bin/java" -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=49913:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Users//Projects/testArgoClient/target/classes:/Users//.m2/repository/io/argoproj/workflow/argo-client-java/v3.0.1/argo-client-java-v3.0.1.jar:/Users//.m2/repository/io/kubernetes/client-java/9.0.2/client-java-9.0.2.jar:/Users//.m2/repository/io/kubernetes/client-java-api/9.0.2/client-java-api-9.0.2.jar:/Users//.m2/repository/io/sundr/builder-annotations/0.21.0/builder-annotations-0.21.0.jar:/Users//.m2/repository/io/sundr/sundr-core/0.21.0/sundr-core-0.21.0.jar:/Users//.m2/repository/io/sundr/sundr-codegen/0.21.0/sundr-codegen-0.21.0.jar:/Users//.m2/repository/io/sundr/resourcecify-annotations/0.21.0/resourcecify-annotations-0.21.0.jar:/Users//.m2/repository/org/joda/joda-convert/2.2.1/joda-convert-2.2.1.jar:/Users//.m2/repository/io/kubernetes/client-java-proto/9.0.2/client-java-proto-9.0.2.jar:/Users//.m2/repository/org/yaml/snakeyaml/1.26/snakeyaml-1.26.jar:/Users//.m2/repository/commons-codec/commons-codec/1.14/commons-codec-1.14.jar:/Users//.m2/repository/org/apache/commons/commons-compress/1.20/commons-compress-1.20.jar:/Users//.m2/repository/com/google/guava/guava/29.0-jre/guava-29.0-jre.jar:/Users//.m2/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar:/Users//.m2/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:/Users//.m2/repository/org/checkerframework/checker-qual/2.11.1/checker-qual-2.11.1.jar:/Users//.m2/repository/com/google/errorprone/error_prone_annotations/2.3.4/error_prone_annotations-2.3.4.jar:/Users//.m2/repository/com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.jar:/Users//.m2/repository/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar:/Users//.m2/repository/org/bouncycastle/bcprov-ext-jdk15on/1.66/bcprov-ext-jdk15on-1.66.jar:/Users//.m2/repository/org/bouncycastle/bcpkix-jdk15on/1.66/bcpkix-jdk15on-1.66.jar:/Users//.m2/repository/org/bouncycastle/bcprov-jdk15on/1.66/bcprov-jdk15on-1.66.jar:/Users//.m2/repository/com/google/protobuf/protobuf-java/3.12.2/protobuf-java-3.12.2.jar:/Users//.m2/repository/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar:/Users//.m2/repository/org/bitbucket/b_c/jose4j/0.7.2/jose4j-0.7.2.jar:/Users//.m2/repository/io/swagger/swagger-annotations/1.5.24/swagger-annotations-1.5.24.jar:/Users//.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/Users//.m2/repository/com/squareup/okhttp3/okhttp/3.14.7/okhttp-3.14.7.jar:/Users//.m2/repository/com/squareup/okio/okio/1.17.2/okio-1.17.2.jar:/Users//.m2/repository/com/squareup/okhttp3/logging-interceptor/3.14.7/logging-interceptor-3.14.7.jar:/Users//.m2/repository/com/google/code/gson/gson/2.8.6/gson-2.8.6.jar:/Users//.m2/repository/io/gsonfire/gson-fire/1.8.4/gson-fire-1.8.4.jar:/Users//.m2/repository/org/apache/commons/commons-lang3/3.10/commons-lang3-3.10.jar:/Users//.m2/repository/joda-time/joda-time/2.9.9/joda-time-2.9.9.jar:/Users//.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar ArgoClient
Exception when calling ArchivedWorkflowServiceApi#archivedWorkflowServiceDeleteArchivedWorkflow
Status code: 0
Reason: null
Response headers: null
io.argoproj.workflow.ApiException: java.io.IOException: unexpected end of stream on http://localhost:2746/...
	at io.argoproj.workflow.ApiClient.execute(ApiClient.java:910)
	at io.argoproj.workflow.apis.ArchivedWorkflowServiceApi.archivedWorkflowServiceDeleteArchivedWorkflowWithHttpInfo(ArchivedWorkflowServiceApi.java:150)
	at io.argoproj.workflow.apis.ArchivedWorkflowServiceApi.archivedWorkflowServiceDeleteArchivedWorkflow(ArchivedWorkflowServiceApi.java:130)
	at ArgoClient.main(ArgoClient.java:17)
Caused by: java.io.IOException: unexpected end of stream on http://localhost:2746/...
	at okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.java:236)
	at okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.java:115)
	at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:94)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
	at io.argoproj.workflow.ApiClient$2.intercept(ApiClient.java:1244)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:43)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
	at okhttp3.RealCall.execute(RealCall.java:81)
	at io.argoproj.workflow.ApiClient.execute(ApiClient.java:906)
	... 3 more
Caused by: java.io.EOFException: \n not found: limit=0 content=…
	at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:240)
	at okhttp3.internal.http1.Http1ExchangeCodec.readHeaderLine(Http1ExchangeCodec.java:242)
	at okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.java:213)
	... 23 more

Process finished with exit code 0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant