Error: No checker for twisted.cred.credentials.IAnonymous
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyBridge |
New
|
Undecided
|
Unassigned |
Bug Description
On:
evansl@
Linux lje-OptiPlex-9020 4.4.0-98-generic #121-Ubuntu SMP Tue Oct 10 14:24:03 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
After starting the server, then the client, the connection to server
fails with error in Summary.
Here's output from terminal window:
--{--cut here--
evansl@
[2] 5238
evansl@
2017-11-19 03:42:44-0600 [-] Log opened.
2017-11-19 03:42:56-0600 [-] Starting factory <twisted.
2017-11-19 03:42:56-0600 [Broker,
2017-11-19 03:42:56-0600 [Broker,
2017-11-19 03:42:56-0600 [Broker,
Traceback (most recent call last):
Failure: twisted.
2017-11-19 03:42:56-0600 [Broker,client] 'Error: User account does not exist on server'
2017-11-19 03:42:56-0600 [Broker,client] Lost connection to server
2017-11-19 03:42:56-0600 [-] Stopping factory <twisted.
2017-11-19 03:43:07-0600 [-] Starting factory <twisted.
2017-11-19 03:43:07-0600 [Broker,
2017-11-19 03:43:07-0600 [Broker,
Traceback (most recent call last):
Failure: twisted.
2017-11-19 03:43:07-0600 [Broker,client] 'Error: No checker for twisted.
2017-11-19 03:43:07-0600 [Broker,client] Lost connection to server
2017-11-19 03:43:07-0600 [-] Stopping factory <twisted.
--}--cut here--
The problem disappears if, in pybridge/ network/ client. py in register function,
the assignment to anon is changed from:
anon = credentials. Anonymous( )
to:
anon = credentials. UsernamePasswor d('', '')
which is apparently the way it is on the sourceforge repository.
HTH.