Skip to content

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

Closed

Description

@mitbeaver

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:

johndoe@xyz.com:~/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

johndoe@xyz.com:~/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

johndoe@xyz.com:~/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 :)

Activity

  1. jerjou commented on Jul 25, 2016

    @jerjou
    Contributor

    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?

  2. self-assigned this
    on Jul 25, 2016
  3. puneith commented on Jul 29, 2016

    @puneith
    Contributor

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

  4. jerjou commented on Aug 2, 2016

    @jerjou
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.MLtriage meI really want to be triaged.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions