Avaliação do Tópico:
  • 0 Voto(s) - 0 em Média
  • 1
  • 2
  • 3
  • 4
  • 5
Coronel Fabriciano-MG - The underlying connection was closed: An unexpected error...
#1
Exclamation 
Bom dia.

Está ocorrendo uma situação específica para emissão de notas (web service) para Coronel Fabriciano-MG.

Realizei alguns testes de envio através dos meus servidores de homologação e produção e a situação é a seguinte:

• Através do meu servidor de homologação foi possível gerar as notas com sucesso;
• Já no meu servidor de produção recebo sempre a mensagem “The underlying connection was closed: An unexpected error occurred on a send.”

Existe alguma particularidade de conexão para o caso da cidade de Coronel Fabriciano-MG?

Eu já tenho outras cidades que estão integradas com meu sistema e que utilizam o GovDigital, como por exemplo: Poços de Caldas-MG, Guaxupé-MG, Divinópolis-MG e Pedro Leopoldo-MG.

Para essas cidades o envio de notas está em funcionamento. Com exceção apenas para Coronel Fabriciano-MG.

Por favor poderiam auxiliar?

Muito obrigado.
Responder
#2
Bom dia Rafael,

Poderia me informar o CNPJ e um horario de envio para Coronel Fabriciano para eu analizar os Logs por favor.

att,
Hiago
Responder
#3
Boa tarde Hiago,

Realizei um teste de envio neste exato momento. Dia 22/04 as 15:18

Segue abaixo o CNPJ:

03.447.242/0010-07

Obrigado!
Responder
#4
Bom dia Rafael,

Realmente existe várias tentativas com erro 500 no endpoint de Coronel Fabriciano, mas não consegui identificar o problema.
Poderia adicionar o XML para analise por favor.

att,
Hiago
Responder
#5
Bom dia Hiago.

Segue em anexo alguns arquivos de envio como solicitado. Enviado hoje 23/04 por volta do horário das 11:00.


Arquivos Anexados
.zip   xml envio.zip (Tamanho: 13,74 KB / Downloads: 7)
Responder
#6
Prezados(as), boa tarde.

Algum retorno sobre o problema apresentado? Estou aguardando algum retorno.

Muito obrigado.
Responder
#7
Prezados(as), bom dia.

Algum retorno sobre o problema apresentado? ainda estou aguardando retorno.

Muito obrigado.
Responder
#8
Prezados(as), bom dia.

Algum retorno sobre o problema apresentado? Já tem tempos que venho aguardando algum retorno e infelizmente não tenho.

Muito obrigado.
Responder
#9
Bom dia Rafael,

Desculpe os problemas em questões das respostas. Tivemos algums turbulencias nos ultimos dias, mas já normalizadas.
Vamos a seu problema, eu peguei o XML abaixo e fiz um teste e não notei nenhum problema. Você poderia fazer um novo envio para a base de homologação, anexar o XML e informar o horario de envio do mesmo?
Com essa informações conseguirei analisar nossos logs, além de conseguir fazer teste locais em cima do XML enviado.

