[BUG]Getting error:Input byte array has incorrect ending byte when using spring-cloud-azure-starter-storage-blob
See original GitHub issueWhile I am trying to read a blob file from Java application using https://docs.microsoft.com/en-us/azure/developer/java/spring-framework/configure-spring-boot-starter-java-app-with-azure-storage,
getting error
Input byte array has incorrect ending byte at 88
at java.util.Base64$Decoder.decode0(Base64.java:742)
at java.util.Base64$Decoder.decode(Base64.java:526)
at java.util.Base64$Decoder.decode(Base64.java:549)
at com.azure.storage.common.implementation.StorageImplUtils.computeHMac256(StorageImplUtils.java:252)
Suppressed: java.lang.Exception: #block terminated with an error
at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:99)
at reactor.core.publisher.Mono.block(Mono.java:1707)
Kindly let me know how to connect to azure storage container and read file from azure storage using java code as it is giving this issue
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Input byte array has incorrect ending byte at 40 - Stack Overflow
Okay, I found out. The original String is encoded on an Android device using android.util.Base64 by Base64.encodeToString(json.
Read more >java.lang.IllegalArgumentException when there is spaces at ...
Result: Test Connection result is connected but the following exception occurs. java.lang.IllegalArgumentException: Input byte array has incorrect ending ...
Read more >Integrity LM: Admin Panel - PTC Community
IllegalArgumentException: Input byte array has incorrect ending byte at 16". How can I handle this issue? Anyone has a idea? Labels:.
Read more >V3.0.* : sending JSON via REST returns "java.lang ...
IllegalArgumentException: Input byte array has incorrect ending ... a) the “tcpdump” captured packet with the request to the v3.0.24 server:
Read more >Input byte array has wrong 4-byte ending unit" - Appian ...
KB-1728 Tomcat fails with "java.lang.IllegalArgumentException: Input byte array has wrong 4-byte ending unit". Symptoms. Tomcat fails to deploy Appian with the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @yashaswi90 thank you for reaching out to us via this GitHub issue. @backwind1233 could you please follow up?
For me, the presence of a whitespace in the connection details (which were getting picked up from applicaion.properties) was causing this issue. I believe the error message was not sufficient to look into the auth problems on the first look and this could be improved.