Coder Social home page Coder Social logo

[BUG] : java.lang.RuntimeException: org.apache.hc.core5.http.ParseException: Invalid protocol version; error at offset 0: <[0x2e][0x2f][0x30][0x31][0x32][0x33][0x34][0x35][0x36][0x37][0x38][0x39][0x3a][0x3b][0x3c][0x3d][0x3e]> about azure-notificationhubs-java-backend HOT 4 CLOSED

azure avatar azure commented on June 25, 2024
[BUG] : java.lang.RuntimeException: org.apache.hc.core5.http.ParseException: Invalid protocol version; error at offset 0: <[0x2e][0x2f][0x30][0x31][0x32][0x33][0x34][0x35][0x36][0x37][0x38][0x39][0x3a][0x3b][0x3c][0x3d][0x3e]>

from azure-notificationhubs-java-backend.

Comments (4)

Gallaecio avatar Gallaecio commented on June 25, 2024

Sounds like https://issues.apache.org/jira/browse/HTTPCLIENT-2219

from azure-notificationhubs-java-backend.

dpozimski avatar dpozimski commented on June 25, 2024

libs.zip
compiled version from https://github.com/Azure/azure-notificationhubs-java-backend/pull/149

from azure-notificationhubs-java-backend.

dpozimski avatar dpozimski commented on June 25, 2024

you can install the file to your docker/local maven repository by executing:
mvn install:install-file -Dfile=".\libs\Notification-Hubs-java-sdk-custom-1.0.4.jar" -DgroupId="com.windowsazure" -DartifactId="Notification-Hubs-java-sdk-custom" -Dversion="1.0.4" -Dpackaging=jar -DpomFile=".\libs\pom.xml"

from azure-notificationhubs-java-backend.

jessHuh avatar jessHuh commented on June 25, 2024

The POC provided by the customer uses different library versions and has extra dependencies that Azure Notification Hub(ANH) SDK doesn't. The customer may remove libraries that ANH SDK doesn't use and use the same library versions to resolve the issue. Unfortunately, we will not be able to provide support on fixing the customer's written codebase.

Closing the ticket as it is tested and verified with JDK 17.

  1. Verified the fcm send test with ANH Java SDK 1.0.3 (https://github.com/Azure/azure-notificationhubs-java-backend/blob/main/NotificationHubs/test/com/windowsazure/messaging/e2e/RegistrationCrudsE2E.java#L837) works without errors.
  2. The customer may run the test to check their FCM Notification. Note that, the e2eSetup.properties file is needed to be updated with the connectionstring and gcmkey.

from azure-notificationhubs-java-backend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.