SIP
No socket could be created socket -error - Printable Version

+- SIP (https://nosack.com/sipforum)
+-- Forum: SIP (Sustainable Irrigation Platform) (https://nosack.com/sipforum/forumdisplay.php?fid=1)
+--- Forum: Installation and set up questions (https://nosack.com/sipforum/forumdisplay.php?fid=2)
+--- Thread: No socket could be created socket -error (/showthread.php?tid=130)



No socket could be created socket -error - josecorreia - 2018 May 18

Hi

 When i call the program    sudo python sip.py in the end i have this message

File"/home/pi/sip/web/wsgiserver/__init___.py", line 1753, in start
raise socket.error(msg)
socket.error:NO socket be created.

Best regards from Portugal

cumps
Jose Correia


RE: No socket could be created socket -error - dan - 2018 May 21

That message indicates that some other program, such as a web server, is using port 80 on the same Raspi.

You can either stop the other program or edit the file SIP/data/sd.json
Change the line "htp": 80 to something like "htp": 8080

That should allow SIP to run.

If you stop the other program you can change the port setting on SIP's Options page.


RE: No socket could be created socket -error - josecorreia - 2018 May 21

Hi
dan

thank you for your support.
i will try your solution and replay here the final results .

By the way i translate SIP to portuguese .
Very soon i send you the files.

Thanks

Best regards
Jose Correia


RE: No socket could be created socket -error - dan - 2018 May 21

Hi Jose ,

A portuguese translation would be be very helpful.

Dan


RE: No socket could be created socket -error - josecorreia - 2018 May 26

(2018 May 21, 04:23 PM)dan Wrote: Hi Jose ,

A portuguese translation would be be very helpful.

Dan

HI dan

I send you  the translation.
The program is ok  perfect.

Jose Correia