Código:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:nfse="http://nfse.abrasf.org.br">
   <soapenv:Header/>
   <soapenv:Body>
      <nfse:RecepcionarLoteRpsSincronoRequest>
         <nfseCabecMsg>&lt;cabecalho xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns=&quot;http://www.abrasf.org.br/nfse.xsd&quot; versao=&quot;2.01&quot;&gt;&lt;versaoDados&gt;2.01&lt;/versaoDados&gt;&lt;/cabecalho&gt;</nfseCabecMsg>
         <nfseDadosMsg><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<EnviarLoteRpsSincronoEnvio xmlns="http://www.abrasf.org.br/nfse.xsd">
    <LoteRps Id="200323" versao="1.00">
        <NumeroLote>200323</NumeroLote>
        <CpfCnpj>
            <Cnpj>03447242001007</Cnpj>
        </CpfCnpj>
        <InscricaoMunicipal>82007</InscricaoMunicipal>
        <QuantidadeRps>1</QuantidadeRps>
        <ListaRps>
            <Rps>
                <InfDeclaracaoPrestacaoServico Id="824428">
                    <Rps>
                        <IdentificacaoRps>
                            <Numero>824428</Numero>
                            <Serie>A</Serie>
                            <Tipo>1</Tipo>
                        </IdentificacaoRps>
                        <DataEmissao>2019-04-23</DataEmissao>
                        <Status>1</Status>
                    </Rps>
                    <Competencia>2019-04-23</Competencia>
                    <Servico>
                        <Valores>
                            <ValorServicos>367.36</ValorServicos>
                            <DescontoCondicionado>36.74</DescontoCondicionado>
                        </Valores>
                        <IssRetido>2</IssRetido>
                        <ItemListaServico>8.02</ItemListaServico>
                        <CodigoCnae>8599604</CodigoCnae>
                        <CodigoTributacaoMunicipio>0802</CodigoTributacaoMunicipio>
                        <Discriminacao>019.2018.0049 Tecnico em Enfermagem | Periodo de competencia do servico prestado: 02/2019 | Local: CEP Coronel Fabriciano | Termo de Adesao numero: 912693 | Aluno: Maria Paula Rodrigues Gonzaga</Discriminacao>
                        <CodigoMunicipio>3119401</CodigoMunicipio>
                        <ExigibilidadeISS>3</ExigibilidadeISS>
                        <MunicipioIncidencia>3119401</MunicipioIncidencia>
                    </Servico>
                    <Prestador>
                        <CpfCnpj>
                            <Cnpj>03447242001007</Cnpj>
                        </CpfCnpj>
                        <InscricaoMunicipal>82007</InscricaoMunicipal>
                    </Prestador>
                    <Tomador>
                        <IdentificacaoTomador>
                            <CpfCnpj>
                                <Cpf>08771476636</Cpf>
                            </CpfCnpj>
                        </IdentificacaoTomador>
                        <RazaoSocial>Maria Paula Rodrigues Gonzaga</RazaoSocial>
                        <Endereco>
                            <Endereco>RUA ALIPIO JOSE DA SILVA</Endereco>
                            <Numero>760</Numero>
                            <Complemento>CS</Complemento>
                            <Bairro>Sao Geraldo</Bairro>
                            <CodigoMunicipio>3119401</CodigoMunicipio>
                            <Uf>MG</Uf>
                            <Cep>35170193</Cep>
                        </Endereco>
                        <Contato>
                            <Telefone>31989644386</Telefone>
                            <Email>maria.paula.rg@hotmail.com</Email>
                        </Contato>
                    </Tomador>
                    <OptanteSimplesNacional>2</OptanteSimplesNacional>
                    <IncentivoFiscal>2</IncentivoFiscal>
                </InfDeclaracaoPrestacaoServico>
                <Signature Id="Ass_824428" xmlns="http://www.w3.org/2000/09/xmldsig#">
                    <SignedInfo>
                        <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/>
                        <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
                        <Reference URI="#824428">
                            <Transforms>
                                <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
                            </Transforms>
                            <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
                            <DigestValue>l19gOCrWEtEAZh46ARGQ7eTsdE4=</DigestValue>
                        </Reference>
                    </SignedInfo>
                    <SignatureValue>pwZMShGF/TONueaEYq3bzAK8h+i61Q5Y2qZcwjlcntmZimcJ6709qvrjp0uZX1iGrzbBQH2NxM0nUPQ9D5+u161jR​E7nkC8qUELtcKiNLWw6I7/QY7ycEtn1Qm6L9WXnhuzXteIPe/FdjOoMLpjIr6TKTuqiISz1dSGL89m88m4sHFpKSRRyUhROfsMqHW9+SbreXEJnyP6KcQOqKB7URUFMm+​4/lyiOEFX7FAIgHimrp+fTYPxlnMx/KRpVxJEowK3LO7t2a/nfoCygbAoiHSR2GSx0zlrARd0lqNsorRvJJ1QzlBdHkmOyibPddXOql37j+BW7xMQgGuOPbEdkWw==</SignatureValue>
                    <KeyInfo>
                        <X509Data>
                            <X509Certificate>MIIIHzCCBgegAwIBAgIQeWKWhRo9Wks5BzFtGHYHjjANBgkqhkiG9w0BAQsFADB4MQswCQYDVQQGE​wJCUjETMBEGA1UEChMKSUNQLUJyYXNpbDE2MDQGA1UECxMtU2VjcmV0YXJpYSBkYSBSZWNlaXRhIEZlZ​GVyYWwgZG8gQnJhc2lsIC0gUkZCMRwwGgYDVQQDExNBQyBDZXJ0aXNpZ24gUkZCIEc1MB4XDTE4MDkyN​jIwMDQwOVoXDTE5MDkyNjIwMDQwOVowggENMQswCQYDVQQGEwJCUjETMBEGA1UECgwKSUNQLUJyYXNpb​DELMAkGA1UECAwCTUcxFzAVBgNVBAcMDkJlbG8gSG9yaXpvbnRlMTYwNAYDVQQLDC1TZWNyZXRhcmlhI​GRhIFJlY2VpdGEgRmVkZXJhbCBkbyBCcmFzaWwgLSBSRkIxFjAUBgNVBAsMDVJGQiBlLUNOUEogQTExK​TAnBgNVBAsMIEF1dGVudGljYWRvIHBvciBBUiBGZWNvbWVyY2lvIE1HMUgwRgY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gt9vJR​wlA4B5yerbCc7g0+DXmfs563ERcsDS6Kru8ow/9Q/2FUA5eu4BP/kzx7ooahTg1y3LK8rFG/Xt3IXoHrteMkK+s/RB5ec/QUtngNKMemtX7T5HoQBKLIaUKw+I4uDZ+zW4tLBw==</X509Certificate>
                        </X509Data>
                    </KeyInfo>
                </Signature>
            </Rps>
        </ListaRps>
    </LoteRps>
    <Signature Id="Ass_200323" xmlns="http://www.w3.org/2000/09/xmldsig#">
        <SignedInfo>
            <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/>
            <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
            <Reference URI="#200323">
                <Transforms>
                    <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
                </Transforms>
                <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
                <DigestValue>ddrU9Dhs78NSKK5QQirdapvUhkQ=</DigestValue>
            </Reference>
        </SignedInfo>
        <SignatureValue>ZudJqk8UjFb7x2CfnlqzUoSCwLLKktvc1xQ4tdhaSs9lGSR0tF/t4Do09CNDBd2Qz11BIt8dYTm32F6cbalEY8ITvuyQ6xrm7nzyhKqYXucYee9zEOkjolFWFizFgLaMCBV​F9p9jpVeCc/ERhaUuQXpUfDR4EIgx4JS7TdMrYu+EFt9xZm11AHVIDtclvR5Tv+wYteZC0Ha/n3sAl6KHli7j5uWJ43lwMLfIxOYZpui/3CAUWlj5mgpVqTULYW2+hAAczZfoJ1abFXEsbo8ivt4Jtr+2Js5bhFbOMY8cRAqOyBEDkbLX9ZhPjYoU​PN06e2Qj0p2X1QunxiAvQJaZNA==</SignatureValue>
        <KeyInfo>
            <X509Data>
                <X509Certificate>MIIIHzCCBgegAwIBAgIQeWKWhRo9Wks5BzFtGHYHjjANBgkqhkiG9w0BAQsFADB4MQswCQYDVQQGE​wJCUjETMBEGA1UEChMKSUNQLUJyYXNpbDE2MDQGA1UECxMtU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A3Iu9uu9edblpS3mZdeUIOb8u2/Bdgs+FWyEs9QXwbXh4u9tWo5gGB/bA2fr7kA+mbZzuTIuTE1SivAFkCaI3w44eYmvLAELZFUDV9f9b31gu3DxvzQ8Pr1J2ugmlMdvmWlXuis​dbuBoFCL1ISUfnC72KakglT5exw6jWnqGdw5IEMdbG0Va0dDDe38+XPvWZwwFlbzfTbdTEbp9g0TbtEG​S0w70q1dIe79UxIxV1DHfUfrGXDk6Y8x5aPFbB7D+G80pPrsWXViMbkbivuaPvHJyONUoRBRHxbLTtRK​EGAh34mfkRWRkQleNhIorP2dvMf4WSTtpVhLxm+57m09jUfllo0otmTkv/CrjaGHjYaH2AV7OFhM1Wser+qPlQT1CJjIqpgSFeNXbx4s7D+bVbJZmUMe88xTvV1YY70zWCiIgt9vJR​wlA4B5yerbCc7g0+DXmfs563ERcsDS6Kru8ow/9Q/2FUA5eu4BP/kzx7ooahTg1y3LK8rFG/Xt3IXoHrteMkK+s/RB5ec/QUtngNKMemtX7T5HoQBKLIaUKw+I4uDZ+zW4tLBw==</X509Certificate>
            </X509Data>
        </KeyInfo>
    </Signature>
</EnviarLoteRpsSincronoEnvio>]]></nfseDadosMsg>
      </nfse:RecepcionarLoteRpsSincronoRequest>
   </soapenv:Body>
</soapenv:Envelope>

att,
Hiago
Responder
#10
Hiago, bom dia!

Em anexo o xml de envio e retorno como solicitado. Teste realizado na base de homologação.

Data/hora de envio: 11/06/19 às 10:43

Obrigado,


Arquivos Anexados
.xml   envio.xml (Tamanho: 9,97 KB / Downloads: 8)
.xml   retorno.xml (Tamanho: 12,38 KB / Downloads: 3)
Responder


Pular para Fórum:


Usuários visualizando este tópico: 1 Visitante(s)