Comments (6)
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.
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.
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.
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.
@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.
Merged into master, closing due to no response.
from fauxmo.
Related Issues (20)
- device state issue HOT 8
- Alexa unable to find any device HOT 8
- Support Wemo Dimmer Switch HOT 6
- Echo Dot, NOW not discovering fauxmo HOT 31
- Emulate TV HOT 1
- The service won't start properly HOT 24
- Windows 8.1 HOT 15
- Fauxmo as a binary ? HOT 16
- Running fauxmo with hundreds of devices HOT 4
- Fauxmo Service does not start even after several new setups HOT 2
- HA plugin, device not responding HOT 6
- Problem getting state after turn on/iff HOT 5
- Just asking for a little help.. HOT 27
- The fauxmo on|off|unknown statuses should probably be enums, not strings
- Make fake state options more discoverable
- Ability to specify percentage? HOT 9
- Unexpected keyword argument "initial_state" HOT 4
- AttributeError: 'CommandLinePlugin' object has no attribute '_latest_action' HOT 9
- Alexa keeps saying "device not responding" HOT 11
- POST request using ESP32 to Fauxmo works when running Fauxmo with -vvv but not -vv HOT 26
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fauxmo.