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

error when uploading photos #63

Open
1 task
ahansson89 opened this issue Jan 3, 2025 · 2 comments
Open
1 task

error when uploading photos #63

ahansson89 opened this issue Jan 3, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@ahansson89
Copy link

Describe the bug
error when uploading photos

To Reproduce
Upload a photo

Expected behavior
The photo should upload and be processed by the pipeline

Please complete the following information about the solution:

  • [x ] Version: [latest]
  • [x ] Region: [us-east-1]
  • [x ] Was the solution modified from the version published on this repository? No
  • If the answer to the previous question was yes, are the changes available on GitHub?
  • [x ] Have you checked your service quotas for the sevices this solution uses? Yes
  • [x ] Were there any errors in the CloudWatch Logs? Yes

Screenshots
Image 1-3-25 at 1 59 PM

Additional context

{
    "errorType": "Error",
    "errorMessage": "write EPIPE",
    "code": "EPIPE",
    "errno": -32,
    "syscall": "write",
    "stack": [
        "Error: write EPIPE",
        "    at afterWriteDispatched (node:internal/stream_base_commons:161:15)",
        "    at writeGeneric (node:internal/stream_base_commons:152:3)",
        "    at Socket._writeGeneric (node:net:954:11)",
        "    at Socket._write (node:net:966:8)",
        "    at writeOrBuffer (node:internal/streams/writable:570:12)",
        "    at _write (node:internal/streams/writable:499:10)",
        "    at Writable.write (node:internal/streams/writable:508:10)",
        "    at IncomingMessage.ondata (node:internal/streams/readable:1007:22)",
        "    at IncomingMessage.emit (node:events:519:28)",
        "    at addChunk (node:internal/streams/readable:559:12)"
    ]
}```

after adding some more error logging, this is what I get:

```{
  "cause": {
    "errorType": "M2CException",
    "errorMessage": "exiftool returns non-zero (126)",
    "trace": [
      "M2CException: exiftool returns non-zero (126)",
      "    at ChildProcess.<anonymous> (/var/task/states/run-imageinfo/exiftool.js:138:16)",
      "    at ChildProcess.emit (node:events:519:28)",
      "    at ChildProcess._handle.onexit (node:internal/child_process:294:12)",
      "    at Process.callbackTrampoline (node:internal/async_hooks:130:17)"
    ]
  },
  "error": "M2CException"
}```
@ahansson89 ahansson89 added the bug Something isn't working label Jan 3, 2025
@aws-kens
Copy link
Collaborator

aws-kens commented Feb 7, 2025

Hi @ahansson89 ,

I am unable to reproduce the problem.
What format of the images? JPEG / PNG / etc
What is the filesize of the images? Is it very large image?
If possible, could you share one of the images that can reproduce the issue? (PLEASE DO NOT share image that contains any sensitive information)

Thank you!

@mbordash2
Copy link

mbordash2 commented Feb 19, 2025

I am getting the same error myself. Attached is the image producing the error for me.

{
  "errorType": "Error",
  "errorMessage": "write EPIPE",
  "trace": [
    "Error: write EPIPE",
    "    at afterWriteDispatched (node:internal/stream_base_commons:161:15)",
    "    at writeGeneric (node:internal/stream_base_commons:152:3)",
    "    at Socket._writeGeneric (node:net:954:11)",
    "    at Socket._write (node:net:966:8)",
    "    at writeOrBuffer (node:internal/streams/writable:570:12)",
    "    at _write (node:internal/streams/writable:499:10)",
    "    at Writable.write (node:internal/streams/writable:508:10)",
    "    at IncomingMessage.ondata (node:internal/streams/readable:1007:22)",
    "    at IncomingMessage.emit (node:events:519:28)",
    "    at addChunk (node:internal/streams/readable:559:12)"
  ]
}

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants