Closed srhinow closed 2 years ago
installiert ist "datana-gmbh/datapool-api" 2.6.0 folgende debug()-code kommt wenn ich den response ausgeben lasse:
[Symfony\Component\HttpClient\Exception\ClientException](http://casemanager.stage.spreefels.local/_profiler/open?file=vendor/symfony/http-client/Exception/ClientException.php&line=21#line21) {[#19653 ▼]() #message: "HTTP/2 405 returned for "https://datapool.datana.rocks/api/login_check"." #code: 405 #file: "[/var/www/g/gansel-rechtsanwaelte.de/casemanager_stage/htdocs/vendor/symfony/http-client/Response/ResponseTrait.php](http://casemanager.stage.spreefels.local/_profiler/open?file=vendor/symfony/http-client/Response/ResponseTrait.php&line=287#line287)" #line: 287 -response: [Symfony\Component\HttpClient\Response\CurlResponse](http://casemanager.stage.spreefels.local/_profiler/open?file=vendor/symfony/http-client/Response/CurlResponse.php&line=28#line28) {[#19645 ▼]() response_headers: array:5 [[▼]() 0 => "HTTP/2 405 " 1 => "date: Wed, 02 Mar 2022 13:56:30 GMT" 2 => "content-type: text/html" 3 => "content-length: 157" 4 => "strict-transport-security: max-age=15724800; includeSubDomains" ] http_code: 405 error: null canceled: false http_method: "POST" user_data: null start_time: 1646229390.0579 redirect_url: null url: "https://datapool.datana.rocks/api/login_check" content_type: "text/html" header_size: 162 request_size: 186 filetime: -1 ssl_verify_result: 0 redirect_count: 0 total_time: 0.280085 namelookup_time: 0.108479 connect_time: 0.153491 pretransfer_time: 0.22016 size_upload: 59.0 size_download: 157.0 speed_download: 560.0 speed_upload: 210.0 download_content_length: 157.0 upload_content_length: 59.0 starttransfer_time: 0.220162 redirect_time: 0.0 primary_ip: "20.82.40.47" certinfo: [] primary_port: 443 local_ip: "192.168.1.56" local_port: 49320 http_version: 3 protocol: 2 ssl_verifyresult: 0 scheme: "HTTPS" appconnect_time_us: 220055 connect_time_us: 153491 namelookup_time_us: 108479 pretransfer_time_us: 220160 redirect_time_us: 0 starttransfer_time_us: 220162 total_time_us: 280085 debug: """ * Trying 20.82.40.47:443... * TCP_NODELAY set * Connected to datapool.datana.rocks (20.82.40.47) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 * ALPN, server accepted to use h2 * Server certificate: * subject: CN=datapool.datana.rocks * start date: Feb 3 15:11:30 2022 GMT * expire date: May 4 15:11:29 2022 GMT * subjectAltName: host "datapool.datana.rocks" matched cert's "datapool.datana.rocks" * issuer: C=US; O=Let's Encrypt; CN=R3 * SSL certificate verify ok. * Using HTTP2, server supports multi-use * Connection state changed (HTTP/2 confirmed) * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 * Using Stream ID: 1 (easy handle 0x559f4a740910) > POST /api/login_check HTTP/2 Host: datapool.datana.rocks content-type: application/json accept: */* content-length: 59 user-agent: Symfony HttpClient/Curl accept-encoding: gzip * We are completely uploaded and fine * old SSL session ID is stale, removing * Connection state changed (MAX_CONCURRENT_STREAMS == 128)! < HTTP/2 405 < date: Wed, 02 Mar 2022 13:56:30 GMT < content-type: text/html < content-length: 157 < strict-transport-security: max-age=15724800; includeSubDomains < * Connection #0 to host datapool.datana.rocks left intact """ …16 } trace: {[▼]() [/var/www/g/gansel-rechtsanwaelte.de/casemanager_stage/htdocs/vendor/symfony/http-client/Response/ResponseTrait.php:287](http://casemanager.stage.spreefels.local/_profiler/open?file=vendor/symfony/http-client/Response/ResponseTrait.php&line=287#line287) {[▶]()} [/var/www/g/gansel-rechtsanwaelte.de/casemanager_stage/htdocs/vendor/symfony/http-client/Response/ResponseTrait.php:103](http://casemanager.stage.spreefels.local/_profiler/open?file=vendor/symfony/http-client/Response/ResponseTrait.php&line=103#line103) {[▶]()} [/var/www/g/gansel-rechtsanwaelte.de/casemanager_stage/htdocs/vendor/symfony/http-client/Response/CurlResponse.php:221](http://casemanager.stage.spreefels.local/_profiler/open?file=vendor/symfony/http-client/Response/CurlResponse.php&line=221#line221) {[▶]()} [/var/www/g/gansel-rechtsanwaelte.de/casemanager_stage/htdocs/vendor/symfony/http-client/Response/ResponseTrait.php:138](http://casemanager.stage.spreefels.local/_profiler/open?file=vendor/symfony/http-client/Response/ResponseTrait.php&line=138#line138) {[▶]()} [/var/www/g/gansel-rechtsanwaelte.de/casemanager_stage/htdocs/vendor/datana-gmbh/datapool-api/src/Domain/Value/Token.php:39](http://casemanager.stage.spreefels.local/_profiler/open?file=vendor/datana-gmbh/datapool-api/src/Domain/Value/Token.php&line=39#line39) {[▶]()} [/var/www/g/gansel-rechtsanwaelte.de/casemanager_stage/htdocs/vendor/datana-gmbh/datapool-api/src/DatapoolClient.php:57](http://casemanager.stage.spreefels.local/_profiler/open?file=vendor/datana-gmbh/datapool-api/src/DatapoolClient.php&line=57#line57) {[▶]()} [/var/www/g/gansel-rechtsanwaelte.de/casemanager_stage/htdocs/vendor/datana-gmbh/datapool-api/src/DatapoolClient.php:88](http://casemanager.stage.spreefels.local/_profiler/open?file=vendor/datana-gmbh/datapool-api/src/DatapoolClient.php&line=88#line88) {[▶]()} [/var/www/g/gansel-rechtsanwaelte.de/casemanager_stage/htdocs/vendor/datana-gmbh/datapool-api/src/AktenApi.php:72](http://casemanager.stage.spreefels.local/_profiler/open?file=vendor/datana-gmbh/datapool-api/src/AktenApi.php&line=72#line72) {[▶]()} [/var/www/g/git_gitlab_spreefels/contao-casemanager/src/Service/Api/DataPoolService.php:78](http://casemanager.stage.spreefels.local/_profiler/open?file=/var/www/g/git_gitlab_spreefels/contao-casemanager/src/Service/Api/DataPoolService.php&line=78#line78) {[▼]() [Spreefels\ContaoCasemanager\Service\Api\DataPoolService->checkAktenzeichenWithFIN($fin)](http://casemanager.stage.spreefels.local/_profiler/open?file=/var/www/g/git_gitlab_spreefels/contao-casemanager/src/Service/Api/DataPoolService.php&line=67#line67) … › $aktenApi = new AktenApi($client); › [ $response = $aktenApi->getByFahrzeugIdentifikationsnummer($fin);](http://casemanager.stage.spreefels.local/_profiler/open?file=/var/www/g/git_gitlab_spreefels/contao-casemanager/src/Service/Api/DataPoolService.php&line=78#line78) › // dump($fin); } [/var/www/g/git_gitlab_spreefels/contao-casemanager/src/Workflow/Action/DataPool/CheckFinAction.php:102](http://casemanager.stage.spreefels.local/_profiler/open?file=/var/www/g/git_gitlab_spreefels/contao-casemanager/src/Workflow/Action/DataPool/CheckFinAction.php&line=102#line102) {[▶]()} [/var/www/g/git_gitlab_spreefels/contao-casemanager/src/Workflow/Action/DataPool/CheckFinAction.php:68](http://casemanager.stage.spreefels.local/_profiler/open?file=/var/www/g/git_gitlab_spreefels/contao-casemanager/src/Workflow/Action/DataPool/CheckFinAction.php&line=68#line68) {[▶]()} [/var/www/g/gansel-rechtsanwaelte.de/casemanager_stage/htdocs/vendor/netzmacht/workflow/src/Flow/Transition.php:493](http://casemanager.stage.spreefels.local/_profiler/open?file=vendor/netzmacht/workflow/src/Flow/Transition.php&line=493#line493) {[▶]()} [/var/www/g/gansel-rechtsanwaelte.de/casemanager_stage/htdocs/vendor/netzmacht/workflow/src/Flow/Transition.php:292](http://casemanager.stage.spreefels.local/_profiler/open?file=vendor/netzmacht/workflow/src/Flow/Transition.php&line=292#line292) {[▶]()} [/var/www/g/gansel-rechtsanwaelte.de/casemanager_stage/htdocs/vendor/netzmacht/workflow/src/Handler/AbstractTransitionHandler.php:210](http://casemanager.stage.spreefels.local/_profiler/open?file=vendor/netzmacht/workflow/src/Handler/AbstractTransitionHandler.php&line=210#line210) {[▶]()} [/var/www/g/gansel-rechtsanwaelte.de/casemanager_stage/htdocs/vendor/netzmacht/workflow/src/Handler/RepositoryBasedTransitionHandler.php:86](http://casemanager.stage.spreefels.local/_profiler/open?file=vendor/netzmacht/workflow/src/Handler/RepositoryBasedTransitionHandler.php&line=86#line86) {[▶]()} [/var/www/g/gansel-rechtsanwaelte.de/casemanager_stage/htdocs/vendor/netzmacht/contao-workflow/src/Controller/Backend/TransitionController.php:91](http://casemanager.stage.spreefels.local/_profiler/open?file=vendor/netzmacht/contao-workflow/src/Controller/Backend/TransitionController.php&line=91#line91) {[▶]()} [/var/www/g/gansel-rechtsanwaelte.de/casemanager_stage/htdocs/vendor/symfony/http-kernel/HttpKernel.php:158](http://casemanager.stage.spreefels.local/_profiler/open?file=vendor/symfony/http-kernel/HttpKernel.php&line=158#line158) {[▶]()} [/var/www/g/gansel-rechtsanwaelte.de/casemanager_stage/htdocs/vendor/symfony/http-kernel/HttpKernel.php:80](http://casemanager.stage.spreefels.local/_profiler/open?file=vendor/symfony/http-kernel/HttpKernel.php&line=80#line80) {[▶]()} [/var/www/g/gansel-rechtsanwaelte.de/casemanager_stage/htdocs/vendor/symfony/http-kernel/Kernel.php:201](http://casemanager.stage.spreefels.local/_profiler/open?file=vendor/symfony/http-kernel/Kernel.php&line=201#line201) {[▶]()} [/var/www/g/gansel-rechtsanwaelte.de/casemanager_stage/htdocs/web/index.php:31](http://casemanager.stage.spreefels.local/_profiler/open?file=web/index.php&line=31#line31) {[▶]()} } }```
sorry war wieder die faslche URL eingestellt da fehlte das api. (https://api.datapool.datana.rocks/) Jetzt kommt nen 200'er
installiert ist "datana-gmbh/datapool-api" 2.6.0 folgende debug()-code kommt wenn ich den response ausgeben lasse: