sentry-wizard icon indicating copy to clipboard operation
sentry-wizard copied to clipboard

Waiting wizard to connect

Open Polm90 opened this issue 6 years ago • 15 comments

When I install [email protected], it auto-lunches the wizard in the browser but it stucks on "waiting wizard to connect". What can I do?

Polm90 avatar May 30 '19 08:05 Polm90

yes i am also facing the same issue how to resolve ?

IamSurendraThota avatar Jun 20 '19 05:06 IamSurendraThota

Same issue here. I'm stuck on this

lunatupini avatar Jun 21 '19 14:06 lunatupini

i resolved this issue by installing the sentry wizard globally and call the wizard like below.

$ npm install -g @sentry/wizard $ sentry-wizard

then follow the instructions

IamSurendraThota avatar Jun 21 '19 14:06 IamSurendraThota

i resolved this issue by installing the sentry wizard globally and call the wizard like below.

$ npm install -g @sentry/wizard $ sentry-wizard

then follow the instructions

Thanks. This solve my problem

lunatupini avatar Jun 21 '19 14:06 lunatupini

Screen Shot 2019-09-08 at 5 01 19 am

still an issue on these specs:

$ » node_modules/.bin/react-native info   
System:
    OS: macOS 10.14.5
    CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz
    Memory: 129.17 MB / 8.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 10.16.0 - ~/.nvm/versions/node/v10.16.0/bin/node
    Yarn: 1.17.3 - ~/.nvm/versions/node/v10.16.0/bin/yarn
    npm: 6.10.3 - ~/.nvm/versions/node/v10.16.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
    Android SDK:
      API Levels: 29
      Build Tools: 29.0.0
  IDEs:
    Xcode: 10.1/10B61 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.8.6 => 16.8.6
    react-native: 0.60.4 => 0.60.4
  npmGlobalPackages:
    react-native-cli: 2.0.1

What is the expectation for once Wizard in the browser loads?

elisechant avatar Sep 07 '19 19:09 elisechant

Using the --skip-connect flag worked for me:

yarn sentry-wizard -i reactNative -p ios android --skip-connect --debug

elisechant avatar Sep 07 '19 19:09 elisechant

I'm in windows, the problem was that the documentation send ios and android, just do the yarn sentry-wizard and select only android. image

jaz-ortizv avatar Dec 05 '19 21:12 jaz-ortizv

I'm in windows, the problem was that the documentation send ios and android, just do the yarn sentry-wizard and select only android. image

npx sentry-wizard is worked too

arthedza avatar Feb 11 '20 10:02 arthedza

Same for --integration electron, stuck on "Waiting for wizard to connect"

mystaroll avatar Apr 10 '20 21:04 mystaroll

same here react native below 0.60

waqaramjad avatar Jul 15 '20 19:07 waqaramjad

react-native 0.63.1 working after yarn global add @sentry/wizard after that sentry-wizard

samuk190 avatar Jul 18 '20 18:07 samuk190

i resolved this issue by installing the sentry wizard globally and call the wizard like below.

$ npm install -g @sentry/wizard $ sentry-wizard

then follow the instructions

Thank You

awais-100 avatar Jan 03 '21 20:01 awais-100

Can you run the wizard with --debug true and post the output?

iker-barriocanal avatar Oct 13 '21 08:10 iker-barriocanal

Closing the issue as a part of large repository cleanup, due to it being inactive and/or outdated. Please do not hesitate to ping me if it is still relevant, and I will happily reopen it. Cheers!

kamilogorek avatar Feb 22 '22 11:02 kamilogorek

@kamilogorek I doubt this is fixed given all the posts above and no associated commit.

SleeplessByte avatar Feb 22 '22 21:02 SleeplessByte

@kamilogorek I'm stuck on waiting :( Tried all of the above answers. Running React native 0.6+

Kaijonsson avatar Dec 07 '22 08:12 Kaijonsson

Hi we changed quite a bit in the wizard since the last answer here. Is anyone still facing this issue? Please also let us know which SDK you're setting up. Thanks!

Lms24 avatar Sep 05 '23 20:09 Lms24

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

github-actions[bot] avatar Sep 27 '23 00:09 github-actions[bot]

npx @sentry/wizard@latest -s -i reactNative gives me the following error:

Running Sentry Wizard...
version: 3.14.1 | sentry-cli version: 1.75.2
..................
node:events:505
      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
Emitted 'error' event on PassThrough instance at:
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -54,
  code: 'ECONNRESET',
  syscall: 'read'
}

