You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Getting No functional channel service provider found error for Google Cloud Pub/Sub #2341
I am trying to implement java code with service-account credentials but when I am running the application, I am getting No functional channel service provider found. Try adding a dependency on the grpc-okhttp or grpc-netty artifact error. I even added grpc-okhttp and grpc-netty artifact as individual and as both. but nothing worked fine for me. Any help is really appreciated. I am getting issue at
I suspect it might be your runtime environment, because you seem to have all the right dependencies. Also, the specific error you are seeing is coming from grpc, so you would have to file an issue against grpc-java for deeper investigation.
Yes, it is what you referred to. Because I haven't installed SDK in the environment where I am running the application. I am assuming that it could be the culprit.
OS details:
os.detected.name: windows
os.detected.arch: x86_64
os.detected.classifier: windows-x86_64
os.detected.release: null
os.detected.release.version: null
Checking compatibility...
This OS + architecture is supported by Forked Tomcat Native.
Result: UNKNOWN (checker implementation not complete)
OS details:
os.detected.name: windows
os.detected.arch: x86_64
os.detected.classifier: windows-x86_64
os.detected.release: null
os.detected.release.version: null
JVM details:
Java version: 1.8.0_121
Java specification version: 1.8
JVM bit mode: 64
OpenSSL details:
open ssl is available: true
ALPN is supported: true
Checking compatibility...
[PASS] This OS + architecture is supported.
[PASS] 64-bit JVM is supported.
[PASS] Open SSL is available
[PASS] Open SSL ALPN is supported
Result: UNKNOWN (checker implementation not complete)
Based on what was checked, nothing was identified that would
prevent you from using grpc-based APIs.
@phanikumarmss could i trouble you to describe more of the environment? e.g., what application server does it run it? did you shade anything? etc. thanks!
Activity
garrettjonesgoogle commentedon Aug 15, 2017
Can you provide your dependency tree? If you are using maven, you can get that by running
mvn dependency:treephanikumarmss commentedon Aug 15, 2017
garrettjonesgoogle commentedon Aug 15, 2017
I see that you have 1.4.0 for most of your grpc dependencies, but 1.5.0 for grpc-protobuf. Could you make that match? (use 1.4.0)
phanikumarmss commentedon Aug 15, 2017
Even after downgrading the grpc-protobuf to 1.4.0, I am facing the same issue.
garrettjonesgoogle commentedon Aug 15, 2017
I suspect it might be your runtime environment, because you seem to have all the right dependencies. Also, the specific error you are seeing is coming from grpc, so you would have to file an issue against grpc-java for deeper investigation.
phanikumarmss commentedon Aug 15, 2017
Do Pub/Sub client libraries depend on Google SDK by any chance
garrettjonesgoogle commentedon Aug 15, 2017
I'm not sure exactly what you mean by "Google SDK" (is it https://cloud.google.com/sdk/ ?), but we don't depend on anything by that name.
phanikumarmss commentedon Aug 15, 2017
Yes, it is what you referred to. Because I haven't installed SDK in the environment where I am running the application. I am assuming that it could be the culprit.
garrettjonesgoogle commentedon Aug 15, 2017
The Cloud SDK isn't a requirement for google-cloud-java.
phanikumarmss commentedon Aug 15, 2017
Ok, Thank you.
garrettjonesgoogle commentedon Aug 16, 2017
@phanikumarmss I see in grpc/grpc-java#3348 that you are hitting the ALPN error (we have an open ticket #2266 to track this, even though the issue lies with grpc / netty). Could you try running https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-util/google-cloud-compat-checker , and paste the output here?
phanikumarmss commentedon Aug 16, 2017
OS details:
os.detected.name: windows
os.detected.arch: x86_64
os.detected.classifier: windows-x86_64
os.detected.release: null
os.detected.release.version: null
Checking compatibility...
This OS + architecture is supported by Forked Tomcat Native.
Result: UNKNOWN (checker implementation not complete)
1 remaining item
garrettjonesgoogle commentedon Aug 17, 2017
@phanikumarmss could you sync to the latest google-cloud-compat-checker and run it again? (I have added a bunch more checks)
phanikumarmss commentedon Aug 18, 2017
garrettjonesgoogle commentedon Aug 18, 2017
@phanikumarmss I assume it's still not working for you?
phanikumarmss commentedon Aug 19, 2017
Yes, I am still facing issue with Windows @garrettjonesgoogle
saturnism commentedon Aug 23, 2017
@phanikumarmss could i trouble you to describe more of the environment? e.g., what application server does it run it? did you shade anything? etc. thanks!
pongad commentedon Nov 9, 2017
The canonical issue for this is probably grpc/grpc-java#3025 .
I'll close this as duplicate. Please reopen if required.
deps: update dependency com.google.cloud:google-cloud-storage to v2.4…
deps: update dependency com.google.cloud:google-cloud-storage to v2.4…
chore(main): release 3.39.0 (#2341)
feat: add internal "deadline remaining" client side metric googleapis…
feat: add support for Row Affinity app profiles (googleapis#2341)