writer / writer-framework

No-code in the front, Python in the back. An open-source framework for creating data apps.
https://dev.writer.com/framework/introduction
Apache License 2.0
1.3k stars 73 forks source link

Connection rejected. #528

Open bnxvs opened 3 weeks ago

bnxvs commented 3 weeks ago

Any attempt to start results in an error: “Connection rejected.” (MacOS Sonoma M1, Python 3.11)

FabienArcellier commented 3 weeks ago

Hi,

Are you running through docker or directly in python ? Could you share a template of the project that reproduce the problem ?

Regards,

bnxvs commented 3 weeks ago

Directly in python. I was just trying to run the "hello" example.

writer hello writer run hello writer edit hello writer edit hello --enable-remote-edit --port=8080 Any launch option results in an "Connection rejected." error.

FabienArcellier commented 3 weeks ago

Does this error happen in your browser or in the terminal ? Are you using the current version of writer (0.7.0) ? writer --version

pip install writer

Could you share the list of network port that are listening on your machine ?

sudo lsof -PiTCP -sTCP:LISTEN
bnxvs commented 3 weeks ago
  1. writer, version 0.7.0
  2. Python 37871 bnxvs 29u IPv4 0x79c8913d88a93896 0t0 TCP localhost:3006 (LISTEN)

writer hello > in browsers: "Connection rejected."

FabienArcellier commented 2 weeks ago

We don't know what could be the root cause.

Could you make a try with a simple python webserver ? You can create a file index.html and see if you can load it

python3 -m http.server 3006