Comments (5)
I exactly repeated your steps, and did not succeed in reproducing the bug.
CoAP server does not bind with another config and daemon script. Config and
daemon file used are attached.
# check TCP listening socket for python
pi@raspberrypi ~/test $ sudo netstat -antp | grep python
# None
# check UDP listening socket for python
pi@raspberrypi ~/test $ sudo netstat -anup | grep python
# None
# see if there is any webiopi running
pi@raspberrypi ~/test $ sudo ps aux | grep webiopi
pi 6531 0.0 0.3 3536 804 pts/0 S+ 13:02 0:00 grep
--color=auto webiopi
# None
# start the daemon
pi@raspberrypi ~/test $ sudo ./daemon start
# should have 1 TCP listening socket
pi@raspberrypi ~/test $ sudo netstat -antp | grep python
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN
6545/python3
# should have 0 UDP listening socket
pi@raspberrypi ~/test $ sudo netstat -anup | grep python
# check the command line used to launch webiopi
pi@raspberrypi ~/test $ sudo ps aux | grep webiopi
root 6545 14.2 5.5 26248 12204 ? Sl 13:02 0:02
/usr/bin/python3 -m webiopi -l /home/pi/test/webiopi.log -c /home/pi/test/config
pi 6554 0.0 0.3 3536 804 pts/0 S+ 13:02 0:00 grep
--color=auto webiopi
# see webiopi log
pi@raspberrypi ~/test $ tail -n 3 webiopi.log
2013-04-06 13:02:18 - WebIOPi - INFO - Loading configuration from
/home/pi/test/config
2013-04-06 13:02:18 - WebIOPi - INFO - Access protected using
/etc/webiopi/passwd
2013-04-06 13:02:18 - WebIOPi - INFO - HTTP Server binded on
http://192.168.1.234:8000/
Original comment by [email protected]
on 6 Apr 2013 at 11:10
Attachments:
from webiopi.
also tried with python 2.7, it works too on my side.
Original comment by [email protected]
on 6 Apr 2013 at 11:11
from webiopi.
I did some other check, because COAP was launching every time.
If I disable my custom script in webiopi.confif in [SCRIPTS] section COAP is
not launched, if I add it's launched.
Should it be explained because I am using "old stile" server scripting instead
of using setup() loop() destroy() ?
porta=8081
server = webiopi.Server(port=porta, login="webiopi", password="raspberry")
Original comment by [email protected]
on 7 Apr 2013 at 8:31
from webiopi.
[deleted comment]
from webiopi.
use webiopi.Server(config="/path/to/config")
or webiopi.Server(..., coap_port=None)
Original comment by [email protected]
on 8 Apr 2013 at 6:37
- Changed state: WontFix
from webiopi.
Related Issues (20)
- Adding are DAC4725
- Drivers for EEPROM chips with 16 bit addressing (24c...) available HOT 3
- Automatic pump switch with dependancies HOT 1
- ERROR - global name 'GPIO' is not defined HOT 6
- Adafruit MCP9808 Temperature Sensor HOT 2
- PiFaceDigital driver has missing close() method
- Dont work on Raspberry 2 HOT 5
- Unable to grab Webiopi or to communicate the problem. HOT 1
- WebIOPi not working on Raspberry Pi 2 HOT 2
- NameError: global name 'GPIO' is not defined HOT 18
- Customzed HTML file is not loading HOT 1
- DAC MCP4921 HOT 1
- error 403
- Google Analytics enabled, not to be disabled (easily), not shown in documentation
- ~
- WebiOpi Tutorial_Basis don´t work for me
- rpi.gpio not working after installing webiopi HOT 2
- Saving matplotlib figure
- Webiopi is not working on Raspberry 2
- POST set function to PWM not working
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 webiopi.