mirror of
https://github.com/jehna/humanify.git
synced 2026-04-28 10:05:52 +03:00
[GH-ISSUE #366] fetch failed #72
Labels
No labels
bug
enhancement
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/humanify#72
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @luyangsuper on GitHub (Mar 11, 2025).
Original GitHub issue: https://github.com/jehna/humanify/issues/366
I can't connect using my OpenAI key or Gemini key. I'm sure there's no problem with my network and it can be accessed normally. Why is this happening?
@0xdevalias commented on GitHub (Mar 11, 2025):
I haven't looked deeply into this, but based on the error log you provided there, it seems to be happening within the
@google/generative-aipackage. Some potentially related issues from that upstream package:From a google of "node internal deps undici", a few more potentially related issues popped up"
There are also the following issues in this repo that sound like they might be tangentially related, but are probably unlikely to be the same root cause:
You said this is also happening with OpenAI? If so, are you able to provide some error logs when that occurs? (ideally as text within triple backtick code blocks rather than a screenshot)
It might also help to get more information if you pass
--verbose:github.com/jehna/humanify@8a054d7e8f/src/commands/gemini.ts (L25)Can you also confirm some basic details like what version of Node you are using, what platform you are using (seemingly windows?), whether you are running this in WSL, at what point of the program execution this occurs (I see "Processing file 1/1" in the error logs above), etc.
Based on your initial report, there isn't a lot of details to work with to understand/debug why this might be occurring.
@luyangsuper commented on GitHub (Mar 11, 2025):
Indeed, I ran this command in Windows.
1. gemini
2. openai
@0xdevalias commented on GitHub (Mar 11, 2025):
I'm not deeply familiar with windows, so unfortunately my help may not be as useful as it could be on another platform.
And looks like you were running in
cmd.exeorpowershell.exerather than WSL? (not sure if that is relevant, but just to narrow down potential issues)In the
openaierror I see:Which suggests that
api.openai.comresolved to128.242.250.155, yet when I look up the IP address associate with their API, I get:And the IP address you're getting seems to be assigned to NTT:
Do you have any network based restrictions, VPNs, proxies, firewalls, etc that might be interfering? Or possibly on something like a public wifi network that might have 'captive portal' or similar sort of things setup?
When you say "can be accessed normally", how are you accessing it 'normally' that works? Just through a web browser? Or are you able to get a basic example PoC request running
nodeand using the OpenAI and/or Gemini libraries to work from that same terminal? (Or maybe even a manual request using some windows equivalent tocurl/etc)@0xdevalias commented on GitHub (Mar 11, 2025):
@luyangsuper I see you closed this as completed.. was that by mistake, or did you resolve the issue? And if the latter, are you able to share what the solution was?