Project

General

Profile

Bug #555

https://eid.eid-service.de/epa antwortet mit "404 not found" + "Das TCToken konnte nicht empfangen werden."

Added by H B almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
01/03/2017
Due date:
% Done:

0%

Estimated time:
Reviewer:

Description

Die Nutzung der Online-Ausserbetriebnahme von KfZ der Stadt München funktioniert mit der Open eCard App Version 1.2.0 nicht.
Im Browser erscheint nur "Das TCToken konnte nicht empfangen werden.", das Logfile zeigt folgendes (Daten in den Requests gelöscht):

2016-12-31 18:44:35,233 [AWT-EventQueue-1] INFO  o.o.richclient.LogbackConfig:70 - Configured Logback with config file from: /home/xxx/.openecard/richclient_logback.xml
2016-12-31 18:44:49,526 [Thread-13] DEBUG o.o.c.b.h.h.HttpAppPluginActionHandler:85 - HTTP request: GET /eID-Client?tcTokenURL=https%3A%2F%2Fwww.kba-online.de%3A443%2Fi-kfz%2Fportal%2Fwebapp%2Feid.html%3Bjsessionid%3D%2B2Oa0UcKZNnugS3Ge1-7gJXs.as-idmz-prod2%3AP_ikfz_webapp%3Fref%3D%2B2Oa0UcKZNnugS3Ge1-7gJXs.as-idmz-prod2%3AP_ikfz_webapp [Host: 127.0.0.1:24727, User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0, Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8, Accept-Language: en-US,en;q=0.5, Accept-Encoding: gzip, deflate, Connection: keep-alive, Cache-Control: max-age=0]
2016-12-31 18:44:49,586 [Thread-13] INFO  o.o.binding.tctoken.ResourceContext:206 - Trying to load resource from: https://www.kba-online.de:443/i-kfz/portal/webapp/eid.html;jsessionid=+2Oa0UcKZNnugS3Ge1-7gJXs.as-idmz-prod2:P_ikfz_webapp?ref=+2Oa0UcKZNnugS3Ge1-7gJXs.as-idmz-prod2:P_ikfz_webapp
2016-12-31 18:44:49,590 [Thread-13] DEBUG o.o.crypto.tls.proxy.ProxySettings:245 - Selecting proxy: DIRECT
2016-12-31 18:44:49,591 [Thread-13] DEBUG o.o.crypto.tls.proxy.ProxySettings:245 - Selecting proxy: DIRECT
2016-12-31 18:44:49,622 [Thread-13] DEBUG o.o.binding.tctoken.ResourceContext:243 - Performing TLS handshake.
2016-12-31 18:44:49,667 [Thread-13] DEBUG o.o.c.tls.verify.HostnameVerifier:114 - Comparing connection hostname against certificate hostname: [www.kba-online.de] [www.kba-online.de]
2016-12-31 18:44:49,770 [Thread-13] DEBUG o.o.binding.tctoken.ResourceContext:245 - TLS handshake performed.
2016-12-31 18:44:49,771 [Thread-13] DEBUG o.o.transport.httpcore.HttpUtils:81 - HTTP Request:
  GET /i-kfz/portal/webapp/eid.html;jsessionid=+2Oa0UcKZNnugS3Ge1-7gJXs.as-idmz-prod2:P_ikfz_webapp?ref=+2Oa0UcKZNnugS3Ge1-7gJXs.as-idmz-prod2:P_ikfz_webapp HTTP/1.1
  Connection: keep-alive
  User-Agent: Open-eCard-App/1.2.4
  Host: www.kba-online.de:443
  Accept: text/xml, */*;q=0.8
  Accept-Charset: utf-8, *;q=0.8

2016-12-31 18:44:49,771 [Thread-13] DEBUG o.o.binding.tctoken.ResourceContext:266 - Sending HTTP request.
2016-12-31 18:44:49,839 [Thread-13] DEBUG o.o.binding.tctoken.ResourceContext:269 - HTTP response received.
2016-12-31 18:44:49,841 [Thread-13] DEBUG o.o.transport.httpcore.HttpUtils:112 - HTTP Response:
  HTTP/1.1 302 Moved Temporarily
  Date: Sat, 31 Dec 2016 17:44:48 GMT
  Server: HTTP
  X-Content-Type-Options: nosniff
  X-XSS-Protection: 1; mode=block
  Cache-Control: no-store
  Expires: 0
  X-Frame-Options: DENY
  Content-Security-Policy: default-src 'self'
  X-Content-Security-Policy: default-src 'self'
  X-WebKit-CSP: default-src 'self'
  X-Frame-Options: SAMEORIGIN

  Location: https://eid.eid-service.de/epa?SAMLRequest=rVfZkqPGEv2VDvmR6AYkEEIx3Q4hQAtIIMQi8XKD...&RelayState=+2Oa0UcKZNnugS3Ge1-7gJXs.as-idmz-prod2%3AP_ikfz_webapp&Signature=NEYMbOKHYFGmk16YgN4XGy7Y...&SigAlg=http%3A%2F%2Fwww.w3.org%2F2000%2F09%2Fxmldsig%23rsa-sha1
  Content-Length: 0
  Connection: close
  Content-Type: text/plain; charset=ISO-8859-1
  Strict-Transport-Security: max-age=31536000; includeSubDomains; preload

2016-12-31 18:44:49,842 [Thread-13] INFO  o.o.c.t.ClientCertDefaultTlsClient:282 - TLS warning sent.
2016-12-31 18:44:49,843 [Thread-13] INFO  o.o.c.t.ClientCertDefaultTlsClient:284 - TLS(WARN): Close [close_notify=0] --> Connection closed
2016-12-31 18:44:49,843 [Thread-13] INFO  o.o.binding.tctoken.ResourceContext:206 - Trying to load resource from: https://eid.eid-service.de/epa?SAMLRequest=rVfZkqPGEv2VDvmR6AYkEEIx3Q4hQAtIIMQi8XKD...&RelayState=+2Oa0UcKZNnugS3Ge1-7gJXs.as-idmz-prod2%3AP_ikfz_webapp&Signature=NEYMbOKHYFGmk16YgN4XGy7Y...&SigAlg=http%3A%2F%2Fwww.w3.org%2F2000%2F09%2Fxmldsig%23rsa-sha1
2016-12-31 18:44:49,844 [Thread-13] DEBUG o.o.crypto.tls.proxy.ProxySettings:245 - Selecting proxy: DIRECT
2016-12-31 18:44:49,845 [Thread-13] DEBUG o.o.crypto.tls.proxy.ProxySettings:245 - Selecting proxy: DIRECT
2016-12-31 18:44:49,875 [Thread-13] DEBUG o.o.binding.tctoken.ResourceContext:243 - Performing TLS handshake.
2016-12-31 18:44:49,940 [Thread-13] DEBUG o.o.c.tls.verify.HostnameVerifier:114 - Comparing connection hostname against certificate hostname: [eid.eid-service.de] [eid.eid-service.de]
2016-12-31 18:44:50,005 [Thread-13] DEBUG o.o.binding.tctoken.ResourceContext:245 - TLS handshake performed.
2016-12-31 18:44:50,006 [Thread-13] DEBUG o.o.transport.httpcore.HttpUtils:81 - HTTP Request:
  GET /epa?SAMLRequest=rVfZkqPGEv2VDvmR6AYkEEIx3Q4hQAtIIMQi8XKD...&RelayState=+2Oa0UcKZNnugS3Ge1-7gJXs.as-idmz-prod2%3AP_ikfz_webapp&Signature=NEYMbOKHYFGmk16YgN4XGy7Y...&SigAlg=http%3A%2F%2Fwww.w3.org%2F2000%2F09%2Fxmldsig%23rsa-sha1
  Connection: keep-alive
  User-Agent: Open-eCard-App/1.2.4
  Host: eid.eid-service.de
  Accept: text/xml, */*;q=0.8
  Accept-Charset: utf-8, *;q=0.8

2016-12-31 18:44:50,006 [Thread-13] DEBUG o.o.binding.tctoken.ResourceContext:266 - Sending HTTP request.
2016-12-31 18:44:50,107 [Thread-13] DEBUG o.o.binding.tctoken.ResourceContext:269 - HTTP response received.
2016-12-31 18:44:50,108 [Thread-13] DEBUG o.o.transport.httpcore.HttpUtils:112 - HTTP Response:
  HTTP/1.1 404 Not Found
  Content-Type: text/html
  Transfer-Encoding: chunked
  Date: Sat, 31 Dec 2016 17:44:49 GMT
  Server: Server

2016-12-31 18:44:50,108 [Thread-13] DEBUG o.o.binding.tctoken.ResourceContext:288 - Received a result code 404 'Not Found' from server.
2016-12-31 18:44:50,109 [Thread-13] ERROR o.o.b.tctoken.ActivationAction:391 - Failed to retrieve the TCToken.
2016-12-31 18:44:50,114 [Thread-13] DEBUG o.o.b.tctoken.ActivationAction:392 - Failed to retrieve the TCToken.
org.openecard.binding.tctoken.ex.TCTokenRetrievalException: Failed to retrieve the TCToken.
        at org.openecard.binding.tctoken.TCTokenContext.generateTCToken(TCTokenContext.java:76)
        at org.openecard.binding.tctoken.TCTokenRequest.parseTCTokenRequestURI(TCTokenRequest.java:201)
        at org.openecard.binding.tctoken.TCTokenRequest.convert(TCTokenRequest.java:115)
        at org.openecard.binding.tctoken.ActivationAction.processTcTokenOrActivationObject(ActivationAction.java:375)
        at org.openecard.binding.tctoken.ActivationAction.processRequest(ActivationAction.java:244)
        at org.openecard.binding.tctoken.ActivationAction.checkRequestParameters(ActivationAction.java:224)
        at org.openecard.binding.tctoken.ActivationAction.execute(ActivationAction.java:111)
        at org.openecard.addon.bind.AppPluginActionProxy.execute(AppPluginActionProxy.java:55)
        at org.openecard.control.binding.http.handler.HttpAppPluginActionHandler.handle(HttpAppPluginActionHandler.java:111)
        at org.openecard.apache.http.protocol.HttpService.doService(HttpService.java:437)
        at org.openecard.apache.http.protocol.HttpService.handleRequest(HttpService.java:342)
        at org.openecard.control.binding.http.HttpService$1.run(HttpService.java:131)
