devmonkZA / webiopi

Automatically exported from code.google.com/p/webiopi
0 stars 0 forks source link

IPv6 does not work #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start the service
2. Run `netstat -tl` and see *:8000 instead of [::]:8000

WebIOPi version used?
=>0.6.0

Python version used?
=>2.7 and 3.2

Distro used? (WebIOPi has only been tested on Raspbian Wheezy)
=>Raspbian Wheezy

Raspberry Pi board revision? (1 or 2)
=>2

Please provide any additional information below.

fixed by setting "address_family" to "socket.AF_INET6" for the server

Original issue reported on code.google.com by tagn...@gmail.com on 28 Jul 2013 at 1:09

Attachments:

GoogleCodeExporter commented 9 years ago
Hi.

And what is the solution?
I do not understand exactly what to do with httpv6.patc file.
Someone please describe me. It is very important to me.

THX. 

Original comment by wolfy2...@gmail.com on 30 Sep 2013 at 3:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
copy httpv6.patch to the folder that http.py is in (in my case that was 
/WebIOPi-0.6.0/python/webiopi/protocols/), then run `patch < httpv6.patch`

To undo the patch run `patch -R < httpv6.patch`

The patch is only for the web interface

Original comment by tagn...@gmail.com on 30 Sep 2013 at 5:17

GoogleCodeExporter commented 9 years ago
Hi.

Thanks for the fast answer, but unfortunately does not go. :( My FTP server 
works great with ipv6 but webiopi not. What more can I do? 
The correct format in the browser "http://[23ed:343rr:.:.:.]" ?
One more thing: my webiopi operational port 80 not 8000. But I think it's all 
the same...

Original comment by wolfy2...@gmail.com on 1 Oct 2013 at 3:32

GoogleCodeExporter commented 9 years ago
Need to take a quick look on it, remembering there is a reason I did not 
allowed IPv6, but don't remember why.

Original comment by tro...@trouch.com on 27 Nov 2013 at 9:07

GoogleCodeExporter commented 9 years ago

Original comment by tro...@trouch.com on 4 Jan 2014 at 9:00

GoogleCodeExporter commented 9 years ago

Original comment by tro...@trouch.com on 4 Jan 2014 at 9:01

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1417.

Original comment by tro...@trouch.com on 31 Jan 2014 at 12:29

GoogleCodeExporter commented 9 years ago
definitely fixed by r1420
need to add few exception checking.
INET6 family throws exception when IPv6 module not loaded

Original comment by tro...@trouch.com on 31 Jan 2014 at 12:56