Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gRPC: Received message larger than max #150

Open
MrOrz opened this issue Feb 29, 2020 · 0 comments
Open

gRPC: Received message larger than max #150

MrOrz opened this issue Feb 29, 2020 · 0 comments

Comments

@MrOrz
Copy link
Member

MrOrz commented Feb 29, 2020

Logs look like this:

{"log":"07:11:28 1|rumors-api  | [scrapUrls][removeFBCLIDIfExist] TypeError [ERR_INVALID_URL]: Invalid URL: www.mohw.gov.tw/cp-16-51708-1.html\n","stream":"stdout","time":"2020-02-27T07:11:28.411156936Z"}
{"log":"07:11:28 1|rumors-api  |     at onParseError (internal/url.js:257:9)\n","stream":"stdout","time":"2020-02-27T07:11:28.411413645Z"}
{"log":"07:11:28 1|rumors-api  |     at new URL (internal/url.js:333:5)\n","stream":"stdout","time":"2020-02-27T07:11:28.411594606Z"}
{"log":"07:11:28 1|rumors-api  |     at /srv/www/build/util/scrapUrls.js:158:21\n","stream":"stdout","time":"2020-02-27T07:11:28.412877644Z"}
{"log":"07:11:28 1|rumors-api  |     at Array.map (\u003canonymous\u003e)\n","stream":"stdout","time":"2020-02-27T07:11:28.412928676Z"}
{"log":"07:11:28 1|rumors-api  |     at removeFBCLIDIfExist (/srv/www/build/util/scrapUrls.js:156:21)\n","stream":"stdout","time":"2020-02-27T07:11:28.412936097Z"}
{"log":"07:11:28 1|rumors-api  |     at scrapUrls (/srv/www/build/util/scrapUrls.js:47:26)\n","stream":"stdout","time":"2020-02-27T07:11:28.41293998Z"}
{"log":"07:11:28 1|rumors-api  |     at resolve (/srv/www/build/graphql/queries/ListArticles.js:157:58)\n","stream":"stdout","time":"2020-02-27T07:11:28.41294369Z"}
{"log":"07:11:28 1|rumors-api  |     at field.resolve (/srv/www/node_modules/graphql-extensions/dist/index.js:128:26)\n","stream":"stdout","time":"2020-02-27T07:11:28.412947481Z"}
{"log":"07:11:28 1|rumors-api  |     at resolveFieldValueOrError (/srv/www/node_modules/graphql/execution/execute.js:479:18)\n","stream":"stdout","time":"2020-02-27T07:11:28.412951172Z"}
{"log":"07:11:28 1|rumors-api  |     at resolveField (/srv/www/node_modules/graphql/execution/execute.js:446:16) {\n","stream":"stdout","time":"2020-02-27T07:11:28.412954836Z"}
{"log":"07:11:28 1|rumors-api  |   input: 'www.mohw.gov.tw/cp-16-51708-1.html',\n","stream":"stdout","time":"2020-02-27T07:11:28.412958413Z"}
{"log":"07:11:28 1|rumors-api  |   code: 'ERR_INVALID_URL'\n","stream":"stdout","time":"2020-02-27T07:11:28.412961933Z"}
{"log":"07:11:28 1|rumors-api  | }\n","stream":"stdout","time":"2020-02-27T07:11:28.412965516Z"}
{"log":"07:35:36 0|rumors-api  | gRPC operation contains error: Error: 8 RESOURCE_EXHAUSTED: Received message larger than max (5914595 vs. 4194304)\n","stream":"stdout","time":"2020-02-27T07:35:36.513309963Z"}
{"log":"07:35:36 0|rumors-api  |     at Object.exports.createStatusError (/srv/www/node_modules/grpc/src/common.js:91:15)\n","stream":"stdout","time":"2020-02-27T07:35:36.515725569Z"}
{"log":"07:35:36 0|rumors-api  |     at ClientReadableStream._emitStatusIfDone (/srv/www/node_modules/grpc/src/client.js:233:26)\n","stream":"stdout","time":"2020-02-27T07:35:36.515802383Z"}
{"log":"07:35:36 0|rumors-api  |     at ClientReadableStream._receiveStatus (/srv/www/node_modules/grpc/src/client.js:211:8)\n","stream":"stdout","time":"2020-02-27T07:35:36.515808814Z"}
{"log":"07:35:36 0|rumors-api  |     at Object.onReceiveStatus (/srv/www/node_modules/grpc/src/client_interceptors.js:1272:15)\n","stream":"stdout","time":"2020-02-27T07:35:36.515812915Z"}
{"log":"07:35:36 0|rumors-api  |     at InterceptingListener._callNext (/srv/www/node_modules/grpc/src/client_interceptors.js:568:42)\n","stream":"stdout","time":"2020-02-27T07:35:36.515817104Z"}
{"log":"07:35:36 0|rumors-api  |     at InterceptingListener.onReceiveStatus (/srv/www/node_modules/grpc/src/client_interceptors.js:618:8)\n","stream":"stdout","time":"2020-02-27T07:35:36.515821251Z"}
{"log":"07:35:36 0|rumors-api  |     at /srv/www/node_modules/grpc/src/client_interceptors.js:1029:24 {\n","stream":"stdout","time":"2020-02-27T07:35:36.51582539Z"}
{"log":"07:35:36 0|rumors-api  |   code: 8,\n","stream":"stdout","time":"2020-02-27T07:35:36.515829482Z"}
{"log":"07:35:36 0|rumors-api  |   metadata: Metadata {\n","stream":"stdout","time":"2020-02-27T07:35:36.51583319Z"}
{"log":"07:35:36 0|rumors-api  |     _internal_repr: { 'grpc-status': [Array], 'grpc-message': [Array] },\n","stream":"stdout","time":"2020-02-27T07:35:36.515839849Z"}
{"log":"07:35:36 0|rumors-api  |     flags: 0\n","stream":"stdout","time":"2020-02-27T07:35:36.515844033Z"}
{"log":"07:35:36 0|rumors-api  |   },\n","stream":"stdout","time":"2020-02-27T07:35:36.515860007Z"}
{"log":"07:35:36 0|rumors-api  |   details: 'Received message larger than max (5914595 vs. 4194304)'\n","stream":"stdout","time":"2020-02-27T07:35:36.515864054Z"}
{"log":"07:35:36 0|rumors-api  | }\n","stream":"stdout","time":"2020-02-27T07:35:36.515867712Z"}
{"log":"07:35:36 0|rumors-api  | gRPC error\n","stream":"stdout","time":"2020-02-27T07:35:36.540518862Z"}
{"log":"07:35:36 0|rumors-api  | Successful api response. Link: https://rollbar.com/occurrence/uuid/?uuid=f0dc72de-b734-42d2-bc46-fe69a6d647de\n","stream":"stdout","time":"2020-02-27T07:35:36.713575799Z"}
{"log":"07:39:19 0|rumors-api  | (node:285) Warning: Use Cipheriv for counter mode of aes-256-ctr\n","stream":"stdout","time":"2020-02-27T07:39:19.861752219Z"}

View details in Rollbar: https://rollbar.com/Cofacts/rumors-api/items/95/

gRPC error
@MrOrz MrOrz changed the title gRPC error gRPC: Received message larger than max Feb 29, 2020
@MrOrz MrOrz closed this as completed Jun 10, 2020
@MrOrz MrOrz reopened this Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant