Power-Maverick / DataverseDevTools-VSCode

The all-in-one tool to develop code for Dataverse/Dynamics 365. Helps you connect to a Dataverse environment, generate TypeScript definitions for entities, create a different type of Dataverse-specific projects, and much more.
https://marketplace.visualstudio.com/items?itemName=danish-naglekar.dataverse-devtools
MIT License
58 stars 15 forks source link

[Bug]: Error in connectDataverse #194

Open vitalth opened 2 hours ago

vitalth commented 2 hours ago

What happened?

When connected on dataverse url

What version of the tool are you using?

2.2.1

What version of Visual Studio Code are you running?

No response

Any relevant session id from VSCode?

d3b02080-cb09-44bb-8670-4eabcc02072e1732621059304

Relevant log output

VSCode version: 1.95.3. 
Extension version: 2.2.1. 
Error occured in connectDataverse command. 
Error code: SELF_SIGNED_CERT_IN_CHAIN. 
Error message: request to https://*******.dynamics.com/api/data/v9.2/EntityDefinitions failed, reason: self signed certificate in certificate chain. 
Error stack: FetchError: request to https://*******.dynamics.com/api/data/v9.2/EntityDefinitions failed, reason: self signed certificate in certificate chain
    at ClientRequest.<anonymous> (c:\Users\******\.vscode\extensions\danish-naglekar.dataverse-devtools-2.2.1\dist\extension.js:2:879808)
    at ClientRequest.emit (node:events:531:35)
    at emitErrorEvent (node:_http_client:101:11)
    at TLSSocket.socketErrorListener (node:_http_client:504:5)
    at TLSSocket.emit (node:events:519:28)
    at emitErrorNT (node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (node:internal/streams/destroy:128:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21).
power-maverick-bot[bot] commented 2 hours ago

Thanks for opening your first issue here! Please make sure you have given us as much context as possible. One of the repo maintainer will respond as soon as possible.