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

Intermittent "discovery failed: bad grpc status code: The operation was cancelled" Error #612

Closed
Leizhenpeng opened this issue Jul 27, 2024 · 10 comments
Assignees
Labels
low-priority wontfix This will not be worked on

Comments

@Leizhenpeng
Copy link
Contributor

CleanShot 2024-07-27 at 18 40 09@2x

We are experiencing an intermittent issue where the following error occurs during the editing process: "discovery failed: bad grpc status code: The operation was cancelled."

This issue happens frequently and seems to disrupt the workflow. It is unclear what is causing the error, and further investigation is needed to identify the root cause and implement a fix.

@Leizhenpeng Leizhenpeng added the enhancement New feature or request label Jul 27, 2024
@Leizhenpeng
Copy link
Contributor Author

It's not continuous. Occasionally, such mistakes are reported.

@Jonghakseo
Copy link
Owner

@PatrykKuniczak PatrykKuniczak added bug Something isn't working and removed enhancement New feature or request labels Jul 28, 2024
@PatrykKuniczak
Copy link
Collaborator

@Jonghakseo I was thinking about to close it, but maybe it's better to leave it open, because if the users figure it, then can easly find it, because of the small amount of issues, we can avoid duplicated issues 😆

@PatrykKuniczak PatrykKuniczak added wontfix This will not be worked on low-priority and removed bug Something isn't working labels Jul 28, 2024
@JDaoMothership
Copy link

+1 am also receiving this error intermittently in my project.

@PatrykKuniczak
Copy link
Collaborator

@JDaoMothership Yeah, but as @Jonghakseo linked, that's not our extension related problem.

@JDaoMothership
Copy link

oop, apologies, I was just googling for solutions, and thought I was still in the vercel/turbo land. My bad!

@PatrykKuniczak
Copy link
Collaborator

@JDaoMothership Don't worry, if you're here already, you can browse our https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/blob/main/README.md 😆

@PatrykKuniczak
Copy link
Collaborator

I'm closing this, because we aren't able to do anything with this, and turbo doesn't matter about that ...

@dandv
Copy link
Contributor

dandv commented Dec 5, 2024

I'm also running into this issue. As long as it's not fixed, it should stay open.

$ pnpm install
Scope: all 22 workspace projects
Lockfile is up to date, resolution step is skipped
Packages: +830
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 830, reused 828, downloaded 0, added 830, done

dependencies:
+ eslint-plugin-tailwindcss 3.17.4
+ marked 15.0.3
+ react 18.3.1
+ react-dom 18.3.1

devDependencies:
+ @types/chrome 0.0.270
+ @types/node 20.16.10
+ @types/react 18.3.5
+ @types/react-dom 18.3.0
+ @typescript-eslint/eslint-plugin 7.18.0
+ @typescript-eslint/parser 7.18.0
+ autoprefixer 10.4.20
+ cross-env 7.0.3
+ esbuild 0.23.1
+ eslint 8.57.0
+ eslint-config-airbnb-typescript 18.0.0
+ eslint-config-prettier 9.1.0
+ eslint-plugin-import 2.29.1
+ eslint-plugin-jsx-a11y 6.9.0
+ eslint-plugin-prettier 5.2.1
+ eslint-plugin-react 7.35.0
+ eslint-plugin-react-hooks 4.6.2
+ husky 9.1.5
+ lint-staged 15.2.10
+ postcss 8.4.47
+ prettier 3.3.3
+ rimraf 6.0.1
+ tailwindcss 3.4.14
+ tslib 2.7.0
+ turbo 2.1.1
+ typescript 5.5.4
+ vite 5.4.9

. prepare$ husky
└─ Done in 65ms
Done in 4.7s

$ pnpm dev

> [email protected] dev /home/dandv/chrome-extension
> turbo ready && cross-env __DEV__=true turbo watch dev --concurrency 20

turbo 2.1.1

