Giter Site home page Giter Site logo

Comments (1)

cmwylie19 avatar cmwylie19 commented on July 2, 2024

The error is due to an invalid character

'InvalidCharacterError: The string to be decoded is not correctly encoded.\n    at atob (node:buffer:1271:13)\n    at PassThrough.<anonymous> (/Users/cmwylie19/pepr/src/cli/monitor.ts:62:36)\n    at PassThrough.emit (node:events:520:28)\n    at PassThrough.emit (node:domain:488:12)\n    at addChunk (node:internal/streams/readable:559:12)\n    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n    at PassThrough.Readable.push (node:internal/streams/readable:390:5)\n    at node:internal/streams/transform:178:12\n    at PassThrough._transform (node:internal/streams/passthrough:46:3)\n    at PassThrough.Transform._write (node:internal/streams/transform:171:8)'

It happens consistently with ConfigMaps:

IGNORED - Unable to parse line: {"level":30,"time":1718891063786,"pid":16,"hostname":"pepr-static-test-868cdc5fc7-cqkvj","uid":"fa2693f6-568a-4540-80c4-ebb6a6bcc021","namespace":"pepr-demo","name":"/cm-1","res":{"uid":"fa2693f6-568a-4540-80c4-ebb6a6bcc021","warnings":[],"allowed":true},"msg":"Check response"}.

✅  VALIDATE   pepr-demo/cm-1 (a776f5ea-ea26-47c3-b512-dbd265f34442)

IGNORED - Unable to parse line: {"level":30,"time":1718891088735,"pid":16,"hostname":"pepr-static-test-868cdc5fc7-cqkvj","uid":"ea79c707-cdf2-42ff-b06d-ec874dfceb8b","namespace":"pepr-demo","name":"/cm-2","res":{"uid":"ea79c707-cdf2-42ff-b06d-ec874dfceb8b","warnings":[],"allowed":true},"msg":"Check response"}.

✅  VALIDATE   pepr-demo/cm-2 (fcec55b8-13c7-4ad7-9e6b-22ae3fa93c60)

patch is undefined and it creating the error
image

Sometimes the line comes in as invalid json
Image

from pepr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.