Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Have you tried removing completely %APPDATA%\itch and %LOCALAPPDATA%\itch and installing from scratch?

Yes, still same error when I delete both AppData/Roaming/Itch, and AppData/Local/Itch.

Error: read ENOTCONN
    at exports._errnoException (util.js:1022:11)
    at Socket._read (net.js:425:21)
    at Socket.Readable.read (_stream_readable.js:348:10)
    at Socket.read (net.js:308:43)
    at new Socket (net.js:188:12)
    at createSocket (internal/child_process.js:243:11)
    at internal/child_process.js:329:22
    at Array.forEach (native)
    at ChildProcess.spawn (internal/child_process.js:318:9)
    at Object.exports.spawn (child_process.js:399:9)
    at Object.<anonymous> (C:\Users\ifeld\AppData\Local\itch\app-23.3.1\resources\app.asar\appsrc\util\spawn.ts:90:30)
    at Generator.next (<anonymous>)
    at C:\Users\ifeld\AppData\Local\itch\app-23.3.1\resources\app.asar\app\util\spawn.js:7:71
    at __awaiter (C:\Users\ifeld\AppData\Local\itch\app-23.3.1\resources\app.asar\app\util\spawn.js:3:12)
    at Object.spawn [as default] (C:\Users\ifeld\AppData\Local\itch\app-23.3.1\resources\app.asar\app\util\spawn.js:20:12)
    at Object.<anonymous> (C:\Users\ifeld\AppData\Local\itch\app-23.3.1\resources\app.asar\appsrc\util\os.ts:87:29)

also, this is what's in the bin folder since the last time I tried doing a fresh reinstall...

I'm curious because that error is from itch 23.3.1, and 23.4.0 is out - can you try downloading the latest itchSetup & running it, seeing if the error is exactly the same?

(1 edit)

doing that gives me a login screen on the app. typing an incorrect password correctly states that the password is incorrect. correct login still triggers the original image of an error "spawn unar ENOENT"

bin folder contents:


unarchiver contents:

crashlog:

Error: read ENOTCONN
    at exports._errnoException (util.js:1022:11)
    at Socket._read (net.js:425:21)
    at Socket.Readable.read (_stream_readable.js:348:10)
    at Socket.read (net.js:308:43)
    at new Socket (net.js:188:12)
    at createSocket (internal/child_process.js:243:11)
    at internal/child_process.js:329:22
    at Array.forEach (native)
    at ChildProcess.spawn (internal/child_process.js:318:9)
    at Object.exports.spawn (child_process.js:399:9)
    at Object.<anonymous> (C:\Users\ifeld\AppData\Local\itch\app-23.4.0\resources\app.asar\appsrc\util\spawn.ts:90:30)
    at Generator.next (<anonymous>)
    at C:\Users\ifeld\AppData\Local\itch\app-23.4.0\resources\app.asar\app\util\spawn.js:7:71
    at __awaiter (C:\Users\ifeld\AppData\Local\itch\app-23.4.0\resources\app.asar\app\util\spawn.js:3:12)
    at Object.spawn [as default] (C:\Users\ifeld\AppData\Local\itch\app-23.4.0\resources\app.asar\app\util\spawn.js:20:12)
    at Object.<anonymous> (C:\Users\ifeld\AppData\Local\itch\app-23.4.0\resources\app.asar\appsrc\util\os.ts:87:29)

EDIT: is there any reason why there'd be any other file located anywhere else on my system that would trigger an error, or is it something about my connection? I still recall this app working before it stopped working, and I still test this with windows defender live scanning off and firewall off.

I don't think it's actually related to a network problem:

I'm really as puzzled as you as to why this happens, but it seems like the app is trying to launch one of its helpers (those that live in the `bin` folder) and can't - the "connection" is between the app and the helper, and it seems like it can never quite be established.

I'm still suspecting antivirus foul play here - they tend to have apps run in sandboxes, intercept what they're trying to do, and decide on the fly whether or not to allow it. If any of your antivirus decided to disallow it, it would result in strange behavior like that.

Do you have a way to whitelist the itch app completely? ie. add its folder as a safe location? (or at least %LOCALAPPDATA%\itch and %APPDATA%\itch\bin ? so that it's only the app itself, not games installed with it)