Skip to content

SDK v1.0.10 seems incompatible with CLI v1.0.2 #178

@PeterBollen893

Description

@PeterBollen893

What happened?

copilot-sdk-java v1.0.10 Client.Start() returns an error when Copilot CLI v1.0.2 is installed

Versions

copilot-sdk-java v1.0.10, Copilot CLI v1.0.2

Relevant log output

Caused by: java.lang.RuntimeException: SDK protocol version mismatch: SDK expects version 2, but server reports version 3. Please update your SDK or server to ensure compatibility.
	at com.github.copilot.sdk.CopilotClient.verifyProtocolVersion(CopilotClient.java:205)
	at com.github.copilot.sdk.CopilotClient.lambda$startCore$1(CopilotClient.java:176)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run$$$capture(CompletableFuture.java:1768)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
	at java.base/java.util.concurrent.ForkJoinTask.doExec$$$capture(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions