-
Notifications
You must be signed in to change notification settings - Fork 116
Description
Prerequisites
Please answer the following questions before submitting an issue.
YOU MAY DELETE THE PREREQUISITES SECTION.
- [ x] I am running the latest version of Node and the tools
- [ x] I checked the documentation and found no answer
- [x ] I checked to make sure that this issue has not already been filed
Expected behavior
starting with command:
npx office-addin-usage data off | run start
opens outlook, view Taskpane,
Current behavior
The debug stops with ECONNRESET errors and I cant sideload the Add-In.
The usage data OFF seems not respected by all packages.
Steps to Reproduce
I created new Outlook Add-In, react, typescript.
configured data usage off, set proxy values in .npmrc
Context
Proxy is ZScaler that brings its own Certs and restricts/blocks some connections like a firewall.
- Operating System: Windows
- Node version: 18.20.7
- Office version: Newest
- Tool version:
** office-addin-taskpane-react 0.0.1
Failure Logs
office-addin-taskpane-react@0.0.1 start
office-addin-debugging start manifest.json desktop --app outlook
Debugging is being started...
App type: desktop
Enabled debugging for add-in e3f9823a-d6c8-43a2-bd55-4b2a0c2a1a6d.
Runtime logging is enabled. File: C:\Users\USER\AppData\Local\Temp\2\OfficeAddins.log.txt
Starting the dev server... (webpack serve --mode development)
The dev server is running on port 3000. Process id: 19756
Sideloading the Office Add-in...
Manifest package saved to C:\Users\USER\AppData\Local\Temp\2\manifest.zip
running: npx @microsoft/teamsapp-cli install --file-path "C:\Users\USER\AppData\Local\Temp\2\manifest.zip" --interactive false
--Error sideloading!--
Error: Error: Command failed: npx @microsoft/teamsapp-cli install --file-path "C:\Users\USER\AppData\Local\Temp\2\manifest.zip" --interactive false
ApplicationInsights:CorrelationIdManager [
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
at TCP.callbackTrampoline (node:internal/async_hooks:128:17) {
errno: -4077,
code: 'ECONNRESET',
syscall: 'read'
}
]
(×) Error: unknown.InternalError: Request failed with status code 400
STDERR:
ApplicationInsights:CorrelationIdManager [
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
at TCP.callbackTrampoline (node:internal/async_hooks:128:17) {
errno: -4077,
code: 'ECONNRESET',
syscall: 'read'
}
]
(×) Error: unknown.InternalError: Request failed with status code 400
Error: Unable to start debugging.
Error: Unable to sideload the Office Add-in.
Error: Command failed: npx @microsoft/teamsapp-cli install --file-path "C:\Users\USER\AppData\Local\Temp\2\manifest.zip" --interactive false
ApplicationInsights:CorrelationIdManager [
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
at TCP.callbackTrampoline (node:internal/async_hooks:128:17) {
errno: -4077,
code: 'ECONNRESET',
syscall: 'read'
}
]
(×) Error: unknown.InternalError: Request failed with status code 400