We have updated our Terms of Service, Code of Conduct, and Addendum.

Error with Google Cloud Storage Destination

Options
JH Liew
JH Liew Posts: 1
edited September 2023 in Stream

Hi, I am currently exploring a way to collect event data and looking to save it into a temporary staging storage (GCS Bucket) before transferring the data downstream for further processing.

I am having difficulty to get a working configuration on Stream no matter what I tried. Stream worker is always throwing the following error: "failed to close file" where the detailed message is saying "Invalid argument." without much details except that the file that Stream worker is having issue to close is at this location: /opt/cribl/state/outputs/staging/prefix/Bucket_yyyymmdd_hhmm/yyyy/mm/dd/CriblOut-<random>.0.json.tmp

I have checked that the credentials for accessing the bucket is valid and the permissions for the given credentials are alright for upload files into the bucket.

Does anyone have any idea how I might be able to get around this problem?

Thanks.

Answers

  • Tomer Shvueli
    Options

    Hi @JH Liew ,

    What version of Stream are you running? Does the user running Stream have file permissions to access and remove files in the staging path that you put?