Ticket #954 (closed defect: fixed)

Opened 9 years ago

Last modified 7 years ago

Problem with advertise service - Error when using announce

Reported by: sebass63 Owned by: justinc
Priority: minor Milestone:
Component: advertise server Version: 0.1t
Severity: Low Keywords: advertise DOR error announce
Cc: monzum, jeffra Blocking:
Blocked By:


The following code, when run via Repy, will sometimes crash.

if callfunc == 'initialize':
  advertise_announce("goldfish.zenodotus.cs.washington.edu", "", 120)
  print	"Advertising goldfish .	. ."
  print advertise_lookup("goldfish.zenodotus.cs.washington.edu")

The error produced looks like this. Note that this will not always happen, just occasionally. I couldn't find a pattern with this, though I assume it has something to do with the DOR server?

Uncaught exception! Following is a full traceback, and a user traceback.
The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback:
  "repy.py", line 202, in main
  "/home/sebass63/seattle/seattle_repy/virtual_namespace.py", line 116, in evaluate
  "/home/sebass63/seattle/seattle_repy/safe.py", line 311, in safe_run
  "advertise_interface_built.repy", line 4902, in <module>
  "advertise_interface_built.repy", line 4787, in advertise_announce

User traceback:
  "advertise_interface_built.repy", line 4902, in <module>
  "advertise_interface_built.repy", line 4787, in advertise_announce

Exception (with class '.AdvertiseError'): ['announce error (type: DOR): Socket timed out connecting to host/port.']

Seems random, but it definitely happens pretty regularly in normal use.

Change History

Changed 9 years ago by justinc

  • cc monzum, jeffra added

Can you comment on the frequency of this error and other advertise errors?

This should happen sometimes, but I rarely see this one. Does this happen a lot on our nodes?

Changed 7 years ago by justinc

  • status changed from new to closed
  • resolution set to fixed

Fixed with the recent advertise server changes...

Note: See TracTickets for help on using tickets.