Jump to content
McKay Development

christianwdev

Member
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

550 profile views

christianwdev's Achievements

  1. Hey, I figured it was something with my proxy not working, but my concern at this point is less about the proxy working, and more about trying to catch the error to prevent the entire backend from crashing as it seems my proxy service decides to randomly invalidate my credentials. Just wasn't sure where I can try catch this or if it's even something that I can do. Thanks again.
  2. Hey, I am trying to use a proxy and use different ones for different tasks, which I originally had working, but today I encountered an error with it throwing an "tunneling socket could not be established, statusCode=407", only issue is I don't know exactly where to catch this error as I tried to get it on the onPreHttpRequest, but even with that the entire nodejs process crashed, and I can't really have that occur in production. Proxy was showing as "http://user:pass@ip:port" this.community.onPreHttpRequest = (id, source, options, contReq) => { try { if (options.uri.includes('/inventory/') && options.uri.includes('/252490/2')) { options.proxy = this.invProxies.getProxy() } else if (source === 'steamcommunity') { options.proxy = this.communityProxy } else if (source === 'tradeoffermanager') { options.proxy = this.managerProxy } contReq() return true } catch (e) { console.log(e) } } Thanks in advance.
  3. Do you know where I'd get the notification for when a rollback occurs? It appears that the ETradeStatus is for accepted trades looking at "valvesoftware". Wasn't sure if you could shed any more light on this. That and what ETradeOfferState this would occur under as well, so I can just refetch and update my local inventory for those state changes.
  4. Looking into the documentation I notice getExchangeDetails won't return data unless the ETradeStatus is Complete, InEscrow, or EscrowRollback, which is a different state from ETradeOfferState, which is fine. Is it possible to get ETradeStatus without querying getExchangeDetails as I didn't see the method nor variable on the TradeOffer object. I'm sure I was just misunderstanding how to use this or fetch the state, but was hoping I could check before querying steam as I want to prevent as much requests as possible. Thanks, Christian
  5. Thanks for getting this fixed so quickly, thought it was an issue on my end.
×
×
  • Create New...