Edit: I updated Node to latest and it's working now.

miladdev85 avatar Sep 27 '23 20:09 miladdev85

@miladdev85 Thanks for the message and we are happy it works now.

krystofwoldrich avatar Sep 29 '23 13:09 krystofwoldrich

I'm gonna close this issue, given that we heard nothing that needs fixing since my last reply. Please feel free to tag me or open a new issue if you're still experiencing problems with connecting to the wizard. Thanks!

Lms24 avatar Oct 02 '23 10:10 Lms24

npx @sentry/wizard@latest -s -i reactNative gives me the following error:

Running Sentry Wizard...
version: 3.14.1 | sentry-cli version: 1.75.2
..................
node:events:505
      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
Emitted 'error' event on PassThrough instance at:
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -54,
  code: 'ECONNRESET',
  syscall: 'read'
}

Edit: I updated Node to latest and it's working now.

Which version of Node were you using? Seems to break in 16.

VMBindraban avatar Oct 02 '23 13:10 VMBindraban

I can't reproduce this with Node 14, 16 or higher, sorry. Any chance that your network is blocking requests?

Lms24 avatar Oct 02 '23 15:10 Lms24

I used the --skip-connect flag. I am currently using 16 and i am not blocking any connections. Could it be a OS related bug? (macos)

VMBindraban avatar Oct 03 '23 08:10 VMBindraban

@VMBindraban I also tried this with --skip-connect and got through the entire RN wizard:

image

(I don't have an actual RN test project, which is why some of the steps failed)

I can't get your error message with this command. I'm also on MacOs btw.

Lms24 avatar Oct 03 '23 15:10 Lms24

Interestingly enough while npx @sentry/wizard -s -i reactNative doesn't work, using npx @sentry/wizard works. When using my phone as internet provider both work.

Doesn't work:

projectRoot/android [ npx @sentry/wizard -s -i reactNative --verbose                                                                                                                                                                                main * ] 10:17 AM
Running Sentry Wizard...
version: 3.15.0 | sentry-cli version: 1.75.2
Sentry Wizard will help you to configure your project
Thank you for using Sentry :)
no URL provided, fallback to https://sentry.io/
? Select the platforms you like to set up: (Press <space> to select, <a> to toggle all, <i> to invert selection)iOS, Android


Please open
https://sentry.io/account/settings/wizard/***/?signup=1&project_platform=react-native
in your browser (if it's not open already)

/
node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
Emitted 'error' event on PassThrough instance at:
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -54,
  code: 'ECONNRESET',
  syscall: 'read'

Works:

projectRoot/android [ npx @sentry/wizard                                                                                                                                                                                                            main * ] 10:22 AM
Running Sentry Wizard...
version: 3.15.0 | sentry-cli version: 1.75.2
Sentry Wizard will help you to configure your project
Thank you for using Sentry :)
? What platform do you want to set up? React Native
no URL provided, fallback to https://sentry.io/
? Select the platforms you like to set up: (Press <space> to select, <a> to toggle all, <i> to invert selection)iOS, Android


Please open
https://sentry.io/account/settings/wizard/***/
in your browser (if it's not open already)



✗ react-native isn't in your dependencies.
  Please install it with yarn/npm.

VMBindraban avatar Oct 04 '23 08:10 VMBindraban

When using my phone as internet provider both work Hmm so it seems like something is blocking things on your regular network? 🤔

Lms24 avatar Oct 04 '23 08:10 Lms24

When using my phone as internet provider both work Hmm so it seems like something is blocking things on your regular network? 🤔

The issue seems to be in the -s flag. Without it, it works.

VMBindraban avatar Oct 04 '23 08:10 VMBindraban

Well i don't know why but i broke everything. I logout of Sentry and since then i keep getting the ECONNRESET error.

VMBindraban avatar Oct 04 '23 08:10 VMBindraban

Odd that I am facing the same issue, but I noticed that only on MacOS it's triggering the error, on windows for the same project (and network) it's working just fine.

I also noticed that the wizard website is stucked on "Waiting for wizard to connect" and keeps calling this url nonstop URL: https://sentry.io/api/0/wizard/n2tfi60puktlwc7h2g9u1blsuj6shk3agz1f4wslivr3fowzl7srjpsgibguey6c/

EDIT: On Windows I'm using Node 16.16.0 where on MacOS 16.14.0

EDIT: Updating node to 18.18.2 fixed for me

lucas-zimerman avatar Oct 17 '23 01:10 lucas-zimerman