cncf / filterable-landscape

Interactive version of the Cloud Native Landscape
https://landscape.cncf.io/
Apache License 2.0
9 stars 12 forks source link

MaxListenersExceededWarning #254

Closed dankohn closed 6 years ago

dankohn commented 6 years ago

Should we change anything?

$ yarn fetch
yarn run v1.3.2
$ babel-node tools/addExternalInfo.js && npm run yaml2json
Running with a level=easy. Settings:
     Use cached crunchbase data: true
     Use cached images data: true
     Use cached github basic stats: true
     Use cached github start dates: true

Fetching crunchbase entries
(node:16449) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 pipe listeners added. Use emitter.setMaxListeners() to increase limit
Can not fetch: software-ag  Failed to get crumb (Error: Exceeded maxRedirects.
Fetching github entries
Fetching start date entries
Fetching images
Low Resolution Warning:  Apache RocketMQ  has image size:  141 x 194  but we want  540 x 360
Low Resolution Warning:  Software AG  has image size:  346 x 55  but we want  540 x 360
Low Resolution Warning:  Habitus  has image size:  176 x 171  but we want  540 x 360
Low Resolution Warning:  Cloud66 Skycap  has image size:  293 x 338  but we want  540 x 360
Low Resolution Warning:  Argo  has image size:  340 x 515  but we want  540 x 360
Low Resolution Warning:  Tingyun  has image size:  809 x 159  but we want  540 x 360
Low Resolution Warning:  Snap  has image size:  290 x 172  but we want  540 x 360
Low Resolution Warning:  ArangoDB  has image size:  1181 x 194  but we want  540 x 360
Low Resolution Warning:  OpenIO  has image size:  1372 x 306  but we want  540 x 360
Fetching yaml members
Processing the tree

> cncf-interactive-landscape@1.0.0 yaml2json /Users/dan/Dropbox/Documents/dev/filterable-landscape
> cp src/lookup.json.default src/lookup.json && babel-node tools/generateJson.js

✨  Done in 47.31s.
AndreyKozlov1984 commented 6 years ago

I remember there is a max number of open files, which you have to solve via tweaking your mac os

AndreyKozlov1984 commented 6 years ago

The issue is that a url sent too much redirects. So something wrong is with url. To prevent this message, I can add {maxRedirects: 5} to the request

dankohn commented 6 years ago

Sounds good.

-- Dan Kohn dan@linuxfoundation.org Executive Director, Cloud Native Computing Foundation https://www.cncf.io +1-415-233-1000 https://www.dankohn.com

On Thu, Feb 15, 2018 at 12:28 PM, Andrey Kozlov notifications@github.com wrote:

The issue is that a url sent too much redirects. So something wrong is with url. To prevent this message, I can add {maxRedirects: 5} to the request

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cncf/filterable-landscape/issues/254#issuecomment-366001298, or mute the thread https://github.com/notifications/unsubscribe-auth/AC8MBg6Wmw7USyOrY7JfnNI38B96E_QBks5tVGlLgaJpZM4SHNaJ .

AndreyKozlov1984 commented 6 years ago

That was an issue with a yahoo finance not able to fetch data for ag-software. I've overridden the ticker for now, but later we need to have a second method to fetch the market cap for a given company, when yahoo-finance does not work.

AndreyKozlov1984 commented 6 years ago

May be just googling it from a puppeteer