crits / crits_services

CRITs Services Collection
183 stars 129 forks source link

TAXII server problem #326

Closed zacharycheng closed 7 years ago

zacharycheng commented 7 years ago

When I try to poll feeds from the taxii server, I got the "_insert() takes at most 4 arguments (6 given)" error. Any ideas about what have I done wrong? Thanks.

brlogan commented 7 years ago

Are you sure you have the proper versions of CybOX, STIX, and TAXII installed?

zacharycheng commented 7 years ago

I am not sure if I have installed the right versions of them. I just ran the bootstrap script in the crits_services folder I cloned. How can I check whether or not I installed the right versions of them? Thanks.

brlogan commented 7 years ago

You should be able to run pip list or pip freeze to see which versions you have. You can compare that to the requirements listed in https://github.com/crits/crits_services/blob/master/taxii_service/requirements.txt

zacharycheng commented 7 years ago

Yes, that's the right version I installed after I checked but the error is still showing on the webpage screenshot from 2017-09-27 14-27-43

zacharycheng commented 7 years ago

Somehow, I have successfully polled some feeds from the taxii server after I stopped and restarted the crits server, but I got the following error: screenshot from 2017-09-27 15-31-57

Is there anybody having an idea about what should I do to correct it? Thank you!!

brlogan commented 7 years ago

Are you polling from a public TAXII server? It seems that whatever you're receiving isn't quite what the service is expecting.

zacharycheng commented 7 years ago

I am polling from the hail a taxii server. All the configures are same as the example in the folder.

brlogan commented 7 years ago

Hey @zacharycheng, did you ever figure this out? I just posted a bunch of updates for the TAXII Service in #333. Give them a try and let me know if that solves your problem. Thanks!