GitSquared / edex-ui

A cross-platform, customizable science fiction terminal emulator with advanced monitoring & touchscreen support.
GNU General Public License v3.0
40.49k stars 2.55k forks source link

[macOS]can't load ip 151.101.228.133:443 #982

Closed mickey518 closed 3 years ago

mickey518 commented 3 years ago

[macOS]

download from brew

Error: connect ECONNRESET 151.101.228.133:443

yegetables commented 3 years ago

[linux] i also have this problem

hxhlb commented 3 years ago

me too!

Ubuntu 20.04.1 LTS ✖ error Error: connect ECONNREFUSED 127.0.0.1:443: Uncaught Error: connect ECONNREFUSED 127.0.0.1:443 ⬤ debug at events.js 287:7

I checked the source code, it looks like a node's problem.

wyfang commented 3 years ago

[macos] I also have this problem

wrac4242 commented 3 years ago

may i ask which version you are on?

hxhlb commented 3 years ago

My environment:

Ubuntu 20.04.1 LTS node version: 14.15.3 npm version: 6.14.10 yarn version: 1.22.5 eDEX-UI v2.2.5, download from release page, eDEX-UI-Linux-x86_64.AppImage

chengs2035 commented 3 years ago

so how to fix it?

ruoduan-hub commented 3 years ago

image

I am like this, how to solve it?

wrac4242 commented 3 years ago

can someone try building from source, to see if the issue is with the app image

Glonee commented 3 years ago

same problem

GitSquared commented 3 years ago

I think this comes from here: https://github.com/GitSquared/edex-ui/blob/a8e29ce5a2501ece4369ea901d10092fbdf58034/src/classes/terminal.class.js#L172-L175

...where the frontend terminal viewer is attempting to establish a websocket connection to the background TTY process.

My first instinct would be to hazard a guess about some macOS "safety/security" whatever feature blocking connections from edex (even local ones apparently... go figure why), but the :443 part of the address is unexpected. The code I linked is supposed to connect to 127.0.0.1:3000.

wrac4242 commented 3 years ago

0.0.0.0 is an error/invalid ip address, so something is wrong there

wrac4242 commented 3 years ago

can someone who is having this issue please run it from source, to rule out it being a build issue

GitSquared commented 3 years ago

See #1050