![]() ^ The above code assumes a File model with 2 columns: Id and Value.Ĭontent-Disposition: attachment is usually enough to encourage a web browser to download the file. We have some pretty slow and large requests, but all seem to return in time.Import All of this has come up without result so far. We tried all manners of database maintenance, integrated newrelic and connect-timeout to spot hanging requests. However we rolled back the code, killed all postgres connections and the problem persisted. Popular statistical tables, country (area) and regional profiles. We had deployed that day and naturally thought the release was to blame. Check out our LoopBack 4 blog posts that feature the latest news and updates. For more information, see AngularJS SDK API. Warning: Methods of models in the AngularJS client have a different signature than those of the Node API. This is useful, for example, to paginate responses. ![]() We do not see an application crash, just a load of H12 and eventually some H13 errors. Code with confidence by learning more about LoopBack 4 through our documentation. A skip filter omits the specified number of returned records. In our case, we can listen for calls to find data and look to see if a limit was applied. Remote hooks are a way to apply logic to the REST calls of your API. A few days ago, Alex blogged about remote hooks. After a short while of this, the application becomes unresponsive and needs to be restarted. Luckily LoopBack provides a quick way to handle that. ![]() Once this starts, the H12 errors just roll in. Two days ago in the evening we suddenly developed H12 errors. Edit: When I receive the file in loopback, it throws the following error: Malformed UTF-8 characters, possibly incorrectly encoded. ![]() We've deployed on a singular professional (PM) dyno. This could be a problem with loopback because I am able to download the exact same file in another project which is written in php but uses the same database. We're using a Postgres DB with 1 follower in the backend (size just under 5Gb). ![]() We have the following constellation: node.js (4TLS) application with loopback for most parts of the API with an Angular front-end. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |