Coder Social home page Coder Social logo

Comments (6)

n8henrie avatar n8henrie commented on August 26, 2024

Wow, thanks for following the template and providing a thorough / complete bug report!

I don't have a Windows machine regularly available, so I may be a bit limited in my ability to debug this.

To start:

  • Do you have any other services running on 1900?
  • Is there error intermittent (e.g. if you wait an hour) or every time you try to start Fauxmo?

from fauxmo.

WeldFire avatar WeldFire commented on August 26, 2024

After trying to set up Fauxmo on a Linux machine, I also ran into this issue. For me the port 1900 was being consumed by another process. Killing this process allows Fauxmo to start fully. You can try viewing ports being held in Windows 10 by going to the Resource Monitor from Task Manager and then looking at "Listening Ports". On my Windows 10 machine it appears that by default Windows 10 process svchost.exe holds this port hostage. Unfortunately for me and as it appears on my machine, also you, need that process running leaving us unable to run this application unless we can figure out how to share this port or leverage a different one.

from fauxmo.

n8henrie avatar n8henrie commented on August 26, 2024

Huh, thanks for chiming in on this issue. I had something similar where my test_udp_search function was failing on macOS for a few days -- for the life of me I couldn't find anything listening on that port, so I finally just rebooted and it started working again.

I've split off a new little bug fix branch to work on this issue -- for starters, I reordered the lines in make_udp_sock() in fauxmo.utils so that 1900 isn't bound until the reuseaddr (and reuseport if available) options are set.

@upstairs-at-erics and @WeldFire -- can you guys give a shot to installing the fix-busy-sockets branch and see if that helps this issue?

from fauxmo.

WeldFire avatar WeldFire commented on August 26, 2024

The fix-busy-sockets branch seems to fix the issue for me, thanks for your help on this issue and your work on this project!

from fauxmo.

n8henrie avatar n8henrie commented on August 26, 2024

@upstairs-at-erics -- since you opened the issue, can you give a shot to the new dev branch (which has merged fix-busy-sockets) and see if it works for you? If I don't hear back in a few days I'll go ahead and merge into master and close.

from fauxmo.

n8henrie avatar n8henrie commented on August 26, 2024

Merged into master, closing due to no response.

from fauxmo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.