Closed stryhf closed 3 years ago
I dont see how this could happen, since there were no changes to the proxy code or library in that regard. So I dont know how I could change this, nor do I use Linux to play and test around.
Maybe someone else can look into it? Although no one else would consider working on this project sadly. Or you can try to build SWEX yourself on linux?
I walked back the versions and it looks like it was introduced in the pre-release 0.0.41 update. Unlike for Windows where 0.0.43 fixes the issues, the Linux AppImage is still improperly binding. I'll see if I can dig through the changes, maybe the network dependencies for Windows didn't apply for the Linux build?
The only thing I can imagine is, that travis CI cached the node_module folder. So to apply the new 1 year cert validity I had to fork the proxy library I use: https://github.com/Xzandro/node-http-mitm-proxy In there I just updated from upstream first, but that introduced connection issues. So I force pushed it back to version 0.9.0 (the usual version I used for all previous versions) and just applied the simple cert creation validity change.
From there I set it as the new dependency and I rebuild all the version via travis CI or appveyor:
Logs of builds for MacOS, Linux and Windows
All in all, pretty basic stuff I would say.
So digging through the parent node-http-mitm-proxy, I found this.
https://github.com/joeferner/node-http-mitm-proxy/commit/4119422390b77867a00a812eed2a8a088c1f410b
This is not included in my fork. BUT this kinda confirms my cache suspicion. I MIGHT update to the newest upstream tho and just pass ''
as the host option.
Until then, you should be able to just build SWEX yourself. Its described in the readme.
This needs to be tested now. I fully changed the upstream so it is on par with their master. I also pass ::
as the host option.
Since I currently need Hyper-V enabled for Docker I can't use emulators so I will try to let one of my testers test this.
Sorry for the multiple messages. A tester tested it on Windows and it worked there. I built and released a new version (0.0.44). Feel free to try this out and see if that works now.
I can confirm it works with 0.0.44.
I did have to re-generate the SSL certificate. The one that was generated with 0.0.41 - 0.0.43 was having issues still.
Alright. This is closed then. Thanks for reporting.
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 Latest iteration 0.0.43 of Linux AppImage appears to only bind localhost (127.0.0.1) instead of universally (0.0.0.0).
To Reproduce Steps to reproduce the behavior:
tcp 0 0 localhost:7070 0.0.0.0:* LISTEN
Expected behavior Previous behavior and current Windows version universally binds to all interfaces (0.0.0.0).
I delved through ~/.config/Summoners War Exporter and the extracted /tmp/.mount_SWEX* directories to see if there was something obvious to specify interface binding but couldn't find anything.
Desktop (please complete the following information):