tds-vscode: file could not be copied to the server

Bom dia! Encontrei o erro “file could not be copied to the server” ao tentar aplicação patch conectado ao novo appserver 20-02-21-P12_APPSERVER_BUILD-19.3.0.2_WINDOWS_X64. A build anterior (17.3.0.18_WINDOWS_X64) os pacote são aplicados sem problemas. Existe alguma nova configuração?

console - vscode (v: 1.42.1 - system setup)

[Info  - 12:08:52] Starting reconnection to the server: lg-log
[Log   - 00:00:00] Secure authenticating...
[Log   - 00:00:00] User authenticated successfully.
[Info  - 12:08:55] Reconnection to the server: lg-log finished.
[Info  - 12:09:11] Starting apply patch.
[Log   - 00:00:00] Starting build for environment UPDDISTR.
[Log   - 00:00:00] Applying patch file: c:/TOTVS/Microsiga/Protheus_Data/update/20-02-21-LIB_LABEL_14022020_P12_LOBO-TTTP120.PTM
[Error - 12:09:17] File could not be copied to the server.
[Log   - 00:00:00] Aborting end build (rollback changes).

appserver - console.log

2020-02-25T12:09:12.713000-03:00 17288|------0--c:\totvs\microsiga\protheus_data\update\20-02-21-lib_label_14022020_p12_lobo-tttp120.ptm

2020-02-25T12:09:12.717000-03:00 17288|
[WARN ][SERVER] [THROW][Thread  17288] tConnnErrorException (8:Communication error: Sync error) on D:\bamboo-agent-5.7.2\xml-data\build-dir\TP11-TECX17V3R1-TECXWIN64\lib_comm\msgmanager.cpp:719

2020-02-25T12:09:12.718000-03:00 17288|
[INFO ][SERVER] [[Thread  17288][25/02/2020 12:09:12] Debugger finished ( (user, server)

2020-02-25T12:09:17.650000-03:00 12356|[MPPORT] 200225_120917 3044 BPC2019 W x 05 ctx:009 expired timeout for closing of client connection seconds=5 o1r0R1s0S0

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 60 (17 by maintainers)

Most upvoted comments

@fmercurio Poderia confirmar qual o SO em que o Appserver esta rodando?

@lwtnb-wrk, está rodando em Windows Server 2016.

@lwtnb-wrk fiz as configurações indicadas e funcionou. [Drivers] Active=TCP MultiProtocolPortSecure=0 MultiProtocolPort=0

Mas lembrem-se de alterar a flag “secure”: 0 no ‘servers.json’ deste AppServer

más e quanto a instrução da TOTVS? https://tdn.totvs.com/pages/viewpage.action?pageId=538506132

Porta Multiprotocolo

A TOTVS não recomenda desligar a comunicação segura entre o TOTVS | Application Server e o TOTVS | SmartClient.

Desativar esta chave deixa os dados de conexão vulneráveis (MultiProtocolPortSecure=0).

https://tdn.totvs.com/pages/viewpage.action?pageId=538506132

@lwtnb-wrk eu tentei dos dois jeitos e deu a mesma mensagem, depois testei clicando com o botão direito do mouse no nome do patch e fui em patch apply from file e também deu a mesma mensagem.