sw-exporter icon indicating copy to clipboard operation
sw-exporter copied to clipboard

[BUG] Proxy error happening randomly in Steam mode

Open Xzandro opened this issue 11 months ago • 1 comments

Please don't report issues that are not relevant to SWEX. Especially now that are more steps involved which you can read on reddit. To get more information, join the Discord.

Describe the bug For some people, an error can occur when in Steam mode. The error usually persists and displays every x seconds

To Reproduce Steps to reproduce the behavior:

Not quite sure.

Expected behavior Error not happening.

Screenshots image

Xzandro avatar Mar 03 '24 12:03 Xzandro

This is likely caused by the DNS resolver.

https://github.com/Xzandro/sw-exporter/blob/9c5c8b97c27fd9d7e3c37846e4ab28ae106a44fb/app/proxy/SWProxy.js#L159

SOmethind like this could help:

if (result !== undefined) {
    result = result[0]
}
callback(err, result, 4)

Xzandro avatar Apr 28 '24 13:04 Xzandro