Closed liuchengts closed 8 months ago
I didn't change any code, everything works fine when used in the new environment, which is very strange. Operating system: macOS ventura 13.6.1 (22G313) node:v20.11.1 npm:10.2.4 google-auth-library:9.6.3
Compared to the problematic environment, there are the following differences:
@liuchengts In the Windows environment is it consistently an ECONNRESET
error or sometimes? It may be related to this issue, as the endpoints require updating:
@liuchengts In the Windows environment is it consistently an
ECONNRESET
error or sometimes? It may be related to this issue, as the endpoints require updating:
In the windows environment I described at the beginning, it never succeeded. I thought it was a problem with npm install or a network problem. The actual situation is not
That's strange, as it appears to work with Node 21 here on Windows (and in other environments):
Anything unique with the Windows setup networking? Proxy perhaps?
That's strange, as it appears to work with Node 21 here on Windows (and in other environments):
Anything unique with the Windows setup networking? Proxy perhaps?
There may be a Windows network problem, but I'm not sure because there is a network management and control software installed by the company on the Windows computer. I'm not sure if that's the influence. Currently this only happens when using google-auth-library.
Thank you for your help. I think this is an unsolvable problem because I can't determine what exactly causes getToken() ECONNRESET. So I think I can close this problem.
Thank you again for your help
I encountered a problem with requesting the API and was unable to obtain the token. Operating system: windows11 x64 Environment: node:21.6.0 npm: 10.2.4 google-auth-library: 9.6.3
Steps to reproduce: Occurs when oauth2Client.getToken(code) is called:
Related code:
please help me,thank you