Check date of reply horizon

2 views
Skip to first unread message

Fernando

unread,
Oct 30, 2006, 6:48:06 AM10/30/06
to Tycoon Users
Hi Kevin.
I had a problem when i get my balance.
2006-10-30 13:36:13,172 ERROR [Failure instance: Traceback:
Tycoon.BankSecurity.BankSecurityException, The response date is before
the replay horizon: "Mon Oct 30 13:06:13 2006".
/usr/lib/python2.4/site-packages/twisted/internet/defer.py:338:_runCallbacks
/usr/lib/python2.4/site-packages/Tycoon/BankClient.py:173:__finish_get_balance
/usr/lib/python2.4/site-packages/Tycoon/BankSecurity.py:57:verify
]

I need to make some experiments so i have commented the verification
for check_date in BankSecurity.py and now works, as it is an argument i
assumed is safe to turn it off.

Let me know if im doing wrong, and the cause for this triggered raise.

Best regards
FeRH.

Kevin Lai

unread,
Oct 30, 2006, 10:14:28 AM10/30/06
to Tycoon...@googlegroups.com
Your clock is off.

Fernando

unread,
Oct 30, 2006, 9:40:57 AM10/30/06
to Tycoon Users
Kevin, my mistake.
I haven't updated Time settings in auctioneer.

I revert changes in source code and everything is fine.

Roman Kurakin

unread,
Oct 30, 2006, 1:24:06 PM10/30/06
to Tycoon...@googlegroups.com
Could it be timezone problem?
Bank should be run in UTC. Try to add to the startup script
export TZ=UTC

rik

Fernando:

Fernando

unread,
Oct 30, 2006, 4:43:19 PM10/30/06
to Tycoon Users
yes, it was a timezone problem Rik,

NTP wasnt enabled.

Fernando.

Reply all
Reply to author
Forward
0 new messages