Comments (4)
Hi, thanks for reporting. The error that's shown when you cancel is fine, I think that's just what happens when the curl request is canceld before there's a proper answer from the server.
Have you tried your request outside of R? That would be the first check, copy the request you're giving to fhir_search()
into either a webbrowser or Postman (if you're using that) and let me know if you get back a bundle there. Thanks!
from fhircrackr.
Hi, thank you for the quick response!
Yes, you were right.
The same query cannot be run via curl.
But isn't there any timeout option or something similar to get a feedback if the query is not doing anything? Because there are different scenarios that it gets stuck! For example, for the same query that works, if I increase the number of counts and/or bundles, it also gets stuck in between!
look at the query and result in screenshots
It gets stuck in the middle! Can it be a performance issue? or maybe it is curling something that doesn't exist?
Thanks a lot!
from fhircrackr.
Okay, but you are still inside R here, at least in the screenshot. You did try it outside of R though via curl in a shell or something like that, correct?
Because if the same problem occurs outside of R it's not really a fhircrackr bug, there's something wrong with your blaze server and I would advise making contact with Alexander Kiel to figure it out.
You are right though that it is weird the program isn't interrupting at some point. For starters, I would expect the server to send a time out message after some time. At least ours does.
And then of course curl should have its default connect time out parameter which should at some point stop the request. You can try setting this manually just to be sure at the start of you R session with httr::set_config(httr::config(connecttimeout = 30))
(this should in theory cause a timeout after 30 seconds of no server response.
from fhircrackr.
Thank you for the help. It was neither a problem of fhircrackr nor R. There were performance bottlenecks causing it.
from fhircrackr.
Related Issues (20)
- fhir_melt loses rows
- Vignette building fails when hapi is down
- 'URL using bad/illegal format or missing URL' when sending FHIR requests HOT 16
- Change documentation of fhir_table_description et al
- fhir_crack() | ncores > 1 takes unclear amount of RAM HOT 2
- Custom headers for Cookie based authentication HOT 1
- POST search with relative next links doesn't work HOT 4
- fixed file name pattern to function fhir_load prevents loading arbitrary named xml files HOT 3
- Set Cookie as Headers instead of Named Paramaters HOT 5
- Paging with relative links breaks when searching for `http://` type CodeSystems HOT 6
- Check that next-links don't get url encoded
- Older Version in the CRAN Repository? HOT 2
- Base URL not creectly printed in fhir_search() HOT 1
- CRAN checks fail because \donttest{} examples are tested
- Update Package Citation Info
- fhir_url can't deal with `=` in parameter values HOT 1
- feature: load bundles from xml character vectors HOT 5
- Documantation fhir_cast() - Example not working HOT 2
- feature: select elements based on attribute values in fhir_crack
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 fhircrackr.