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

RestError: Error: connect ETIMEDOUT 142.251.43.10:443 #8

Open
Chauban opened this issue Feb 22, 2022 · 8 comments
Open

RestError: Error: connect ETIMEDOUT 142.251.43.10:443 #8

Chauban opened this issue Feb 22, 2022 · 8 comments

Comments

@Chauban
Copy link

Chauban commented Feb 22, 2022

I get this error after CLI input:

C:\Users\dell\Desktop\@independent\wombot>node cli.js "Dark swords and light winds" 10 Prompt: Dark swords and light winds, Style: Dark Fantasy`
C:\Users\dell\Desktop@independent\wombot\rest.js:127
reject(new RestError(this.hostname, path, err));
^

RestError: Error: connect ETIMEDOUT 142.251.43.10:443
at ClientRequest. (C:\Users\dell\Desktop@independent\wombot\rest.js:127:24)
at ClientRequest.emit (node:events:520:28)
at TLSSocket.socketErrorListener (node:_http_client:442:9)
at TLSSocket.emit (node:events:520:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
hostname: 'identitytoolkit.googleapis.com',
path: '/v1/accounts:signUp?key=AIzaSyDCvp5MTJLUdtBYEKYWXJrlLzu1zuKM6Xw'
}`

How to solve it please? Thanks so much~

@Chauban
Copy link
Author

Chauban commented Feb 22, 2022

or like this...

C:\Users\dell\Desktop@independent\wombot>node cli.js "Dark swords and light winds" 10
Prompt: Dark swords and light winds, Style: Dark Fantasy
C:\Users\dell\Desktop@independent\wombot\rest.js:127
reject(new RestError(this.hostname, path, err));
^

RestError: Error: read ECONNRESET
at ClientRequest. (C:\Users\dell\Desktop@independent\wombot\rest.js:127:24)
at ClientRequest.emit (node:events:520:28)
at TLSSocket.socketErrorListener (node:_http_client:442:9)
at TLSSocket.emit (node:events:520:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
hostname: 'identitytoolkit.googleapis.com',
path: '/v1/accounts:signUp?key=AIzaSyDCvp5MTJLUdtBYEKYWXJrlLzu1zuKM6Xw'
}

@adri326
Copy link
Owner

adri326 commented Mar 6, 2022

I can't seem to reproduce the issue. It looks like from the error logs that the request to https://identitytoolkit.googleapis.com/v1/accounts:signUp?key=AIzaSyDCvp5MTJLUdtBYEKYWXJrlLzu1zuKM6Xw failed.

Does this happen every time you try to run the script? Are you able to navigate to that URL from your browser? What is the output of node --version?

@Chauban
Copy link
Author

Chauban commented Mar 8, 2022

I can't seem to reproduce the issue. It looks like from the error logs that the request to https://identitytoolkit.googleapis.com/v1/accounts:signUp?key=AIzaSyDCvp5MTJLUdtBYEKYWXJrlLzu1zuKM6Xw failed.

Does this happen every time you try to run the script? Are you able to navigate to that URL from your browser? What is the output of node --version?

Yes, it happens every time. I cannot get the image with this but I can navigate to the URL from my browser.
My node version is v16.14.0

I think maybe the VPN problem? I very very very want to use this tool to get the image!!!

@Chauban
Copy link
Author

Chauban commented Mar 8, 2022

And I am confused evey time I get the same key token, even though I restart the VPN or change the VPN site

@adri326
Copy link
Owner

adri326 commented Mar 8, 2022

I had not tried to use the script with a VPN yet, I'll investigate this

@Chauban
Copy link
Author

Chauban commented Mar 9, 2022

I had not tried to use the script with a VPN yet, I'll investigate this

I am in China. Maybe it is about the google service block? I have rent a win server and run successfully. Thanks man!

But I found the wombo has different styles in the Web and mobile app, somtimes there are 18 styles and sometimes 20. It is confusing

@Chauban
Copy link
Author

Chauban commented Mar 9, 2022

I had not tried to use the script with a VPN yet, I'll investigate this

I am in China. Maybe it is about the google service block? I have rent a win server and run successfully. Thanks man!

But I found the wombo has different styles in the Web and mobile app, somtimes there are 18 styles and sometimes 20. It is confusing

winServer from AWS

@Lemonreds
Copy link

The domestic network in China was unable to request to 142.251.43.10:443 and was restricted.

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

3 participants