RaynorUE / snich

Application for code work on a ServiceNow Instance
22 stars 4 forks source link

Instance Configuration Failed. Please attempt to setup new instance again. See log for details. #220

Closed bzll closed 9 months ago

bzll commented 2 years ago

I'm trying to configure a new insntace using basic authentication (note: my instance is in San Diego version currently) but I don't know what is happening, I'm putting the correct password and user and then the screen bellow appears; "Instance Configuration Failed. Please attempt to setup new instance again. See log for details."

bzll commented 2 years ago

I was looking for some problem and I saw this log info; [Extension Host] error occured: Error: Remote end closed socket abruptly. at TLSSocket.x [as on_socket_end] (/home/bzll/.vscode/extensions/integratenate.snich-1.0.4/dist/extension.js:1:80494) at processTicksAndRejections (node:internal/process/task_queues:78:11)

bzll commented 2 years ago

I don't know if help, but I'm using node v18.7.0

RaynorUE commented 2 years ago

Hey there!

Sorry you're getting this error. Oddly I've used SNICH on countless number of instances and have not ran into this. Is it possible your computer or company uses a proxy and it's breaking the SSL Chain / exchange? Is this a Self-Hosted instance you are trying to connect to? Is it using a Custom URL?

Couple of other things to try or provide more information to help me help you troubleshoot..

Can you try the S.N.I.C.H. Canary extension? (Oddly it's more up to date and stable that the current SNICH base... long story, sorry!)

If Canary is still failing, can you go to the VSCode settings, and look under the settings to S.N.I.C.H. and set the logging level to debug? This should print considerably more logs to maybe help understand what's failing.

RaynorUE commented 2 years ago

Oh also, regarding Node Versions, VSCode does not actually use your installed version of Node, but instead uses the version of Node that is bundled with the version of Electron VSCode is using for it's current version.

francistwyman commented 2 years ago

Thanks @RaynorUE, I was also having the same problem with SNICH when trying to sync records or configure tables (same error message). But uninstalling and installing the canary version seems to have fixed it.