Git Product home page Git Product logo

chatgpt-codereview-gitlab's Introduction

Hi 👋 !


chatgpt-codereview-gitlab's People

Contributors

jianxiaobai avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chatgpt-codereview-gitlab's Issues

TypeError: fetch failed

环境

  • node:v18.15.0
  • pnpm:5.4

配置

Gitlab - 项目 - 设置 - Webhooks - 网址 - http://xxx.com/gitlab-review/webhook?projectId=xx&token=xxxx&language=ZH(xx 为实际配置)

问题描述

点击 测试 - Merge Requests Events 时,POST 请求返回 200,即 Hook executed successfully: HTTP 200,但 node 会报错,报错信息如下。

报错日志

TypeError: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:11413:11)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at file:///Users/wowking/Documents/git/gitlab-review-chatgpt/node_modules/.pnpm/[email protected]/node_modules/chatgpt/src/chatgpt-api.ts:233:25 {
  cause: ConnectTimeoutError: Connect Timeout Error
      at onConnectTimeout (node:internal/deps/undici/undici:8380:28)
      at node:internal/deps/undici/undici:8338:50
      at Immediate._onImmediate (node:internal/deps/undici/undici:8369:13)
      at processImmediate (node:internal/timers:476:21) {
    code: 'UND_ERR_CONNECT_TIMEOUT'
  }
}

以上,求大神指导。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.