Comments (7)
-
This may be a regression, as it was previously tested against the previous demo IP per ietf-ribose#20 (comment). However, DOI logic did not change since that time.
-
Alternatively, our new demo server infrastructure may fall within a DOI-blacklisted IP range. In that case it’s not an application-level bug but an infrastructure concern.
I know that DOI blacklists IP ranges, because I was never able to get it to return anything besides 503 from my work machine, while the same cURL command worked fine on the old demo instance.
For now I cannot try cURLing your reference from within demo infrastructure (no longer have SSH access), and because BibXML service misreports DOI’s 503 as 404 there’s no way of knowing. Once #34 is fixed, we’ll be able to identify whether DOI fetch regressed.
from bibxml-service.
I know that DOI blacklists IP ranges, because I was never able to get it to return anything besides 503 from my work machine, while the same cURL command worked fine on the old demo instance.
Interesting find!
@kwkwan can you do some investigation in this area and provide support to @strogonoff in accessing the infrastructure? Thanks.
from bibxml-service.
If that’s possible it’d be useful, but let’s not redeploy or push changes to bibxml-service today—I have many changes queued, including some post-refactor regression fixes and some improvements, so I’d rather avoid merge conflicts.
Also, while SSH access is convenient for testing access with cURL, I hope it will not be necessary in the end after the fix to bibxml-service
(and possibly doi2ietf
) is ready and we see HTTP 503’s from DOI properly.
I believe K8s-managed infrastructure is supposed to be immutable and configuration-driven, and does not lend itself easily to SSH access.
from bibxml-service.
Crossref changed their API. Their new API docs provide some details on etiquette and how to avoid running into throttling, which is nice.
from bibxml-service.
Also, while SSH access is convenient for testing access with cURL, I hope it will not be necessary in the end after the fix to bibxml-service (and possibly doi2ietf) is ready and we see HTTP 503’s from DOI properly.
@kwkwan is currently testing a new deployment that uses AWS resources and supports continuous deployment, will ping you when ready.
from bibxml-service.
This is nearly fixed. Crossref integration is for the time being handled within BibXML service (which uses crossrefapi
and converts most of the response into consistent internal format in https://github.com/ietf-ribose/bibxml-service/blob/main/sources/doi/__init__.py). Can later be ported to doi2ietf-py
.
from bibxml-service.
For the record, DOI fetch works now (try https://dev.bibxml.org/external-sources/doi/).
To add to my previous comment on implementation details, currently we cache results to reduce the number of requests to Crossref, so a change in DOI may not be reflected. Caching TTL may be moved to configuration, and/or we can allow user to re-retrieve while ignoring cache.
from bibxml-service.
Related Issues (20)
- BibXML item export failure of `draft-ietf-pce-pcep-ifit-00`
- bibxml-doi (bibxml7): target URL should use https and doi.org HOT 18
- Resolve how we pin to Relaton dependencies HOT 3
- Add continuous regression testing for new I-Ds and RFCs vets at least new internet-draft's datatracker bibxml against bib.ietf.orgs bibxml and raise issues if there are differences.
- bibxml (bibxml-rfcs): missing initials attribute for author of RFC 4885 HOT 3
- bibxml-rfcs: target attribute of the reference element must be explicitly set HOT 4
- Review target for data sets HOT 3
- bib.ietf.org URLs returning HTTP 429 HOT 4
- HTTP 429 when fetching files during build HOT 3
- Providing text files of bib info
- Improve Relaton dependency pinning HOT 4
- should the BibXML URLs contain "/rfc/" for non-RFC entries? HOT 2
- sources_sourceindexationoutcome table is growing HOT 7
- Can <annotation be used by authors or is it claimed by bibxml? HOT 3
- extra 's' in target URL HOT 1
- Invalid https URLs HOT 1
- DOI bibxml error HOT 6
- Serve BibXML URLs for RFCs without leading zeros HOT 10
- Cache results from crossref.org
- Metadata Plus
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bibxml-service.