Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection rejected. #528

Closed
bnxvs opened this issue Aug 20, 2024 · 6 comments
Closed

Connection rejected. #528

bnxvs opened this issue Aug 20, 2024 · 6 comments

Comments

@bnxvs
Copy link

bnxvs commented Aug 20, 2024

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

@FabienArcellier
Copy link
Collaborator

Hi,

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

Regards,

@bnxvs
Copy link
Author

bnxvs commented Aug 21, 2024

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
Copy link
Collaborator

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
Copy link
Author

bnxvs commented Aug 21, 2024

  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
Copy link
Collaborator

FabienArcellier commented Aug 26, 2024

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

@FabienArcellier
Copy link
Collaborator

Have you been able to make progress on this subject and identify a blocking area?

@FabienArcellier FabienArcellier closed this as not planned Won't fix, can't repro, duplicate, stale Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants