Comments (6)
Can you please provide the error message? httpurlconnection is still capable of making https calls, it is doing so in samples/kotlin-sample/src/main/kotlin/Main.kt
as well as samples/scala-sample/src/main/scala/Main.scala
when querying against the GitHub v4 open api.
from nodes.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
from nodes.
GraphQLException{message='null', status='null', description='sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target', errors=null}\n\tat io.aexp.nodes.graphql.Fetch.send(Fetch.java:84)\n\tat io.aexp.nodes.graphql.GraphQLTemplate.execute(GraphQLTemplate.java:83)\n\tat io.aexp.nodes.graphql.GraphQLTemplate.query(GraphQLTemplate.java:42)
from nodes.
Also is there a reason to use httpUrlConnection over httpsUrlConnection ?
from nodes.
I want to be abe to load a keystore file while opening the connection . If thhis client is used in a serverless app , then to be able to call a https which mandates a cert we would have to load it while opening the connection . I believe that is currently not possible .
from nodes.
Hi @bpillai, the reason I chose httpUrlConnection over httpsUrlConnection is because I wanted the library to support http as well as https (see this). Your error looks unrelated to this library and more of an issue with loading your keystore into the jvm. Loading your keystore can be done in many ways based on your application and how it is run, you can find many articles and posts on doing this each way. Closing this issue out.
from nodes.
Related Issues (20)
- How to deserialize a list? HOT 2
- Exception when use gzip compression
- Cannot deserialize value of type `java.time.LocalDateTime` from String \"2020-01-30T13:42:34.400\ HOT 1
- No 'latest' link in Maven tree HOT 1
- Support for Upload
- Runtime generated classes do not serialize correctly
- ObjectMapper uses writeValueAsString()
- Having Multiple Queries in Single Request HOT 1
- Expose Property class for modification
- Problem Deserializing an Empty List
- Support for Directives?
- Fetch uses serializeMapper from ObjectMapperFactory to deserialize
- JCenter/Bintray is being Sunset. Alternative Needed? HOT 3
- bintray repository is missing HOT 5
- American Express <amex/coding>
- GraphQLTemplate possibly not thread safe HOT 3
- Query for same field multiple times HOT 1
- How to response pack as class HOT 1
- Facing issue when the querying an API with single set of fields but returning an array of it.
- Facing issues while querying an API with certain fields but getting an array in response. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodes.