Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BOM connector needs a new crawling URL (getting 503 access denied error) #30

Open
t83714 opened this issue Oct 21, 2019 · 0 comments
Open
Labels
bug Something isn't working

Comments

@t83714
Copy link
Contributor

t83714 commented Oct 21, 2019

Current BOM connector URL & setting:

- image:
        name: magda-csw-connector	        name: magda-csw-connector
      id: bom	      id: bom
      name: Bureau of Meteorology	      name: Bureau of Meteorology
      sourceUrl: http://www.bom.gov.au/geonetwork/srv/eng/csw	      sourceUrl: http://www.bom.gov.au/geonetwork/srv/eng/csw
      pageSize: 100	      pageSize: 100

triggers a 503 access denied error:

Failed to GET http://www.bom.gov.au/geonetwork/srv/eng/csw?service=CSW&version=2.0.2&request=GetRecords&constraintLanguage=FILTER&constraint_language_version=1.1.0&resultType=results&elementsetname=full&outputschema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&typeNames=gmd%3AMD_Metadata&startPosition=1&maxRecords=100. 1 retries left. Exception:
Error: Invalid Server Response or Empty result returned!
Requesting http://www.bom.gov.au/geonetwork/srv/eng/csw?service=CSW&version=2.0.2&request=GetRecords&constraintLanguage=FILTER&constraint_language_version=1.1.0&resultType=results&elementsetname=full&outputschema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&typeNames=gmd%3AMD_Metadata&startPosition=1&maxRecords=100
[xmldom warning]	unclosed xml attribute 
@#[line:6,col:144]
Error: Invalid Server Response or Empty result returned!
    at Request.request_1.default [as _callback] (/usr/src/app/component/dist/Csw.js:207:31)
    at Request.self.callback (/usr/src/app/node_modules/request/request.js:185:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/usr/src/app/node_modules/request/request.js:1161:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (/usr/src/app/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:313:30)
    at emitNone (events.js:111:20)
@t83714 t83714 added the bug Something isn't working label Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant