Opened 2 weeks ago

Closed 2 weeks ago

#2545 closed defect (not a bug)

ConnectionError: HTTPSConnectionPool(host='web.i2p.im', port=443): Max retries exceeded with url: /hooks/9yiptwymnjyxze5rr846ubxa1e (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f5360821e50>: Failed to establish a new connection: [Errno -2] Name or service not known',))

Reported by: anonymous maybe Owned by: Meeh
Priority: major Milestone: undecided
Component: trac Version: 0.9.40
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

How to Reproduce

While doing a POST operation on /ticket/1427, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'bb7af087c910a91f8e455129',
 'action': u'provideinfo',
 'comment': u'Replying to [comment:4 killyourtv]:\r\n> = RC4-enabled reseed =\r\n> \r\n> * 193.150.121.66\r\n> * cowpuncher.drollette.com\r\n> * i2p-netdb.innovatio.no (also vuln to POODLE)\r\n> * jp.reseed.i2p2.no (down, see #1422)\r\n> * reseed.info\r\n> * ssl.webpack.de\r\n> * uk.reseed.i2p2.no\r\n> * us.reseed.i2p2.no\r\n> \r\n> = RC4-enabled project sites =\r\n> * geti2p.net\r\n> * i2p-projekt.de\r\n> * syndie.de\r\n> * syndie-project.net\r\n> \r\n> \r\n> \r\n\r\nI dunno if this list still valid , if so its a horrible with insecurity one:\r\n\r\n- http://193.150.121.66/ = http No TLS \r\n- http://cowpuncher.drollette.com/ = Down \r\n- https://i2p-netdb.innovatio.no/ = Down\r\n- http://jp.reseed.i2p2.no = Down\r\n- http://reseed.info/ = Down\r\n- https://ssl.webpack.de/ = Using TLS , but graded with B due to bad configuration and using weak encryption "This server supports weak Diffie-Hellman (DH) key exchange parameters. Grade capped to B More info (https://weakdh.org/)" SSL/TLS test: https://www.ssllabs.com/ssltest/analyze.html?d=ssl.webpack.de\r\n- http://uk.reseed.i2p2.no/ = http No TLS\r\n- http://us.reseed.i2p2.no/ = http No TLS\r\n- geti2p.net = using TLS , No vulnerable to RC4 , can be configured better check #2538 \r\n- i2p-projekt.de  = its redirecting to geti2p.net so consider it gone/unavailable page\r\n- syndie.de = http Expired TLS certificate "The certificate expired on March 3, 2019, 11:30 AM. The current time is June 11, 2019, 9:59 AM." \r\n- http://syndie-project.net/ = http No TLS\r\n\r\n\r\n',
 'field_cc': u'',
 'field_component': u'www/i2p',
 'field_description': u'RC4 is considered to be broken and its use is generally discouraged.\r\n\r\nUnless there are good reasons to continue supporting RC4 it should probably be disabled on all public facing services.',
 'field_keywords': u'security',
 'field_milestone': u'eventually',
 'field_parents': u'',
 'field_priority': u'major',
 'field_summary': u'disable RC4',
 'field_type': u'task',
 'field_version': u'',
 'id': u'1427',
 'replyto': u'4',
 'sfp_email': u'',
 'sfph_mail': u'',
 'start_time': u'1454943980950131',
 'submit': u'Submit changes',
 'view_time': u'1454943980950131'}

User agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

System Information

System information not available

Enabled Plugins

Plugin information not available

Python Traceback

Traceback (most recent call last):
  File "/opt/trac/lib/python2.7/site-packages/trac/web/main.py", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File "/opt/trac/lib/python2.7/site-packages/trac/web/main.py", line 222, in dispatch
    resp = chosen_handler.process_request(req)
  File "/opt/trac/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 182, in process_request
    return self._process_ticket_request(req)
  File "/opt/trac/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 619, in _process_ticket_request
    self._do_save(req, ticket, action)
  File "/opt/trac/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 1342, in _do_save
    replyto=req.args.get('replyto'))
  File "/opt/trac/lib/python2.7/site-packages/trac/ticket/model.py", line 369, in save_changes
    listener.ticket_changed(self, comment, author, old_values)
  File "/usr/local/lib/python2.7/dist-packages/trac_mattermost/ticket_notifications.py", line 104, in ticket_changed
    self.send_notification(text)
  File "/usr/local/lib/python2.7/dist-packages/trac_mattermost/base.py", line 35, in send_notification
    data=json.dumps(payload))
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
ConnectionError: HTTPSConnectionPool(host='web.i2p.im', port=443): Max retries exceeded with url: /hooks/9yiptwymnjyxze5rr846ubxa1e (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f5360821e50>: Failed to establish a new connection: [Errno -2] Name or service not known',))

Subtickets

Attachments (1)

tracissue.png (32.7 KB) - added by anonymous maybe 2 weeks ago.

Download all attachments as: .zip

Change History (2)

Changed 2 weeks ago by anonymous maybe

Attachment: tracissue.png added

comment:1 Changed 2 weeks ago by Meeh

Resolution: not a bug
Status: newclosed

Seem to be a one-time happening. The reason it came is that each time we update trac, trac will alert the paid ones of us that we need to pay attention :p

Unless we experience it more, we can just close this. But please reopen if you have this issue anytime in the future. I would then have to rewrite the python script to do it async which apparently now currently is doing it sync.

Note: See TracTickets for help on using tickets.