Comments (3)
I think I've observed StreamLoader getting stuck when the unit tests run via GitHub actions. smoketest and the GitHub actions both use the same keys, and may be interfering with each other somehow.
from docnow.
I noticed that SearchLoader ran into a connection reset error and didn't recover from it. From the app.log:
{"code":"ECONNRESET","errno":"ECONNRESET","level":"error","message":"request to https://api.twitter.com/2/tweets/search/all?expansions=author_id%2Cin_reply_to_user_id%2Creferenced_tweets.id%2Creferenced_tweets.id.author_id%2Centities.mentions.username%2Cattachments.poll_ids%2Cattachments.media_keys%2Cgeo.place_id&user.fields=created_at%2Cdescription%2Centities%2Cid%2Clocation%2Cname%2Cpinned_tweet_id%2Cprofile_image_url%2Cprotected%2Cpublic_metrics%2Curl%2Cusername%2Cverified%2Cwithheld&tweet.fields=attachments%2Cauthor_id%2Ccontext_annotations%2Cconversation_id%2Ccreated_at%2Centities%2Cgeo%2Cid%2Cin_reply_to_user_id%2Clang%2Cpublic_metrics%2Ctext%2Cpossibly_sensitive%2Creferenced_tweets%2Creply_settings%2Csource%2Cwithheld&media.fields=alt_text%2Cduration_ms%2Cheight%2Cmedia_key%2Cpreview_image_url%2Ctype%2Curl%2Cwidth%2Cpublic_metrics&poll.fields=duration_minutes%2Cend_datetime%2Cid%2Coptions%2Cvoting_status&place.fields=contained_within%2Ccountry%2Ccountry_code%2Cfull_name%2Cgeo%2Cid%2Cname%2Cplace_type&query=%23blacklivesmatter&max_results=100&start_time=2012-02-01T14%3A59%3A00Z&end_time=2016-12-31T14%3A59%3A00Z&next_token=REDACTED failed, reason: read ECONNRESET","type":"system"}
I think SearchLoader should catch these, sleep a little bit, and requeue.
from docnow.
The other one that needs to be caught in the StreamLoader:
tweet-loader_1 | {"level":"error","message":"stream disconnected with error Stream unresponsive","stack":"Error: Stream unresponsive\n at Timeout.<anonymous> (/code/node_modules/twitter-v2/build/TwitterStream.js:43:38)\n at listOnTimeout (internal/timers.js:549:17)\n at processTimers (internal/timers.js:492:7)"}
from docnow.
Related Issues (20)
- create introductory paragraph
- make locally look like cloud
- Troubleshooting page
- restructure directory
- No login button on mobile HOT 1
- Ignoring retweets in data collection
- Add #docnow hashtag to collection tweet
- Searching fails for non-academic keys HOT 1
- Delete of Search with consent actions fails
- View counts (images & video)
- No tracking JavaScript
- Tweet out message not including all terms
- Remove action card on Insights view HOT 1
- Public Collection - Find Me messaging incorrect
- 404 page
- Callback URL error HOT 5
- Explore page - explain that 1000 only goes back 7 days
- @users search not working, and #hashtag search only works sometimes HOT 1
- administrators should not see "account awaiting activation" message
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 docnow.