Opened 7 years ago

Closed 7 years ago

#6126 closed defect (fixed)

bridges.tpo does not work at all over ipv6

Reported by: weasel Owned by: aagbsn
Priority: High Milestone:
Component: Circumvention/BridgeDB Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

When I visit bridges.tpo via ipv6:

/usr/lib/python2.6/dist-packages/twisted/web/server.py, line 125 in process
123 try:
124 resrc = self.site.getResourceFor(self)
125 self.render(resrc)
126 except:
Self

site twisted.web.server.Site instance @ 0x256bcb0 <twisted.web.server.Site

instance at 0x256bcb0>

Locals

resrc bridgedb.Server.WebResource instance @ 0x22ae998

<bridgedb.Server.WebResource instance at 0x22ae998>

self twisted.web.server.Request instance @ 0x37c0ef0 <GET / HTTP/1.1>

/usr/lib/python2.6/dist-packages/twisted/web/server.py, line 132 in render
130 def render(self, resrc):
131 try:
132 body = resrc.render(self)
133 except UnsupportedMethod, e:
Locals

resrc bridgedb.Server.WebResource instance @ 0x22ae998

<bridgedb.Server.WebResource instance at 0x22ae998>

self twisted.web.server.Request instance @ 0x37c0ef0 <GET / HTTP/1.1>

Globals

UnsupportedMethod <class 'twisted.web.error.UnsupportedMethod'>

/usr/lib/python2.6/dist-packages/twisted/web/resource.py, line 210 in render
208 from twisted.web.error import UnsupportedMethod
209 raise UnsupportedMethod(getattr(self, 'allowedMethods', ()))
210 return m(request)
211
Locals

m <bound method WebResource.render_GET of <bridgedb.Server.WebResource

instance at 0x22ae998>>

self bridgedb.Server.WebResource instance @ 0x22ae998

<bridgedb.Server.WebResource instance at 0x22ae998>

request twisted.web.server.Request instance @ 0x37c0ef0 <GET / HTTP/1.1>

/srv/bridges.torproject.org/local/lib/python2.6/site-packages/bridgedb/
Server.py, line 88 in render_GET
86 return HTML_CAPTCHA_TEMPLATE
87 else:
88 return self.getBridgeRequestAnswer(request)
89
Locals

self bridgedb.Server.WebResource instance @ 0x22ae998

<bridgedb.Server.WebResource instance at 0x22ae998>

request twisted.web.server.Request instance @ 0x37c0ef0 <GET / HTTP/1.1>

/srv/bridges.torproject.org/local/lib/python2.6/site-packages/bridgedb/
Server.py, line 137 in getBridgeRequestAnswer
135
136 if geoip:
137 countryCode = geoip.country_code_by_addr(ip)
138
Locals

countryCode None
ip None

Globals

geoip <GeoIP object at 0x7f4dab0562e8>

<type 'exceptions.TypeError'>: argument 1 must be string, not None

Child Tickets

Change History (2)

comment:1 Changed 7 years ago by karsten

Owner: set to aagbsn
Status: newassigned

Assigning to aagbsn in case he missed this ticket.

comment:2 Changed 7 years ago by aagbsn

Resolution: fixed
Status: assignedclosed

Fixed with deployment of #4297

Note: See TracTickets for help on using tickets.