Hello Rdobrik,
Thanks for the awesome library. We are trying to run helloworld sample code given in the quick start guide using motoko playground for backend. for running this application we used the canister id given by the motoko playground when we deployed the sample code. but we are receiving this error
The replica returned an HTTP Error: Invalid protocol version; error at offset 0: <[0x2e][0x2f][0x30][0x31][0x32][0x33][0x34][0x35][0x36][0x37][0x38][0x39][0x3a][0x3b]d[0x3d][0x3e][0x3f][0x40][0x41][0x42][0x43][0x44][0x45]ÿÿÿ[0x49][0x4a][0x4b][0x4c][0x4d][0x4e][0x4f][0x50][0x51]ÿ[0x54][0x55][0x56][0x57][0x58][0x59][0x5a][0x5b][0x5c][0x5d][0x5e][0x5f][0x60][0x61][0x62][0x63][0x64][0x65][0x66]>
your help is greatly appreciated in this regards.
Hi Rajeev,
Thank you for testing our libraries. There might be some incompatibilities between different versions of ICP and Agent, as the ICP protocol has changed. Please try using the latest version of Agent (0.7.0). I have updated and tested the sample with the latest ICP Playground and also tested it with Java 8 and Java 21. You can find the sample here: IC4J HelloWorld Sample.
Let me know if you encounter any other issues. I will also update the other samples as needed.
2 Likes
Hi @rdobrik,
I’m also very thankful for you library 
I came across it recently, and the reason is that we have a use case where we need a Java IC agent to integrate with the Internet Computer.
Before proceeding, I wanted to ask whether the library is still actively maintained and up to date.
In particular, does it support ic_cdk 0.19? As far as I understand, there were some breaking changes around call results and related structures, and I wanted to confirm compatibility.
Thanks again for your work, and I appreciate any clarification you can provide!