• Packages in scope: @extension/content-runtime-script, @extension/content-script, @extension/content-ui, @extension/dev-utils, @extension/devtools, @extension/devtools-panel, @extension/e2e, @extension/hmr, @extension/i18n, @extension/new-tab, @extension/options, @extension/popup, @extension/shared, @extension/sidepanel, @extension/storage, @extension/tailwindcss-config, @extension/tsconfig, @extension/ui, @extension/vite-config, @extension/zipper, chrome-extension
• Running ready in 21 packages
• Remote caching disabled
┌ @extension/storage#ready > cache hit, replaying logs 5bddddea75fddb56 
│ 
│ 
│ > @extension/[email protected] ready /home/dandv/chrome-extension/packages/storage
│ > node build.mjs
└────>
┌ @extension/ui#ready > cache hit, replaying logs c742d240dd2a652f 
│ 
│ 
│ > @extension/[email protected] ready /home/dandv/chrome-extension/packages/ui
│ > node build.mjs
└────>
┌ @extension/hmr#ready > cache hit, replaying logs 2f6818b1fd5cdfb9 
│ 
│ 
│ > @extension/[email protected] ready /home/dandv/chrome-extension/packages/hmr
│ > pnpm run build:tsc && pnpm run build:rollup
│ 
│ 
│ > @extension/[email protected] build:tsc /home/dandv/chrome-extension/packages/hmr
│ > tsc -b tsconfig.build.json
│ 
│ 
│ > @extension/[email protected] build:rollup /home/dandv/chrome-extension/packages/hmr
│ > rollup --config rollup.config.mjs
│ 
│ 
│ lib/injections/reload.ts → build/injections/reload.js...
│ created build/injections/reload.js in 82ms
│ 
│ lib/injections/refresh.ts → build/injections/refresh.js...
│ created build/injections/refresh.js in 17ms
└────>
┌ @extension/zipper#ready > cache hit, replaying logs a718c4fa311a5d62 
│ 
│ 
│ > @extension/[email protected] ready /home/dandv/chrome-extension/packages/zipper
│ > tsc
└────>
┌ @extension/shared#ready > cache hit, replaying logs b6c8f99150f24f6c 
│ 
│ 
│ > @extension/[email protected] ready /home/dandv/chrome-extension/packages/shared
│ > node build.mjs
└────>
┌ @extension/i18n#ready > cache hit, replaying logs 62d2a11990422ae8 
│ 
│ 
│ > @extension/[email protected] ready /home/dandv/chrome-extension/packages/i18n
│ > pnpm genenrate-i8n && node build.dev.mjs
│ 
│ 
│ > @extension/[email protected] genenrate-i8n /home/dandv/chrome-extension/packages/i18n
│ > node genenrate-i18n.mjs
│ 
│ I18n build complete
└────>
┌ @extension/dev-utils#ready > cache hit, replaying logs a9c8212422070571 
│ 
│ 
│ > @extension/[email protected] ready /home/dandv/chrome-extension/packages/dev-utils
│ > tsc
└────>

 Tasks:    7 successful, 7 total
Cached:    7 cached, 7 total
  Time:    6.22s >>> FULL TURBO

turbo 2.1.1

• Packages in scope: @extension/content-runtime-script, @extension/content-script, @extension/content-ui, @extension/dev-utils, @extension/devtools, @extension/devtools-panel, @extension/e2e, @extension/hmr, @extension/i18n, @extension/new-tab, @extension/options, @extension/popup, @extension/shared, @extension/sidepanel, @extension/storage, @extension/tailwindcss-config, @extension/tsconfig, @extension/ui, @extension/vite-config, @extension/zipper, chrome-extension
• Running dev in 21 packages
• Remote caching disabled
  × discovery failed: bad grpc status code: The operation was cancelled

 ELIFECYCLE  Command failed with exit code 1.

@dandv
Copy link
Contributor

dandv commented Dec 5, 2024

I found a workaround: killall turbo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low-priority wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

5 participants