Caused by: java.io.IOException: Invalid HTTP message received.
        at org.openecard.binding.tctoken.ResourceContext.getStreamInt(ResourceContext.java:315)
        at org.openecard.binding.tctoken.ResourceContext.getStreamInt(ResourceContext.java:309)
        at org.openecard.binding.tctoken.ResourceContext.getStream(ResourceContext.java:197)
        at org.openecard.binding.tctoken.ResourceContext.getStream(ResourceContext.java:174)
        at org.openecard.binding.tctoken.TCTokenContext.generateTCToken(TCTokenContext.java:73)
        ... 11 common frames omitted
Caused by: org.openecard.transport.httpcore.InvalidResultStatus: Der ungültige Ergebniscode 404 'Not Found' wurde vom Server empfangen.
        at org.openecard.binding.tctoken.ResourceContext.getStreamInt(ResourceContext.java:289)
        ... 15 common frames omitted
2016-12-31 18:44:50,114 [Thread-13] DEBUG o.o.b.tctoken.ActivationAction:393 - Returning result: 
BindingResult <RESOURCE_UNAVAILABLE, 'Das TCToken konnte nicht empfangen werden.'>

2016-12-31 18:44:50,115 [Thread-13] INFO  o.o.b.tctoken.ActivationAction:395 - Authentication failed, displaying error in Browser.
2016-12-31 18:44:50,115 [Thread-13] DEBUG o.o.c.b.h.h.HttpAppPluginActionHandler:153 - Recieved BindingResult with ResultCode RESOURCE_UNAVAILABLE
2016-12-31 18:44:50,115 [Thread-13] DEBUG o.o.c.b.h.h.HttpAppPluginActionHandler:142 - BindingResult contains no body.
2016-12-31 18:44:50,115 [Thread-13] DEBUG o.o.c.b.h.h.HttpAppPluginActionHandler:115 - HTTP response: HTTP/1.1 404  [] [Content-Type: text/plain; charset=UTF-8,Content-Length: 42,Chunked: false]
2016-12-31 18:44:50,115 [Thread-13] DEBUG o.o.c.b.h.i.ErrorResponseInterceptor:97 - HTTP response intercepted
2016-12-31 18:44:50,169 [Thread-13] DEBUG o.o.c.b.h.h.HttpAppPluginActionHandler:85 - HTTP request: GET /css/style.css [Host: 127.0.0.1:24727, User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0, Accept: text/css,*/*;q=0.1, Accept-Language: en-US,en;q=0.5, Accept-Encoding: gzip, deflate, Referer: http://127.0.0.1:24727/eID-Client?tcTokenURL=https%3A%2F%2Fwww.kba-online.de%3A443%2Fi-kfz%2Fportal%2Fwebapp%2Feid.html%3Bjsessionid%3D%2B2Oa0UcKZNnugS3Ge1-7gJXs.as-idmz-prod2%3AP_ikfz_webapp%3Fref%3D%2B2Oa0UcKZNnugS3Ge1-7gJXs.as-idmz-prod2%3AP_ikfz_webapp, Connection: keep-alive, Cache-Control: max-age=0]
2016-12-31 18:44:50,171 [Thread-13] DEBUG o.o.c.b.h.h.ControlCommonHandler:81 - HTTP request: GET /css/style.css [Host: 127.0.0.1:24727, User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0, Accept: text/css,*/*;q=0.1, Accept-Language: en-US,en;q=0.5, Accept-Encoding: gzip, deflate, Referer: http://127.0.0.1:24727/eID-Client?tcTokenURL=https%3A%2F%2Fwww.kba-online.de%3A443%2Fi-kfz%2Fportal%2Fwebapp%2Feid.html%3Bjsessionid%3D%2B2Oa0UcKZNnugS3Ge1-7gJXs.as-idmz-prod2%3AP_ikfz_webapp%3Fref%3D%2B2Oa0UcKZNnugS3Ge1-7gJXs.as-idmz-prod2%3AP_ikfz_webapp, Connection: keep-alive, Cache-Control: max-age=0]
2016-12-31 18:44:50,171 [Thread-13] DEBUG o.o.c.b.h.h.common.FileHandler:75 - Handle file request
2016-12-31 18:44:50,171 [Thread-13] DEBUG o.o.c.b.h.h.ControlCommonHandler:103 - HTTP response: HTTP/1.1 200  [Content-Type: text/css; charset=UTF-8] [Content-Type: text/css; charset=UTF-8,Chunked: false]
2016-12-31 18:44:50,171 [Thread-13] DEBUG o.o.c.b.h.h.ControlCommonHandler:104 - HTTP request handled by: org.openecard.control.binding.http.handler.common.FileHandler
2016-12-31 18:44:50,303 [Thread-14] DEBUG o.o.c.b.h.h.HttpAppPluginActionHandler:85 - HTTP request: GET /favicon.ico [Host: 127.0.0.1:24727, User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0, Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8, Accept-Language: en-US,en;q=0.5, Accept-Encoding: gzip, deflate, Connection: keep-alive]
2016-12-31 18:44:50,304 [Thread-14] DEBUG o.o.c.b.h.h.ControlCommonHandler:81 - HTTP request: GET /favicon.ico [Host: 127.0.0.1:24727, User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0, Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8, Accept-Language: en-US,en;q=0.5, Accept-Encoding: gzip, deflate, Connection: keep-alive]
2016-12-31 18:44:50,304 [Thread-14] DEBUG o.o.c.b.h.h.common.FileHandler:75 - Handle file request
2016-12-31 18:44:50,309 [Thread-14] DEBUG o.o.c.b.h.h.ControlCommonHandler:103 - HTTP response: HTTP/1.1 200  [Content-Type: image/vnd.microsoft.icon; charset=UTF-8] [Content-Type: image/vnd.microsoft.icon; charset=UTF-8,Chunked: false]
2016-12-31 18:44:50,309 [Thread-14] DEBUG o.o.c.b.h.h.ControlCommonHandler:104 - HTTP request handled by: org.openecard.control.binding.http.handler.common.FileHandler

Also available in: Atom PDF