Getting errors when making any outbound request with citoid.
This is encountered any time we try to follow a redirect or use the native scraper; basically any URL that doesn't go straight to Zotero from the getgo.
Getting errors when making any outbound request with citoid.
This is encountered any time we try to follow a redirect or use the native scraper; basically any URL that doesn't go straight to Zotero from the getgo.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Citoid: Set the protocol for the proxy | operations/puppet | production | +1 -1 |
Nope, nevermind. :). That's not it. It's an actual bug, which has since been fixed. @mobrovac, I'll run through an update to /deploy.
Nevermind again!
I remember a bug exactly like that, where request from doi would fail, and somehow we ended up with scrape failing too because of it, but I'll damned if I remember exactly why that happened.
But what's running on deploy right now should have been okay.
Got into the logs, here what they have to say:
{"name":"citoid","hostname":"sca1001","pid":35542,"level":30,"msg":"Using native scraper on http://dx.doi.org/10.1007/11926078_68","time":"2015-03-19T11:33:25.229Z","v":0}
{"name":"citoid","hostname":"sca1001","pid":35542,"level":50,"err":{"message":"Invalid protocol: url-downloader.wikimedia.org:","name":"Error","stack":"Error: Invalid protocol: url-downloader.wikimedia.org:\n at Request.init (/srv/deployment/citoid/deploy/node_modules/request/request.js:619:31)\n at new Request (/srv/deployment/citoid/deploy/node_modules/request/request.js:283:8)\n at request (/srv/deployment/citoid/deploy/node_modules/request/index.js:50:10)\n at Scraper.scrape (/srv/deployment/citoid/deploy/src/lib/Scraper.js:40:2)\n at CitoidService.scrape (/srv/deployment/citoid/deploy/src/lib/CitoidService.js:204:3)\n at /srv/deployment/citoid/deploy/src/lib/CitoidService.js:94:12\n at Request._callback (/srv/deployment/citoid/deploy/src/lib/unshorten.js:16:5)\n at self.callback (/srv/deployment/citoid/deploy/node_modules/request/request.js:373:22)\n at Request.EventEmitter.emit (events.js:95:17)\n at Request.init (/srv/deployment/citoid/deploy/node_modules/request/request.js:619:17)"},"msg":"Invalid protocol: url-downloader.wikimedia.org:","time":"2015-03-19T11:33:25.231Z","v":0}
{"name":"citoid","hostname":"sca1001","pid":35542,"level":30,"msg":"Unable to scrape resource at http://dx.doi.org/10.1007/11926078_68","time":"2015-03-19T11:33:25.231Z","v":0}
Change 197884 had a related patch set uploaded (by Mobrovac):
Citoid: Set the protocol for the proxy