DoctorMcKay / node-steam-tradeoffer-manager

Simple and sane Steam trade offer management
https://dev.doctormckay.com/forum/9-node-steam-tradeoffer-manager/
MIT License
518 stars 134 forks source link

Executing the example keeps prompting timeout #334

Closed chenchen923 closed 1 year ago

chenchen923 commented 1 year ago

Hello author, when I execute the files in the examples folder, I will first be prompted that the login is successful, and then a timeout prompt will appear after a few minutes, as shown in the following figure:

Snipaste_2023-05-26_11-08-39

Does the domain in the configuration item here need to be changed?

Snipaste_2023-05-26_11-10-33
DoctorMcKay commented 1 year ago

It seems like that error is coming from when it attempts to retrieve your WebAPI key from https://steamcommunity.com/dev/apikey. Can you load that page in your browser?

That seems to be a Facebook IP. I don't know why it would attempt to connect to that. Do you have some weird DNS or proxy setup on your network?

chenchen923 commented 1 year ago

Hello author, first of all thank you for answering my question. I am from China, I use some proxy software to access github, steam and google, but if I don't use this software, I will not be able to access the above websites. But through the browser, I can access the steam web page, and also access the interface you gave me. The return value is as follows: image

chenchen923 commented 1 year ago

Hello author, through the example you provided, I guess that the login communication with steam is another library you made: https://github.com/DoctorMcKay/node-steamcommunity Then I cloned the library, and when running the deom in the examples folder, a timeout also occurred, as shown in the figure below: image

Please help me if possible, thanks a lot~

chenchen923 commented 1 year ago

This problem is still caused by the VPN I use, and it can be solved by changing the proxy method of the VPN, thank you author~