Main Menu

Mesaje Recente

#11
De toate / Re: Token semnatura digitala
Ultimul mesaj de bogdy - Februarie 21, 2025, 10:40:18 PM
extras din catalina.out. Am inlocuit userul cu "adm-aplicatie" si denumirea firmei cu "nume_firma"
[2025-02-21 22:35:17] [info] 2025-02-21 22:35:17.199--JSP(/webgest/Intrare.jsp)--- Load page cu op:logout from ip=192.168.1.226 usr=adm-aplicatie
[2025-02-21 22:35:17] [info] 2025-02-21 22:35:17.199--JSP(/webgest/Intrare.jsp)--- logout pt.: adm-aplicatie --firma nume_firma
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.386--JSP(/webgest/Intrare.jsp)--- Load page cu op:login from ip=192.168.1.226 usr=null
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.386--JSP(/webgest/Intrare.jsp)--- begin login la webgest  adm-aplicatie --ip:192.168.1.226
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.386--JSP(/webgest/Intrare.jsp)--- end clear session
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.386--JSP(/webgest/Intrare.jsp)--- vers app:8.12.5
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.392--JSP(/webgest/Intrare.jsp)--- usr/pass OK
[2025-02-21 22:35:21] [info] /var/lib/tomcat9/webapps/webgest/WEB-INF is not a URL, trying to convert it to a file URL
[2025-02-21 22:35:21] [info] Loading mapping descriptors from mappMb.xml
[2025-02-21 22:35:21] [warning] Configuration for database 'nume_firma' loaded twice.
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.868--JSP(/webgest/Intrare.jsp)--- begin test ultupdaterulat
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.868--JSP(/webgest/Intrare.jsp)--- ultupdatee:08120001--ultupdater:08120001
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.869--JSP(/webgest/Intrare.jsp)--- end test ultupdaterulat
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.877--JSP(/webgest/Intrare.jsp)--- db_mb=org.exolab.castor.jdo.engine.LocalDatabaseImpl@a1ea91e:nume_firma
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.878--JSP(/webgest/Intrare.jsp)-prepareSession--- begin prepareSession
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.879--JSP(/webgest/Intrare.jsp)-prepareSession--- end create session xmlcontext, operator
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.880--JSP(/webgest/Intrare.jsp)-prepareSession--- end create session drop
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.880--JSP(/webgest/Intrare.jsp)-prepareSession--- end create session debug, publ
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.880--JSP(/webgest/Intrare.jsp)-prepareSession--- end prepareSession
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.880--JSP(/webgest/Intrare.jsp)--- operator=mirabit.gest.jdo.Personal@37210093 dbname=nume_firma user=adm-aplicatie
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.881--JSP(/webgest/Intrare.jsp)--- jsonstr={"respcod":"1","meserr":"OK","updperm":"","numefirma":"nume_firma","appname":"/webgest"}
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.899--JSP(/webgest/WebgestMain.jsp)--- Load page  from ip=192.168.1.226 usr=adm-aplicatie db:nume_firma
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.899--JSP(/webgest/WebgestMain.jsp)--- vers wg=8.12.5
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.903--JSP(/webgest/WebgestMain.jsp)--- buperr=false
[2025-02-21 22:35:21] [info] 2025-02-21 22:35:21.956--JSP(/webgest/WebgestMain.jsp)--- alertCertExp = false certExpAlrt=
[2025-02-21 22:35:22] [info] 2025-02-21 22:35:22.077--JSP(/webgest/AdmAjaxControl.jsp)---Load page cu op=getuv ip=192.168.1.226 user:adm-aplicatie
[2025-02-21 22:35:22] [info] 2025-02-21 22:35:22.086--JSP(/webgest/WGStat.jsp) --- Load page cu op=cv --referer:http://192.168.0.161:8080/webgest/WebgestMain.jsp
[2025-02-21 22:35:22] [info] 2025-02-21 22:35:22.088--JSP(/webgest/WGStat.jsp) --- logvis:false
[2025-02-21 22:35:22] [info] javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
[2025-02-21 22:35:22] [info] #011at sun.security.ssl.Alerts.getSSLException(Alerts.java:198)
[2025-02-21 22:35:22] [info] #011at sun.security.ssl.Alerts.getSSLException(Alerts.java:159)
[2025-02-21 22:35:22] [info] #011at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2041)
[2025-02-21 22:35:22] [info] #011at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1145)
[2025-02-21 22:35:22] [info] #011at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1388)
[2025-02-21 22:35:22] [info] #011at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1416)
[2025-02-21 22:35:22] [info] #011at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1400)
[2025-02-21 22:35:22] [info] #011at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
[2025-02-21 22:35:22] [info] #011at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
[2025-02-21 22:35:22] [info] #011at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1570)
[2025-02-21 22:35:22] [info] #011at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
[2025-02-21 22:35:22] [info] #011at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
[2025-02-21 22:35:22] [info] #011at mirabit.gest.util.HelperMB.getUlt_vers_xml(HelperMB.java:9810)
[2025-02-21 22:35:22] [info] #011at org.apache.jsp.AdmAjaxControl_jsp._jspService(AdmAjaxControl_jsp.java:362)
[2025-02-21 22:35:22] [info] #011at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
[2025-02-21 22:35:22] [info] #011at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
[2025-02-21 22:35:22] [info] #011at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:477)
[2025-02-21 22:35:22] [info] #011at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
[2025-02-21 22:35:22] [info] #011at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
[2025-02-21 22:35:22] [info] #011at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
[2025-02-21 22:35:22] [info] #011at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
[2025-02-21 22:35:22] [info] #011at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[2025-02-21 22:35:22] [info] #011at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
[2025-02-21 22:35:22] [info] #011at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
[2025-02-21 22:35:22] [info] #011at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[2025-02-21 22:35:22] [info] #011at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
[2025-02-21 22:35:22] [info] #011at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
[2025-02-21 22:35:22] [info] #011at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
[2025-02-21 22:35:22] [info] #011at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
[2025-02-21 22:35:22] [info] #011at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
[2025-02-21 22:35:22] [info] #011at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:688)
[2025-02-21 22:35:22] [info] #011at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
[2025-02-21 22:35:22] [info] #011at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
[2025-02-21 22:35:22] [info] #011at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:375)
[2025-02-21 22:35:22] [info] #011at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
[2025-02-21 22:35:22] [info] #011at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
[2025-02-21 22:35:22] [info] #011at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639)
[2025-02-21 22:35:22] [info] #011at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
[2025-02-21 22:35:22] [info] #011at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2025-02-21 22:35:22] [info] #011at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2025-02-21 22:35:22] [info] #011at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
[2025-02-21 22:35:22] [info] #011at java.lang.Thread.run(Thread.java:748)
[2025-02-21 22:35:23] [info] 2025-02-21 22:35:23.407--JSP(/webgest/BeginAdmin.jsp)---Load page... from ip=192.168.1.226 usr=adm-aplicatie
[2025-02-21 22:35:27] [info] 2025-02-21 22:35:27.313--JSP(/webgest/AdmCerts.jsp)---Load page  from ip=192.168.1.226 usr=adm-aplicatie
[2025-02-21 22:35:29] [info] 2025-02-21 22:35:29.291--JSP(/webgest/AdmAccTknCert.jsp)---Load page from ip=192.168.1.226 usr=adm-aplicatie
[2025-02-21 22:35:32] [info] 2025-02-21 22:35:32.023--JSP(/webgest/AdmAjaxControl2.jsp)-- Load page cu op=getDetFromCertusb ip=192.168.1.226 user:adm-aplicatie

