Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#8794 closed defect (invalid)

error: (10061, 'Connection refused')

Reported by: shubham123 Owned by: Emmanuel Blot
Priority: high Milestone:
Component: notification Version: 0.11
Severity: blocker Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a POST operation on /admin/accounts/users, Trac issued an internal error.

DO i need to do something extra to enable smtp port…how do i know my smtp port is enabled ???? please guide me as this is a major blocker in our project.

Request parameters:

{'__FORM_TOKEN': u'82afa80e78ba229a5e53ee02',
 'add': u' Add ',
 'cat_id': u'accounts',
 'email': u'Vidhi_Khare@infosys.com',
 'name': u'user2',
 'panel_id': u'users',
 'password': u'user2',
 'password_confirm': u'user2',
 'path_info': None,
 'user': u'user21'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4

System Information

Trac 0.11
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]
setuptools 0.6c9
MySQL server: "4.1.22-community-nt", client: "5.0.27", thread-safe: 1
MySQLdb 1.2.2
Genshi 0.5.1
mod_python 3.3.1
jQuery: 1.2.3

Python Traceback

Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\trac\web\main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "C:\Python25\Lib\site-packages\trac\web\main.py", line 197, in dispatch
    resp = chosen_handler.process_request(req)
  File "C:\Python25\Lib\site-packages\trac\admin\web_ui.py", line 109, in process_request
    path_info)
  File "c:\temp2\trac\plugins\tracaccountmanager-0.2.1dev_r4679-py2.5.egg\acct_mgr\admin.py", line 116, in render_admin_panel
    return self._do_users(req)
  File "c:\temp2\trac\plugins\tracaccountmanager-0.2.1dev_r4679-py2.5.egg\acct_mgr\admin.py", line 184, in _do_users
    _create_user(req, self.env, check_permissions=False)
  File "c:\temp2\trac\plugins\tracaccountmanager-0.2.1dev_r4679-py2.5.egg\acct_mgr\web_ui.py", line 69, in _create_user
    mgr.set_password(user, password)
  File "c:\temp2\trac\plugins\tracaccountmanager-0.2.1dev_r4679-py2.5.egg\acct_mgr\api.py", line 129, in set_password
    self._notify('created', user, password)
  File "c:\temp2\trac\plugins\tracaccountmanager-0.2.1dev_r4679-py2.5.egg\acct_mgr\api.py", line 238, in _notify
    getattr(l, func)(*args)
  File "c:\temp2\trac\plugins\tracaccountmanager-0.2.1dev_r4679-py2.5.egg\acct_mgr\notification.py", line 41, in user_created
    notifier.notify(username, 'New user registration')
  File "c:\temp2\trac\plugins\tracaccountmanager-0.2.1dev_r4679-py2.5.egg\acct_mgr\notification.py", line 79, in notify
    NotifyEmail.notify(self, username, subject)
  File "C:\Python25\Lib\site-packages\trac\notification.py", line 241, in notify
    Notify.notify(self, resid)
  File "C:\Python25\Lib\site-packages\trac\notification.py", line 129, in notify
    self.begin_send()
  File "C:\Python25\Lib\site-packages\trac\notification.py", line 313, in begin_send
    self.server = smtplib.SMTP(self.smtp_server, self.smtp_port)
  File "C:\Python25\lib\smtplib.py", line 244, in __init__
    (code, msg) = self.connect(host, port)
  File "C:\Python25\lib\smtplib.py", line 310, in connect
    raise socket.error, msg
error: (10061, 'Connection refused')

Attachments (0)

Change History (2)

comment:1 by shubham_chakraborty@…, 15 years ago

sry…i forgot to give my email

comment:2 by Remy Blank, 15 years ago

Milestone: 0.11.6
Resolution: invalid
Status: newclosed

This is an InstallationIssue, please use the MailingList and IrcChannel for support.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Emmanuel Blot.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Emmanuel Blot to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.