Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Secured Read Failed - FD Shutdown error on Async GRPC request #427

Closed
mitbeaver opened this issue Jul 21, 2016 · 3 comments
Closed

Secured Read Failed - FD Shutdown error on Async GRPC request #427

mitbeaver opened this issue Jul 21, 2016 · 3 comments
Assignees
Labels
ML 🚨 This issue needs some love. triage me I really want to be triaged.

Comments

@mitbeaver
Copy link

mitbeaver commented Jul 21, 2016

I'm having issues with the async grpc reqest. I have uploaded the audio raw file to GS under the project with the service account I'm using for authentication.

I'm able to access the file fine via gsutil and verified that the ACL seems to have the service account:

[email protected]:~/google/python-docs-samples/speech/api$ gsutil cp gs://#####/audio.raw .
Copying gs://#####/audio.raw...
Downloading file://./audio.raw: 56.6 KiB/56.6 KiB

[email protected]:~/google/python-docs-samples/speech/api$ gsutil acl get gs://#####/audio.raw
[
{
"email": "#####@call-qa.iam.gserviceaccount.com",
"entity": "user-#####@call-qa.iam.gserviceaccount.com",
"role": "OWNER"
}
]

But, keep getting the following transport errors

[email protected]:~/google/python-docs-samples/speech/api$ python speech_async_grpc.py gs://#####/audio.raw
D0721 10:58:13.542879368 20691 ev_posix.c:101] Using polling engine: poll
name: "851082764888594635"

Waiting for server processing...
Waiting for server processing...
Waiting for server processing...
Waiting for server processing...

E0721 10:58:19.494730797 20691 chttp2_transport.c:1810] close_transport: {"created":"@1469087899.491311775","description":"Secure read failed","file":"src/core/lib/security/transport/secure_endpoint.c","file_line":157,"referenced_errors":[{"created":"@1469087899.491294226","description":"FD shutdown","file":"src/core/lib/iomgr/ev_poll_posix.c","file_line":427}]}

Which looks like it just can't reach Google Storage to read the file? Just not sure what else to do or how to verify I have things setup properly. I'm hoping this is just a permission issue and I'm being stupid :)

@jerjou
Copy link
Contributor

jerjou commented Jul 25, 2016

It's probably not you being stupid :)
How are you exposing the service account to the script? Are you using the GOOGLE_APPLICATION_CREDENTIALS environment variable? If not, can you try using that?

@jerjou jerjou self-assigned this Jul 25, 2016
@puneith
Copy link
Contributor

puneith commented Jul 29, 2016

@mitbeaver Were you able to try @jerjou suggestion and make things work?

@puneith puneith added the ML label Jul 29, 2016
@jerjou
Copy link
Contributor

jerjou commented Aug 2, 2016

Closing this for now. Please re-open if you're still having this issue, and we can dig deeper.

@jerjou jerjou closed this as completed Aug 2, 2016
@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels Apr 6, 2020
dizcology pushed a commit that referenced this issue Jun 16, 2023
dizcology pushed a commit that referenced this issue Jul 10, 2023
leahecole pushed a commit that referenced this issue Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ML 🚨 This issue needs some love. triage me I really want to be triaged.
Projects
None yet
Development

No branches or pull requests

4 participants