extras din xdrv_ws.out

ReqWS--getTknFull- first conn responseCode=200
ReqWS--getTknFull--redirect url all time=https://www.webgest.ro?error=access_denied
java.lang.Exception
at mirabit.comm.pkcs.ReqWS.getTknFull(ReqWS.java:202)
at mirabit.local.gen.TKNDispathcer.GETACCTKNFULL(TKNDispathcer.java:37)
at mirabit.local.ttnserver.EcrServer.onMessage(EcrServer.java:2236)
at org.java_websocket.server.WebSocketServer.onWebsocketMessage(WebSocketServer.java:673)
at org.java_websocket.drafts.Draft_6455.processFrameText(Draft_6455.java:885)
at org.java_websocket.drafts.Draft_6455.processFrame(Draft_6455.java:819)
at org.java_websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:379)
at org.java_websocket.WebSocketImpl.decode(WebSocketImpl.java:216)
at org.java_websocket.server.WebSocketServer$WebSocketWorker.doDecode(WebSocketServer.java:1046)
at org.java_websocket.server.WebSocketServer$WebSocketWorker.run(WebSocketServer.java:1028)
ReqWS--getTknFull--result to return =  Eroare ob?inere cod de autorizare
java.lang.Exception
at mirabit.local.gen.TKNDispathcer.GETACCTKNFULL(TKNDispathcer.java:42)
at mirabit.local.ttnserver.EcrServer.onMessage(EcrServer.java:2236)
at org.java_websocket.server.WebSocketServer.onWebsocketMessage(WebSocketServer.java:673)
at org.java_websocket.drafts.Draft_6455.processFrameText(Draft_6455.java:885)
at org.java_websocket.drafts.Draft_6455.processFrame(Draft_6455.java:819)
at org.java_websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:379)
at org.java_websocket.WebSocketImpl.decode(WebSocketImpl.java:216)
at org.java_websocket.server.WebSocketServer$WebSocketWorker.doDecode(WebSocketServer.java:1046)
at org.java_websocket.server.WebSocketServer$WebSocketWorker.run(WebSocketServer.java:1028)
java.lang.Exception
at mirabit.local.ttnserver.EcrServer.onMessage(EcrServer.java:2241)
at org.java_websocket.server.WebSocketServer.onWebsocketMessage(WebSocketServer.java:673)
at org.java_websocket.drafts.Draft_6455.processFrameText(Draft_6455.java:885)
at org.java_websocket.drafts.Draft_6455.processFrame(Draft_6455.java:819)
at org.java_websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:379)
at org.java_websocket.WebSocketImpl.decode(WebSocketImpl.java:216)
at org.java_websocket.server.WebSocketServer$WebSocketWorker.doDecode(WebSocketServer.java:1046)
at org.java_websocket.server.WebSocketServer$WebSocketWorker.run(WebSocketServer.java:1028)
ECRServer  =2025-02-21 22:35:34.312= connection closed 


