Nutscracker Posted February 4, 2020 Report Share Posted February 4, 2020 https://github.com/DoctorMcKay/node-steamcommunity/blob/master/components/http.js at line 94 "if (response.statusCode >= 300 && response.statusCode <= 399 && response.headers.location.indexOf('/login') != -1) {" In my program I got fatal error "Uncaught Exception TypeError: Cannot read property 'headers' of undefined at SteamCommunity._checkHttpError" I believe this problem associated with socket hang up error Quote Link to comment Share on other sites More sharing options...
Nutscracker Posted February 23, 2020 Author Report Share Posted February 23, 2020 (edited) I fixed problem. The code is correct, a previous programmer tried to use 'headers' property in our code, without checking. This property comes from _checkHttpError, I did not notice at those moment that error comes from our code. Edited February 23, 2020 by Nutscracker fix Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.