Skip to content

Emitted 'error' event on TLSSocket #17

@Bit0r

Description

@Bit0r

system:


        a8888b.           Host        -  bit0r@bit0r-x16
       d888888b.          Machine     -  WOOKING X16 Series 1
       8P"YP"Y88          Kernel      -  6.9.12-060912-generic
       8|o||o|88          Distro      -  Ubuntu 24.04 LTS (Noble Numbat)
       8'    .88          DE          -  KDE
       8`._.' Y8.         WM          -  KWin (X11)
      d/      `8b.        Packages    -  3833 (dpkg), 1 (cargo), 7 (snap)
     dP        Y8b.       Terminal    -  warp
    d8:       ::88b.      Shell       -  fish
   d8"         'Y88b      Uptime      -  3h 41m
  :8P           :888      CPU         -  AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (16)
   8a.         _a88P      Resolution  -  2560x1600, 2560x1440
 ._/"Yaa     .| 88P|      Brightness  -  55%
 \    YP"    `|     `.    CPU Load    -  3%
 /     \.___.d|    .'     Memory      -  8.4 GB/27.9 GB
 `--..__)     `._.'

run:

ai-renamer -p openai -u https://40.chatgptsb.net -a $OPENAI_API_KEY ./

output:

⚪ Provider: openai
⚪ API key: **********
⚪ Base URL: https://40.chatgptsb.net
⚪ Available models: gpt-4o, gpt-4, gpt-3.5-turbo
⚪ Model: gpt-4o
⚪ Frames: 3
⚪ Case: kebabCase
⚪ Chars: 20
⚪ Language: English
⚪ Include subdirectories: false
--------------------------------------------------
🟡 Unsupported file: 299321fff0972a2063743040f8088378_openai-chat-gpt.webp
🔴 Model error: Request failed with status code 413 (GF2_PMS1__L1A0001680851-MSS1.tif)
🔴 Model error: fail to decode image config(webp): riff: missing RIFF chunk header (request id: 20240803185715231119104T6U45hrN) (L256_rad_flaash_ort_goodband.tiff)
🟢 Renamed: folder-organize.jpg to photo-organize.jpg
🟢 Renamed: labels.jpg to graph-display.jpg
node:events:497
      throw er; // Unhandled 'error' event
      ^

Error: write EPIPE
    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:95:16)
Emitted 'error' event on TLSSocket instance at:
    at emitErrorNT (node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (node:internal/streams/destroy:128:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}

Node.js v20.15.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions