-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Description
I am trying to configure google speech api to work in my project within the company's firewall. I have configured the SpeechSettings as following:
InputStream is = this.getClass().getResourceAsStream("/my-service-account.json");
CredentialsProvider credentialsProvider = FixedCredentialsProvider.create(ServiceAccountCredentials.fromStream(is));
SpeechSettings.Builder builder = SpeechSettings.newBuilder();
builder.setTransportProvider(SpeechSettings.defaultTransportProvider());
builder.setCredentialsProvider(credentialsProvider);
SpeechSettings settings = builder.build();
SpeechClient.create(settings);
Describe the issue
Using this works outside proxy network correctly and starts a speech recognize session. But it fails to transcribe anything under a proxy authenticated network and times out without giving any error. Is it possible to authenticate with the proxy settings while creating the speech client session? Thanks.
Metadata
Metadata
Assignees
Labels
No labels