[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[HTCondor-users] Condor, Soap, and Python: "Incoming packet header unrecognized" error
- Date: Thu, 20 Dec 2012 14:45:50 -0500
- From: Jordan Williamson <jordan.williamson@xxxxxxxxxxx>
- Subject: [HTCondor-users] Condor, Soap, and Python: "Incoming packet header unrecognized" error
Hi,
I'm trying to set up SOAP on Condor 7.8.6 for use with python, but I'm getting the following error (from SchedLog):
12/20/12 19:41:14 IO: Incoming packet header unrecognized
12/20/12 19:41:14 DaemonCore: Can' t receive command request from 127.0.0.1 (perhaps a timeout?)
whenever I run this python script:
#!/usr/bin/env python
from suds.client import Client
import logging
logging.basicConfig(level=logging.INFO)
logging.getLogger('suds.client').setLevel(logging.DEBUG)
collector_url = 'file:/home/condor/condor/lib/webservice/'
#collector_url = raw_input("Collector url: ")
if __name__ == '__main__':
url = "" % collector_url
collector = Client(url, cache=None, location="http://localhost:1984")
print collector.service.getPlatformString()
Here's part of my local config file:
ENABLE_SOAP = True
ENABLE_WEB_SERVER = TRUE
WEB_ROOT_DIR = $(RELEASE_DIR)/lib/webservice
ALLOW_SOAP = *
QUEUE_ALL_USERS_TRUSTED = True
SCHEDD_ARGS = -p 1984
HOSTALLOW_WRITE = *
HOSTALLOW_READ = *
Thanks,
Jordan