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

RequestError Bad response: 407 #5

Open
dekacypher opened this issue Nov 3, 2023 · 0 comments
Open

RequestError Bad response: 407 #5

dekacypher opened this issue Nov 3, 2023 · 0 comments

Comments

@dekacypher
Copy link

How can i fix this, I'm running into this error when i run yarn run dev:announcements

2023-11-03 12:08:04.265  DEBUG [src/announcements/announcements.service.js:111 undefined.<anonymous>] Fetching completed. 
2023-11-03 12:08:06.268  DEBUG [src/announcements/announcements.service.js:59 undefined.<anonymous>] Fetching announcement data from https://www.binance.com/en/support/announcement/?type=1&pageNo=1&pageSize=2 
2023-11-03 12:08:07.071  TRACE [src/announcements/announcements.service.js:108 undefined.<anonymous>] 
 RequestError  Bad response: 407
details:
{
  code: 'ERR_GOT_REQUEST_ERROR',
  timings: {
    start: 1699013286269,
    socket: undefined,
    lookup: undefined,
    connect: undefined,
    secureConnect: undefined,
    upload: undefined,
    response: undefined,
    end: undefined,
    error: 1699013287068,
    abort: undefined,
    phases: {
      wait: undefined,
      dns: undefined,
      tcp: undefined,
      tls: undefined,
      request: undefined,
      firstByte: undefined,
      download: undefined,
      total: 799
    }
  }
}
error stack:
• index.js:970 <anonymous>
    node_modules/got/dist/source/core/index.js:970:111

• node:events:630 onceWrapper
    node:events:630:26

• node:events:527 emit
    node:events:527:35

• node:domain:488 emit
    node:domain:488:12

• index.js:43 origin.emit
    node_modules/@szmarczak/http-timer/dist/source/index.js:43:20

• node:_http_client:875 _destroy
    node:_http_client:875:13

• node:_http_client:895 onSocketNT
    node:_http_client:895:5

• task_queues:83 processTicksAndRejections
    node:internal/process/task_queues:83:21


log stack:

• announcements.service.js:108 <anonymous>
    src/announcements/announcements.service.js:108:21

• announcements.service.js:33 step
    src/announcements/announcements.service.js:33:23

• announcements.service.js:14 <anonymous>
    src/announcements/announcements.service.js:14:53

• announcements.service.js:6 rejected
    src/announcements/announcements.service.js:6:65

• task_queues:95 processTicksAndRejections
    node:internal/process/task_queues:95:5

2023-11-03 12:08:07.072  DEBUG [src/announcements/announcements.service.js:111 undefined.<anonymous>] Fetching completed. 
2023-11-03 12:08:09.075  DEBUG [src/announcements/announcements.service.js:59 undefined.<anonymous>] Fetching announcement data from https://www.binance.com/en/support/announcement/?type=1&pageNo=1&pageSize=3 
2023-11-03 12:08:09.494  TRACE [src/announcements/announcements.service.js:108 undefined.<anonymous>] 
 RequestError  Bad response: 407`

2023-11-03 12:08:04.265 DEBUG [src/announcements/announcements.service.js:111 undefined.] Fetching completed.
2023-11-03 12:08:06.268 DEBUG [src/announcements/announcements.service.js:59 undefined.] Fetching announcement data from https://www.binance.com/en/support/announcement/?type=1&pageNo=1&pageSize=2
2023-11-03 12:08:07.071 TRACE [src/announcements/announcements.service.js:108 undefined.]
RequestError Bad response: 407

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant