Error deserializing raw event: Cannot read. Remote side has closed

When i trigger page view event, a file in snowplow-bad-enriched-event s3 bucket is uploaded by data firehose.

{"schema":"iglu:com.snowplowanalytics.snowplow.badrows/collector_payload_format_violation/jsonschema/1-0-0","data":{"processor":{"artifact":"snowplow-stream-enrich","version":"1.0.0"},"failure":{"timestamp":"2020-09-15T14:36:12.010Z","loader":"thrift","message":{"error":"error deserializing raw event: Cannot read. Remote side has closed. Tried to read 2 bytes, but only got 1 bytes. (This is often indicative of an internal error on the server side. Please check your server logs.)"}},"payload":"####="}}

Where should i check? Do i need to setup anything? I have setup collector (scala stream collector) , tracker, enrich (stream enrich). Help me

This suggests an error in your configuration. You should check your server logs and/or your cloudwatch logs to see if there is any more information that would point you towards the issue with your cloud configuration.

Please do take note of the error messages and give our docs a good read, plus the AWS docs for the components you are using, to make sure you’ve followed all the steps. Our docs are not perfect, but if you don’t drift too far from the standard set up, with complimentary knowledge of AWS, you should be able to get yourself set up quickly.