#12
De toate / Re: Token semnatura digitala
Ultimul mesaj de elis - Februarie 21, 2025, 05:16:20 PM
Ar fi bine daca ai atasa o captura de ecran cu eroarea si fisierul catalina.out din tomcat. Asta daca persista eroarea (deci nu a fost vreo problema temporara de server Anaf).
#13
De toate / Re: Token semnatura digitala
Ultimul mesaj de bogdy - Februarie 20, 2025, 07:52:15 PM
Am ajuns la alta problema.
Eroare obținere cod de autorizare
La test returneaza OK.
#14
De toate / Re: Token semnatura digitala
Ultimul mesaj de elis - Februarie 20, 2025, 04:48:42 PM
Valoarea pentru atributul algoritm este `sunpkcs11`.
#15
De toate / Token semnatura digitala
Ultimul mesaj de bogdy - Februarie 19, 2025, 04:04:49 PM
Buna, asta e eroarea
algoritm semnare necunoscut. Corectati in fisierul C:\Users\tehnic\webgest_local\decl_ro\dist\config\cryptoID.cfg valoarea atributului 'algorithm'

si aici e continutul fisierului
library=C:\WINDOWS\system32\crypto_pkcs11.dll
algorithm=CryptoID
name=SmartCard

idei?
#16
Anunțuri / Re: e-Factura
Ultimul mesaj de Razvan Valentin - Februarie 15, 2025, 05:17:34 PM
mda ... asta era ... e clar ... de la AI e treaba ... nu-i bun ..  ;D  ;D  ;D

multumesc pt promptitudine

Vali
#17
Anunțuri / Re: e-Factura
Ultimul mesaj de Razvan Valentin - Februarie 15, 2025, 05:07:08 PM
posibil sa vina din valori ?
La pret unitar este 32.94 lei
La total este 32,93 lei

... ciudat ... acum am vazut ... o clipa sa corectez si revin ... ciudat ca nu am facut factura de mana ... am preluat-o dintr-o comanda ... AI-ul cred ca este de vina ... :-)))

revin
#18
Anunțuri / Re: e-Factura
Ultimul mesaj de Razvan Valentin - Februarie 15, 2025, 05:01:36 PM
Mesajul de pe validatorul ANAF este astfel:

Fisierul XML Fact_2000024_BăltăXXXXX-Dragoș-Florin.xml nu este valid. Au fost identificate urmatoarele erori:
tipAssert=FailedAssert; codEroare=BR-CO-13; localizareEroare=/Invoice/cac:LegalMonetaryTotal; textEroare=[BR-CO-13]-Invoice total amount without VAT (BT-109) = Σ Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108).; expresieValidata=((cbc:ChargeTotalAmount) and (cbc:AllowanceTotalAmount) and (xs:decimal(cbc:TaxExclusiveAmount) = round((xs:decimal(cbc:LineExtensionAmount) + xs:decimal(cbc:ChargeTotalAmount) - xs:decimal(cbc:AllowanceTotalAmount)) * 10 * 10) div 100 )) or (not(cbc:ChargeTotalAmount) and (cbc:AllowanceTotalAmount) and (xs:decimal(cbc:TaxExclusiveAmount) = round((xs:decimal(cbc:LineExtensionAmount) - xs:decimal(cbc:AllowanceTotalAmount)) * 10 * 10 ) div 100)) or ((cbc:ChargeTotalAmount) and not(cbc:AllowanceTotalAmount) and (xs:decimal(cbc:TaxExclusiveAmount) = round((xs:decimal(cbc:LineExtensionAmount) + xs:decimal(cbc:ChargeTotalAmount)) * 10 * 10 ) div 100)) or (not(cbc:ChargeTotalAmount) and not(cbc:AllowanceTotalAmount) and (xs:decimal(cbc:TaxExclusiveAmount) = xs:decimal(cbc:LineExtensionAmount)))

Oare sa va trimit XML-ul din Webgest pe adresa de e-mail sa-l analizati ?

Multumesc.

Vali.
#19
Anunțuri / Re: e-Factura
Ultimul mesaj de cios - Februarie 15, 2025, 04:31:55 PM
Sunt ciudate acele formule foarte lungi de verificare. Validarea online ( https://www.anaf.ro/uploadxmi/ ) dă același rezultat ?
#20
Anunțuri / e-Factura
Ultimul mesaj de Razvan Valentin - Februarie 15, 2025, 11:47:55 AM
Buna ziua,

la validare e-Factura am aceasta lungaaaa eroare ... oare ce ar purtea sa fie ?

Putin ajutor si multumesc anticipat.

Vali