Closed Nithya-ACAD closed 1 month ago
@Nithya-ACAD , for requests, please add the http request payload. For crashes, please go to the /logs endpoint on the bap-client, bap-network, bpp-network and bpp-client and you will see where the 500 is originating. (Probably bap-client in this case, but still)
Endpoint: POST https://bap-ps-client-sandbox.ueialliance.org/search
Headers:
{
"Authorization": "Bearer
2024-09-13T09:09:01.854Z [test] info: Request from IP address ===> 202.83.29.50 Req From URL==> undefined
2024-09-13T07:20:26.049Z [test] info: Protocol Network Server (Client Settler) recieving message from outbox queue 2024-09-13T07:20:26.052Z [test] info: request: {"context":{"ttl":"PT10M","action":"init","timestamp":"2024-09-13T07:20:25.944Z","message_id":"209ca8b3-aba6-4e3f-b132-65e085938441","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","domain":"ev-charging:uei","version":"1.1.0","bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org"},"message":{"order":{"provider":{"id":"chargezone.in"},"items":[{"id":"pe-charging-01","quantity":{"selected":{"measure":{"value":"4","unit":"kWh"}}},"add_ons":[{"id":"pe-charging-01-addon-1"}]}],"billing":{"name":"John Doe","email":"abc@example.com","phone":"+91-9876522222"},"fulfillments":[{"id":"1","customer":{"person":{"name":"John Doe"},"contact":{"phone":"+91-9887766554"}},"tracking":false}],"type":"DEFAULT"}}} 2024-09-13T07:20:26.053Z [test] info: *-----*** Signing String:==> (created): 1726211966 (expires): 1726215566 digest: BLAKE-512=EayUwqjb/qzlbwHVP+v7iK9qnhcZa4qcCJEEHcixFONucCf1yKZml4sLl/kxyJl2sd29zQuUMUE6Iw5RgUqL9A== *-----***
2024-09-13T07:20:26.054Z [test] info: Axios Config for Request from bap network:==> {"headers":{"authorization":"Signature keyId=\"bap-ps-network-sandbox.ueialliance.org|bap-ps-network-sandbox.ueialliance.org-key|ed25519\",algorithm=\"ed25519\",created=\"1726211966\",expires=\"1726215566\",headers=\"(created) (expires) digest\",signature=\"l2LLeALiEC2xT/ZycjNetyEdPHI3JpeZmiBg4tvVueKGAH3WEMwAeEsBQz3mIoxiSXU8BKuQlznoXjM1cURFCQ==\""},"timeout":3000}
2024-09-13T07:20:26.057Z [test] info: Returning response from Cache at BAP-NETWORK
2024-09-13T07:20:26.057Z [test] info: CachedResponse at BAP-NETWORK: [{"subscriber_id":"bpp-ps-network-sandbox.ueialliance.org","subscriber_url":"https://bpp-ps-network-sandbox.ueialliance.org","type":"BPP","signing_public_key":"2oeAHma7rbIFZBzzJ1PHLrDewaQ5R4Y3TGwjxewfiC8=","valid_until":"2027-07-21T10:17:12.980Z"}] 2024-09-13T07:20:26.058Z [test] info: Attempt Number: 1 Action : init 2024-09-13T07:20:26.058Z [test] info: sending Response to BAP: https://bpp-ps-network-sandbox.ueialliance.org 2024-09-13T07:20:26.058Z [test] info: Response Body: {"context":{"ttl":"PT10M","action":"init","timestamp":"2024-09-13T07:20:25.944Z","message_id":"209ca8b3-aba6-4e3f-b132-65e085938441","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","domain":"ev-charging:uei","version":"1.1.0","bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org"},"message":{"order":{"provider":{"id":"chargezone.in"},"items":[{"id":"pe-charging-01","quantity":{"selected":{"measure":{"value":"4","unit":"kWh"}}},"add_ons":[{"id":"pe-charging-01-addon-1"}]}],"billing":{"name":"John Doe","email":"abc@example.com","phone":"+91-9876522222"},"fulfillments":[{"id":"1","customer":{"person":{"name":"John Doe"},"contact":{"phone":"+91-9887766554"}},"tracking":false}],"type":"DEFAULT"}}} 2024-09-13T07:20:26.211Z [test] info: Result : Request Successful Status: 202 Data : {"context":{"ttl":"PT10M","action":"init","timestamp":"2024-09-13T07:20:25.944Z","message_id":"209ca8b3-aba6-4e3f-b132-65e085938441","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","domain":"ev-charging:uei","version":"1.1.0","bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org"},"message":{"ack":{"status":"ACK"}}} Subscriber URL: https://bpp-ps-network-sandbox.ueialliance.org 2024-09-13T07:20:26.537Z [test] info: Request from IP address ===> 3.111.103.38 Req From URL==> undefined
2024-09-13T07:20:26.541Z [test] info: New Request txn_id 6743e9e2-4fb5-487c-92b7-13ba8018f176 2024-09-13T07:20:26.541Z [test] info: Request from BAP NETWORK {"context":{"domain":"ev-charging:uei","action":"on_init","version":"1.1.0","bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org","country":"IND","city":"std:080","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","message_id":"209ca8b3-aba6-4e3f-b132-65e085938441","ttl":"PT10M","timestamp":"2024-09-13T07:20:26.428Z"},"message":{"order":{"providers":{"id":"chargezone.in","descriptor":{"name":"Chargezone","short_desc":"Chargezone Technologies Pvt Ltd","images":[{"url":"https://chargezone.in/images/logo.png"}]}},"items":[{"id":"pe-charging-01","descriptor":{"code":"energy"},"price":{"value":"8","currency":"INR/kWH"},"quantity":{"available":{"measure":{"value":"100","unit":"kWh"}},"selected":{"measure":{"value":"4","unit":"kWh"}}},"add_ons":[{"id":"pe-charging-01-addon-1","descriptor":{"code":"add-on-item","name":"Free car wash"},"price":{"value":"0","currency":"INR"}}]}],"fulfillments":[{"id":"1","customer":{"person":{"name":"John Doe"},"contact":{"phone":"+91-9887766554"}},"type":"CHARGING","state":{"descriptor":{"code":"order-initiated"}},"stops":[{"type":"start","time":{"timestamp":"2023-06-01T10:00:00.000Z"}},{"type":"end","time":{"timestamp":"2023-06-01T10:30:00.000Z"}}],"tags":[{"descriptor":{"name":"Charging Point"},"list":[{"descriptor":{"name":"Charger type"},"value":"AC"},{"descriptor":{"name":"Connector type"},"value":"CCS2"},{"descriptor":{"name":"Power Rating"},"value":"greater than 50kW"},{"descriptor":{"name":"Availability"},"value":"Available"}],"display":true}],"tracking":false}],"billing":{"email":"abc@example.com","number":"+91-9876522222"},"quote":{"price":{"value":"32","currency":"INR"},"breakup":[{"item":{"descriptor":{"name":"Estimated units consumed"},"quantity":{"selected":{"measure":{"value":"4","unit":"kWh"}}}},"price":{"value":"32","currency":"INR"}}]},"payments":[{"url":"https://payment.gateway.in","type":"PRE-ORDER","status":"NOT-PAID","params":{"amount":"40","currency":"INR"},"time":{"range":{"start":"2023-08-10T10:00:00Z","end":"2023-08-10T10:30:00Z"}}}],"cancellation_terms":[{"fulfillment_state":{"descriptor":{"code":"charging-start"}},"cancellation_fee":{"percentage":"30%"},"external_ref":{"mimetype":"text/html","url":"https://chargezone.in/charge/tnc.html"}}],"type":"DEFAULT"}}} 2024-09-13T07:20:26.542Z [test] info: Header recieved from bpp: "Signature keyId=\"bpp-ps-network-sandbox.ueialliance.org|bpp-ps-network-sandbox.ueialliance.org-key|ed25519\",algorithm=\"ed25519\",created=\"1726211966\",expires=\"1726215566\",headers=\"(created) (expires) digest\",signature=\"Ldm/htDosbm5aWDgNMWy905moaudnlrqFjou6SzjBquzWUHwa2S1YWviT3C7HFNz5v+fZe+ddy35LZCylWloAw==\"" 2024-09-13T07:20:26.546Z [test] info: Returning response from Cache at BAP-NETWORK
2024-09-13T07:20:26.546Z [test] info: CachedResponse at BAP-NETWORK: [{"subscriber_id":"bpp-ps-network-sandbox.ueialliance.org","subscriber_url":"https://bpp-ps-network-sandbox.ueialliance.org","type":"BPP","signing_public_key":"2oeAHma7rbIFZBzzJ1PHLrDewaQ5R4Y3TGwjxewfiC8=","valid_until":"2027-07-21T10:17:12.980Z"}] 2024-09-13T07:20:26.547Z [test] info: Cache found for spec schemas/core_1.1.0.yaml 2024-09-13T07:20:26.629Z [test] info: response from bpp: {"context":{"domain":"ev-charging:uei","action":"on_init","version":"1.1.0","bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org","country":"IND","city":"std:080","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","message_id":"209ca8b3-aba6-4e3f-b132-65e085938441","ttl":"PT10M","timestamp":"2024-09-13T07:20:26.428Z"},"message":{"order":{"providers":{"id":"chargezone.in","descriptor":{"name":"Chargezone","short_desc":"Chargezone Technologies Pvt Ltd","images":[{"url":"https://chargezone.in/images/logo.png"}]}},"items":[{"id":"pe-charging-01","descriptor":{"code":"energy"},"price":{"value":"8","currency":"INR/kWH"},"quantity":{"available":{"measure":{"value":"100","unit":"kWh"}},"selected":{"measure":{"value":"4","unit":"kWh"}}},"add_ons":[{"id":"pe-charging-01-addon-1","descriptor":{"code":"add-on-item","name":"Free car wash"},"price":{"value":"0","currency":"INR"}}]}],"fulfillments":[{"id":"1","customer":{"person":{"name":"John Doe"},"contact":{"phone":"+91-9887766554"}},"type":"CHARGING","state":{"descriptor":{"code":"order-initiated"}},"stops":[{"type":"start","time":{"timestamp":"2023-06-01T10:00:00.000Z"}},{"type":"end","time":{"timestamp":"2023-06-01T10:30:00.000Z"}}],"tags":[{"descriptor":{"name":"Charging Point"},"list":[{"descriptor":{"name":"Charger type"},"value":"AC"},{"descriptor":{"name":"Connector type"},"value":"CCS2"},{"descriptor":{"name":"Power Rating"},"value":"greater than 50kW"},{"descriptor":{"name":"Availability"},"value":"Available"}],"display":true}],"tracking":false}],"billing":{"email":"abc@example.com","number":"+91-9876522222"},"quote":{"price":{"value":"32","currency":"INR"},"breakup":[{"item":{"descriptor":{"name":"Estimated units consumed"},"quantity":{"selected":{"measure":{"value":"4","unit":"kWh"}}}},"price":{"value":"32","currency":"INR"}}]},"payments":[{"url":"https://payment.gateway.in","type":"PRE-ORDER","status":"NOT-PAID","params":{"amount":"40","currency":"INR"},"time":{"range":{"start":"2023-08-10T10:00:00Z","end":"2023-08-10T10:30:00Z"}}}],"cancellation_terms":[{"fulfillment_state":{"descriptor":{"code":"charging-start"}},"cancellation_fee":{"percentage":"30%"},"external_ref":{"mimetype":"text/html","url":"https://chargezone.in/charge/tnc.html"}}],"type":"DEFAULT"}}} 2024-09-13T07:20:26.631Z [test] info: Sending ACK to BPP for Context: {"domain":"ev-charging:uei","action":"on_init","version":"1.1.0","bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org","country":"IND","city":"std:080","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","message_id":"209ca8b3-aba6-4e3f-b132-65e085938441","ttl":"PT10M","timestamp":"2024-09-13T07:20:26.428Z"}
2024-09-13T07:20:26.633Z [test] info: Sending response from BPP to inbox queue 2024-09-13T07:20:26.633Z [test] info: response: {"context":{"domain":"ev-charging:uei","action":"on_init","version":"1.1.0","bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org","country":"IND","city":"std:080","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","message_id":"209ca8b3-aba6-4e3f-b132-65e085938441","ttl":"PT10M","timestamp":"2024-09-13T07:20:26.428Z"},"message":{"order":{"providers":{"id":"chargezone.in","descriptor":{"name":"Chargezone","short_desc":"Chargezone Technologies Pvt Ltd","images":[{"url":"https://chargezone.in/images/logo.png"}]}},"items":[{"id":"pe-charging-01","descriptor":{"code":"energy"},"price":{"value":"8","currency":"INR/kWH"},"quantity":{"available":{"measure":{"value":"100","unit":"kWh"}},"selected":{"measure":{"value":"4","unit":"kWh"}}},"add_ons":[{"id":"pe-charging-01-addon-1","descriptor":{"code":"add-on-item","name":"Free car wash"},"price":{"value":"0","currency":"INR"}}]}],"fulfillments":[{"id":"1","customer":{"person":{"name":"John Doe"},"contact":{"phone":"+91-9887766554"}},"type":"CHARGING","state":{"descriptor":{"code":"order-initiated"}},"stops":[{"type":"start","time":{"timestamp":"2023-06-01T10:00:00.000Z"}},{"type":"end","time":{"timestamp":"2023-06-01T10:30:00.000Z"}}],"tags":[{"descriptor":{"name":"Charging Point"},"list":[{"descriptor":{"name":"Charger type"},"value":"AC"},{"descriptor":{"name":"Connector type"},"value":"CCS2"},{"descriptor":{"name":"Power Rating"},"value":"greater than 50kW"},{"descriptor":{"name":"Availability"},"value":"Available"}],"display":true}],"tracking":false}],"billing":{"email":"abc@example.com","number":"+91-9876522222"},"quote":{"price":{"value":"32","currency":"INR"},"breakup":[{"item":{"descriptor":{"name":"Estimated units consumed"},"quantity":{"selected":{"measure":{"value":"4","unit":"kWh"}}}},"price":{"value":"32","currency":"INR"}}]},"payments":[{"url":"https://payment.gateway.in","type":"PRE-ORDER","status":"NOT-PAID","params":{"amount":"40","currency":"INR"},"time":{"range":{"start":"2023-08-10T10:00:00Z","end":"2023-08-10T10:30:00Z"}}}],"cancellation_terms":[{"fulfillment_state":{"descriptor":{"code":"charging-start"}},"cancellation_fee":{"percentage":"30%"},"external_ref":{"mimetype":"text/html","url":"https://chargezone.in/charge/tnc.html"}}],"type":"DEFAULT"}}} 2024-09-13T07:25:58.699Z [test] info: Protocol Network Server (Client Settler) recieving message from outbox queue 2024-09-13T07:25:58.700Z [test] info: request: {"context":{"ttl":"PT10M","action":"init","timestamp":"2024-09-13T07:25:58.599Z","message_id":"2795e94c-4676-4aa8-bf7d-644520be6bf9","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","domain":"ev-charging:uei","version":"1.1.0","bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org"},"message":{"order":{"provider":{"id":"chargezone.in"},"items":[{"id":"pe-charging-01","quantity":{"selected":{"measure":{"value":"4","unit":"kWh"}}},"add_ons":[{"id":"pe-charging-01-addon-1"}]}],"billing":{"name":"John Doe","email":"abc@example.com","phone":"+91-9876522222"},"fulfillments":[{"id":"1","customer":{"person":{"name":"John Doe"},"contact":{"phone":"+91-9887766554"}},"tracking":false}],"type":"DEFAULT"}}} 2024-09-13T07:25:58.701Z [test] info: *-----*** Signing String:==> (created): 1726212298 (expires): 1726215898 digest: BLAKE-512=BBkQYdcfeFd//ndTS/lqe6gF2LnYgUEa55guLL0kY0acmUFaizlMmJVPD0AQtwqUPp5W579ylGvlCPp2EP6msA== *-----***
2024-09-13T07:25:58.701Z [test] info: Axios Config for Request from bap network:==> {"headers":{"authorization":"Signature keyId=\"bap-ps-network-sandbox.ueialliance.org|bap-ps-network-sandbox.ueialliance.org-key|ed25519\",algorithm=\"ed25519\",created=\"1726212298\",expires=\"1726215898\",headers=\"(created) (expires) digest\",signature=\"LMG37H0hznr6sOgex/A3YTp0bxEZu78Q/9duhmG6MoMuwx1tCFCy8GKmqKT/QQkWpLG6OQjyeJHqfNx1OjwYCQ==\""},"timeout":3000}
2024-09-13T07:25:58.704Z [test] info: Returning response from Cache at BAP-NETWORK
2024-09-13T07:25:58.704Z [test] info: CachedResponse at BAP-NETWORK: [{"subscriber_id":"bpp-ps-network-sandbox.ueialliance.org","subscriber_url":"https://bpp-ps-network-sandbox.ueialliance.org","type":"BPP","signing_public_key":"2oeAHma7rbIFZBzzJ1PHLrDewaQ5R4Y3TGwjxewfiC8=","valid_until":"2027-07-21T10:17:12.980Z"}] 2024-09-13T07:25:58.705Z [test] info: Attempt Number: 1 Action : init 2024-09-13T07:25:58.705Z [test] info: sending Response to BAP: https://bpp-ps-network-sandbox.ueialliance.org 2024-09-13T07:25:58.705Z [test] info: Response Body: {"context":{"ttl":"PT10M","action":"init","timestamp":"2024-09-13T07:25:58.599Z","message_id":"2795e94c-4676-4aa8-bf7d-644520be6bf9","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","domain":"ev-charging:uei","version":"1.1.0","bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org"},"message":{"order":{"provider":{"id":"chargezone.in"},"items":[{"id":"pe-charging-01","quantity":{"selected":{"measure":{"value":"4","unit":"kWh"}}},"add_ons":[{"id":"pe-charging-01-addon-1"}]}],"billing":{"name":"John Doe","email":"abc@example.com","phone":"+91-9876522222"},"fulfillments":[{"id":"1","customer":{"person":{"name":"John Doe"},"contact":{"phone":"+91-9887766554"}},"tracking":false}],"type":"DEFAULT"}}} 2024-09-13T07:25:58.863Z [test] info: Result : Request Successful Status: 202 Data : {"context":{"ttl":"PT10M","action":"init","timestamp":"2024-09-13T07:25:58.599Z","message_id":"2795e94c-4676-4aa8-bf7d-644520be6bf9","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","domain":"ev-charging:uei","version":"1.1.0","bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org"},"message":{"ack":{"status":"ACK"}}} Subscriber URL: https://bpp-ps-network-sandbox.ueialliance.org 2024-09-13T07:25:59.070Z [test] info: Request from IP address ===> 3.111.103.38 Req From URL==> undefined
2024-09-13T07:25:59.072Z [test] info: New Request txn_id 6743e9e2-4fb5-487c-92b7-13ba8018f176 2024-09-13T07:25:59.073Z [test] info: Request from BAP NETWORK {"context":{"domain":"ev-charging:uei","action":"on_init","version":"1.1.0","bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org","country":"IND","city":"std:080","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","message_id":"2795e94c-4676-4aa8-bf7d-644520be6bf9","ttl":"PT10M","timestamp":"2024-09-13T07:25:58.951Z"},"message":{"order":{"providers":{"id":"chargezone.in","descriptor":{"name":"Chargezone","short_desc":"Chargezone Technologies Pvt Ltd","images":[{"url":"https://chargezone.in/images/logo.png"}]}},"items":[{"id":"pe-charging-01","descriptor":{"code":"energy"},"price":{"value":"8","currency":"INR/kWH"},"quantity":{"available":{"measure":{"value":"100","unit":"kWh"}},"selected":{"measure":{"value":"4","unit":"kWh"}}},"add_ons":[{"id":"pe-charging-01-addon-1","descriptor":{"code":"add-on-item","name":"Free car wash"},"price":{"value":"0","currency":"INR"}}]}],"fulfillments":[{"id":"1","customer":{"person":{"name":"John Doe"},"contact":{"phone":"+91-9887766554"}},"type":"CHARGING","state":{"descriptor":{"code":"order-initiated"}},"stops":[{"type":"start","time":{"timestamp":"2023-06-01T10:00:00.000Z"}},{"type":"end","time":{"timestamp":"2023-06-01T10:30:00.000Z"}}],"tags":[{"descriptor":{"name":"Charging Point"},"list":[{"descriptor":{"name":"Charger type"},"value":"AC"},{"descriptor":{"name":"Connector type"},"value":"CCS2"},{"descriptor":{"name":"Power Rating"},"value":"greater than 50kW"},{"descriptor":{"name":"Availability"},"value":"Available"}],"display":true}],"tracking":false}],"billing":{"email":"abc@example.com","number":"+91-9876522222"},"quote":{"price":{"value":"32","currency":"INR"},"breakup":[{"item":{"descriptor":{"name":"Estimated units consumed"},"quantity":{"selected":{"measure":{"value":"4","unit":"kWh"}}}},"price":{"value":"32","currency":"INR"}}]},"payments":[{"url":"https://payment.gateway.in","type":"PRE-ORDER","status":"NOT-PAID","params":{"amount":"40","currency":"INR"},"time":{"range":{"start":"2023-08-10T10:00:00Z","end":"2023-08-10T10:30:00Z"}}}],"cancellation_terms":[{"fulfillment_state":{"descriptor":{"code":"charging-start"}},"cancellation_fee":{"percentage":"30%"},"external_ref":{"mimetype":"text/html","url":"https://chargezone.in/charge/tnc.html"}}],"type":"DEFAULT"}}} 2024-09-13T07:25:59.073Z [test] info: Header recieved from bpp: "Signature keyId=\"bpp-ps-network-sandbox.ueialliance.org|bpp-ps-network-sandbox.ueialliance.org-key|ed25519\",algorithm=\"ed25519\",created=\"1726212299\",expires=\"1726215899\",headers=\"(created) (expires) digest\",signature=\"yckgZ4k6I9oXfkxUWv57ReaSUFsELL36swrOjdnzsnlXjF5/tjkKce4qkgqpQDf6m/QQ8DwrhcgnGIJSACIYCw==\"" 2024-09-13T07:25:59.077Z [test] info: Returning response from Cache at BAP-NETWORK
2024-09-13T07:25:59.077Z [test] info: CachedResponse at BAP-NETWORK: [{"subscriber_id":"bpp-ps-network-sandbox.ueialliance.org","subscriber_url":"https://bpp-ps-network-sandbox.ueialliance.org","type":"BPP","signing_public_key":"2oeAHma7rbIFZBzzJ1PHLrDewaQ5R4Y3TGwjxewfiC8=","valid_until":"2027-07-21T10:17:12.980Z"}] 2024-09-13T07:25:59.078Z [test] info: Cache found for spec schemas/core_1.1.0.yaml 2024-09-13T07:25:59.159Z [test] info: response from bpp: {"context":{"domain":"ev-charging:uei","action":"on_init","version":"1.1.0","bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org","country":"IND","city":"std:080","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","message_id":"2795e94c-4676-4aa8-bf7d-644520be6bf9","ttl":"PT10M","timestamp":"2024-09-13T07:25:58.951Z"},"message":{"order":{"providers":{"id":"chargezone.in","descriptor":{"name":"Chargezone","short_desc":"Chargezone Technologies Pvt Ltd","images":[{"url":"https://chargezone.in/images/logo.png"}]}},"items":[{"id":"pe-charging-01","descriptor":{"code":"energy"},"price":{"value":"8","currency":"INR/kWH"},"quantity":{"available":{"measure":{"value":"100","unit":"kWh"}},"selected":{"measure":{"value":"4","unit":"kWh"}}},"add_ons":[{"id":"pe-charging-01-addon-1","descriptor":{"code":"add-on-item","name":"Free car wash"},"price":{"value":"0","currency":"INR"}}]}],"fulfillments":[{"id":"1","customer":{"person":{"name":"John Doe"},"contact":{"phone":"+91-9887766554"}},"type":"CHARGING","state":{"descriptor":{"code":"order-initiated"}},"stops":[{"type":"start","time":{"timestamp":"2023-06-01T10:00:00.000Z"}},{"type":"end","time":{"timestamp":"2023-06-01T10:30:00.000Z"}}],"tags":[{"descriptor":{"name":"Charging Point"},"list":[{"descriptor":{"name":"Charger type"},"value":"AC"},{"descriptor":{"name":"Connector type"},"value":"CCS2"},{"descriptor":{"name":"Power Rating"},"value":"greater than 50kW"},{"descriptor":{"name":"Availability"},"value":"Available"}],"display":true}],"tracking":false}],"billing":{"email":"abc@example.com","number":"+91-9876522222"},"quote":{"price":{"value":"32","currency":"INR"},"breakup":[{"item":{"descriptor":{"name":"Estimated units consumed"},"quantity":{"selected":{"measure":{"value":"4","unit":"kWh"}}}},"price":{"value":"32","currency":"INR"}}]},"payments":[{"url":"https://payment.gateway.in","type":"PRE-ORDER","status":"NOT-PAID","params":{"amount":"40","currency":"INR"},"time":{"range":{"start":"2023-08-10T10:00:00Z","end":"2023-08-10T10:30:00Z"}}}],"cancellation_terms":[{"fulfillment_state":{"descriptor":{"code":"charging-start"}},"cancellation_fee":{"percentage":"30%"},"external_ref":{"mimetype":"text/html","url":"https://chargezone.in/charge/tnc.html"}}],"type":"DEFAULT"}}} 2024-09-13T07:25:59.161Z [test] info: Sending ACK to BPP for Context: {"domain":"ev-charging:uei","action":"on_init","version":"1.1.0","bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org","country":"IND","city":"std:080","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","message_id":"2795e94c-4676-4aa8-bf7d-644520be6bf9","ttl":"PT10M","timestamp":"2024-09-13T07:25:58.951Z"}
2024-09-13T07:25:59.163Z [test] info: Sending response from BPP to inbox queue 2024-09-13T07:25:59.163Z [test] info: response: {"context":{"domain":"ev-charging:uei","action":"on_init","version":"1.1.0","bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org","country":"IND","city":"std:080","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","message_id":"2795e94c-4676-4aa8-bf7d-644520be6bf9","ttl":"PT10M","timestamp":"2024-09-13T07:25:58.951Z"},"message":{"order":{"providers":{"id":"chargezone.in","descriptor":{"name":"Chargezone","short_desc":"Chargezone Technologies Pvt Ltd","images":[{"url":"https://chargezone.in/images/logo.png"}]}},"items":[{"id":"pe-charging-01","descriptor":{"code":"energy"},"price":{"value":"8","currency":"INR/kWH"},"quantity":{"available":{"measure":{"value":"100","unit":"kWh"}},"selected":{"measure":{"value":"4","unit":"kWh"}}},"add_ons":[{"id":"pe-charging-01-addon-1","descriptor":{"code":"add-on-item","name":"Free car wash"},"price":{"value":"0","currency":"INR"}}]}],"fulfillments":[{"id":"1","customer":{"person":{"name":"John Doe"},"contact":{"phone":"+91-9887766554"}},"type":"CHARGING","state":{"descriptor":{"code":"order-initiated"}},"stops":[{"type":"start","time":{"timestamp":"2023-06-01T10:00:00.000Z"}},{"type":"end","time":{"timestamp":"2023-06-01T10:30:00.000Z"}}],"tags":[{"descriptor":{"name":"Charging Point"},"list":[{"descriptor":{"name":"Charger type"},"value":"AC"},{"descriptor":{"name":"Connector type"},"value":"CCS2"},{"descriptor":{"name":"Power Rating"},"value":"greater than 50kW"},{"descriptor":{"name":"Availability"},"value":"Available"}],"display":true}],"tracking":false}],"billing":{"email":"abc@example.com","number":"+91-9876522222"},"quote":{"price":{"value":"32","currency":"INR"},"breakup":[{"item":{"descriptor":{"name":"Estimated units consumed"},"quantity":{"selected":{"measure":{"value":"4","unit":"kWh"}}}},"price":{"value":"32","currency":"INR"}}]},"payments":[{"url":"https://payment.gateway.in","type":"PRE-ORDER","status":"NOT-PAID","params":{"amount":"40","currency":"INR"},"time":{"range":{"start":"2023-08-10T10:00:00Z","end":"2023-08-10T10:30:00Z"}}}],"cancellation_terms":[{"fulfillment_state":{"descriptor":{"code":"charging-start"}},"cancellation_fee":{"percentage":"30%"},"external_ref":{"mimetype":"text/html","url":"https://chargezone.in/charge/tnc.html"}}],"type":"DEFAULT"}}} 2024-09-13T07:40:23.140Z [test] info: Protocol Network Server (Client Settler) recieving message from outbox queue 2024-09-13T07:40:23.140Z [test] info: request: {"context":{"ttl":"PT10M","action":"search","timestamp":"2024-09-13T07:40:23.052Z","message_id":"54545b07-d2d0-4f43-a83b-9803f957ebfc","transaction_id":"0aea0027-803c-44f3-89ae-0420c2a26752","domain":"ev-charging:uei","version":"1.1.0","bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","location":{"country":{"code":"IND"},"city":{"code":"std:080"}}},"message":{"intent":{"descriptor":{"name":""},"fulfillment":{"stops":[{"location":{"circle":{"gps":"12.423423,77.325647","radius":{"type":"CONSTANT","value":"5","unit":"km"}}}}],"tracking":false},"tags":[{"descriptor":{"name":"Connector Types","code":"connector-types"},"list":[{"descriptor":{"name":"CCS2","code":"CCS2"},"value":"CCS2"}],"display":true}]}}} 2024-09-13T07:40:23.142Z [test] info: *-----*** Signing String:==> (created): 1726213163 (expires): 1726216763 digest: BLAKE-512=HVRtizL0cZSHYvyNPMHG/iUKHzdnIEvYUieEJdycSWcNn4hgWLNoNNGIiLfFXl7ZlPL3dR66VbbIOemMGmTbCA== *-----***
2024-09-13T07:40:23.142Z [test] info: Axios Config for Request from bap network:==> {"headers":{"authorization":"Signature keyId=\"bap-ps-network-sandbox.ueialliance.org|bap-ps-network-sandbox.ueialliance.org-key|ed25519\",algorithm=\"ed25519\",created=\"1726213163\",expires=\"1726216763\",headers=\"(created) (expires) digest\",signature=\"rtJPi4P23IGk1B037cqXyy0onsENjjmGlgei8/uvI8wXju38hiH4SzztrW0RZn+Gt3puSGuAvvB5mmU+4ktkCQ==\""},"timeout":3000}
2024-09-13T07:40:23.145Z [test] info: Looking Up in registry from BAP-NETWORK...! to URL:https://registry-sandbox.ueialliance.org/subscribers/lookup Payload:{"type":"BG","domain":"ev-charging:uei"}
2024-09-13T07:40:23.222Z [test] info: Subscriber list at BAP-NETWORK: [{"subscriber_id":"gateway-sandbox.ueialliance.org","subscriber_url":"https://gateway-sandbox.ueialliance.org/bg","type":"BG","signing_public_key":"8ccP/EEWerm0UR84j3AJZ4bn8BpoZwS+qHM62hZqrOs=","valid_until":"2034-07-27T13:56:42.000Z"}] 2024-09-13T07:40:23.222Z [test] info: Attempt Number: 1 Action : search 2024-09-13T07:40:23.222Z [test] info: sending Response to BAP: https://gateway-sandbox.ueialliance.org/bg 2024-09-13T07:40:23.223Z [test] info: Response Body: {"context":{"ttl":"PT10M","action":"search","timestamp":"2024-09-13T07:40:23.052Z","message_id":"54545b07-d2d0-4f43-a83b-9803f957ebfc","transaction_id":"0aea0027-803c-44f3-89ae-0420c2a26752","domain":"ev-charging:uei","version":"1.1.0","bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","location":{"country":{"code":"IND"},"city":{"code":"std:080"}}},"message":{"intent":{"descriptor":{"name":""},"fulfillment":{"stops":[{"location":{"circle":{"gps":"12.423423,77.325647","radius":{"type":"CONSTANT","value":"5","unit":"km"}}}}],"tracking":false},"tags":[{"descriptor":{"name":"Connector Types","code":"connector-types"},"list":[{"descriptor":{"name":"CCS2","code":"CCS2"},"value":"CCS2"}],"display":true}]}}} 2024-09-13T07:40:23.240Z [test] info: Result : Request Successful Status: 200 Data : {"context":{"transaction_id":"0aea0027-803c-44f3-89ae-0420c2a26752","domain":"ev-charging:uei","action":"search","message_id":"54545b07-d2d0-4f43-a83b-9803f957ebfc","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"ttl":"PT10M","version":"1.1.0","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","timestamp":"2024-09-13T07:40:23.052Z","bap_id":"bap-ps-network-sandbox.ueialliance.org"},"error":{"code":"java.security.InvalidKeyException: cannot identify EdDSA public key","message":"java.lang.RuntimeException: java.security.InvalidKeyException: cannot identify EdDSA public key\n\tat com.venky.core.security.Crypt.verifySignature(Crypt.java:123)\n\tat in.succinct.beckn.Request.verifySignature(Request.java:215)\n\tat in.succinct.beckn.Request.verifySignature(Request.java:116)\n\tat in.succinct.beckn.Request.verifySignature(Request.java:120)\n\tat in.succinct.beckn.gateway.controller.BgController.act(BgController.java:165)\n\tat in.succinct.beckn.gateway.controller.BgController.search(BgController.java:263)\n\tat jdk.internal.reflect.GeneratedMethodAccessor993.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:568)\n\tat com.venky.swf.path.Path.invoke(Path.java:1053)\n\tat com.venky.swf.plugins.background.eventloop.jetty.HttpCoreEvent$1.handle(HttpCoreEvent.java:93)\n\tat com.venky.swf.plugins.background.eventloop.jetty.HttpCoreEvent$1.execute(HttpCoreEvent.java:81)\n\tat com.venky.swf.plugins.background.eventloop.CoreEvent.execute(CoreEvent.java:90)\n\tat com.venky.swf.plugins.background.core.AsyncTaskWorker.run(AsyncTaskWorker.java:41)\nCaused by: java.security.InvalidKeyException: cannot identify EdDSA public key\n\tat org.bouncycastle.jcajce.provider.asymmetric.edec.SignatureSpi.getLwEdDSAKeyPublic(Unknown Source)\n\tat org.bouncycastle.jcajce.provider.asymmetric.edec.SignatureSpi.engineInitVerify(Unknown Source)\n\tat java.base/java.security.Signature$Delegate.engineInitVerify(Signature.java:1346)\n\tat java.base/java.security.Signature.initVerify(Signature.java:506)\n\tat com.venky.core.security.Crypt.verifySignature(Crypt.java:119)\n\t... 13 more\n"}} Subscriber URL: https://gateway-sandbox.ueialliance.org/bg 2024-09-13T07:41:20.662Z [test] info: Protocol Network Server (Client Settler) recieving message from outbox queue 2024-09-13T07:41:20.663Z [test] info: request: {"context":{"ttl":"PT10M","action":"search","timestamp":"2024-09-13T07:41:20.584Z","message_id":"52a1ee5e-e935-43fe-9b81-7cd29dfc2e74","transaction_id":"9dbda64e-b4cc-4578-8f63-60d849baf71e","domain":"ev-charging:uei","version":"1.1.0","bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","location":{"country":{"code":"IND"},"city":{"code":"std:080"}}},"message":{"intent":{"descriptor":{"name":""},"fulfillment":{"stops":[{"location":{"circle":{"gps":"12.423423,77.325647","radius":{"type":"CONSTANT","value":"5","unit":"km"}}}}],"tracking":false},"tags":[{"descriptor":{"name":"Connector Types","code":"connector-types"},"list":[{"descriptor":{"name":"CCS2","code":"CCS2"},"value":"CCS2"}],"display":true}]}}} 2024-09-13T07:41:20.664Z [test] info: *-----*** Signing String:==> (created): 1726213220 (expires): 1726216820 digest: BLAKE-512=l74KQYno28ao8iaHC4/xj+xEWLLZj1AteXprtmlR6CaoLzXdVJ21cVvr62GjrVmL94hZkZ41sXcVFWnDAMCDHw== *-----***
2024-09-13T07:41:20.665Z [test] info: Axios Config for Request from bap network:==> {"headers":{"authorization":"Signature keyId=\"bap-ps-network-sandbox.ueialliance.org|bap-ps-network-sandbox.ueialliance.org-key|ed25519\",algorithm=\"ed25519\",created=\"1726213220\",expires=\"1726216820\",headers=\"(created) (expires) digest\",signature=\"5B/p+P2MgWxNtO4wSdNPLJ8lK0615JPqYL9hl8GJZS5tA2WqdZWNpjBFtud5uK7vDPvYFONfzrDWpwmZKVGwDQ==\""},"timeout":3000}
2024-09-13T07:41:20.668Z [test] info: Returning response from Cache at BAP-NETWORK
2024-09-13T07:41:20.668Z [test] info: CachedResponse at BAP-NETWORK: [{"subscriber_id":"gateway-sandbox.ueialliance.org","subscriber_url":"https://gateway-sandbox.ueialliance.org/bg","type":"BG","signing_public_key":"8ccP/EEWerm0UR84j3AJZ4bn8BpoZwS+qHM62hZqrOs=","valid_until":"2034-07-27T13:56:42.000Z"}] 2024-09-13T07:41:20.668Z [test] info: Attempt Number: 1 Action : search 2024-09-13T07:41:20.668Z [test] info: sending Response to BAP: https://gateway-sandbox.ueialliance.org/bg 2024-09-13T07:41:20.669Z [test] info: Response Body: {"context":{"ttl":"PT10M","action":"search","timestamp":"2024-09-13T07:41:20.584Z","message_id":"52a1ee5e-e935-43fe-9b81-7cd29dfc2e74","transaction_id":"9dbda64e-b4cc-4578-8f63-60d849baf71e","domain":"ev-charging:uei","version":"1.1.0","bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","location":{"country":{"code":"IND"},"city":{"code":"std:080"}}},"message":{"intent":{"descriptor":{"name":""},"fulfillment":{"stops":[{"location":{"circle":{"gps":"12.423423,77.325647","radius":{"type":"CONSTANT","value":"5","unit":"km"}}}}],"tracking":false},"tags":[{"descriptor":{"name":"Connector Types","code":"connector-types"},"list":[{"descriptor":{"name":"CCS2","code":"CCS2"},"value":"CCS2"}],"display":true}]}}} 2024-09-13T07:41:20.686Z [test] info: Result : Request Successful Status: 200 Data : {"context":{"transaction_id":"9dbda64e-b4cc-4578-8f63-60d849baf71e","domain":"ev-charging:uei","action":"search","message_id":"52a1ee5e-e935-43fe-9b81-7cd29dfc2e74","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"ttl":"PT10M","version":"1.1.0","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","timestamp":"2024-09-13T07:41:20.584Z","bap_id":"bap-ps-network-sandbox.ueialliance.org"},"error":{"code":"java.security.InvalidKeyException: cannot identify EdDSA public key","message":"java.lang.RuntimeException: java.security.InvalidKeyException: cannot identify EdDSA public key\n\tat com.venky.core.security.Crypt.verifySignature(Crypt.java:123)\n\tat in.succinct.beckn.Request.verifySignature(Request.java:215)\n\tat in.succinct.beckn.Request.verifySignature(Request.java:116)\n\tat in.succinct.beckn.Request.verifySignature(Request.java:120)\n\tat in.succinct.beckn.gateway.controller.BgController.act(BgController.java:165)\n\tat in.succinct.beckn.gateway.controller.BgController.search(BgController.java:263)\n\tat jdk.internal.reflect.GeneratedMethodAccessor993.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:568)\n\tat com.venky.swf.path.Path.invoke(Path.java:1053)\n\tat com.venky.swf.plugins.background.eventloop.jetty.HttpCoreEvent$1.handle(HttpCoreEvent.java:93)\n\tat com.venky.swf.plugins.background.eventloop.jetty.HttpCoreEvent$1.execute(HttpCoreEvent.java:81)\n\tat com.venky.swf.plugins.background.eventloop.CoreEvent.execute(CoreEvent.java:90)\n\tat com.venky.swf.plugins.background.core.AsyncTaskWorker.run(AsyncTaskWorker.java:41)\nCaused by: java.security.InvalidKeyException: cannot identify EdDSA public key\n\tat org.bouncycastle.jcajce.provider.asymmetric.edec.SignatureSpi.getLwEdDSAKeyPublic(Unknown Source)\n\tat org.bouncycastle.jcajce.provider.asymmetric.edec.SignatureSpi.engineInitVerify(Unknown Source)\n\tat java.base/java.security.Signature$Delegate.engineInitVerify(Signature.java:1346)\n\tat java.base/java.security.Signature.initVerify(Signature.java:506)\n\tat com.venky.core.security.Crypt.verifySignature(Crypt.java:119)\n\t... 13 more\n"}} Subscriber URL: https://gateway-sandbox.ueialliance.org/bg 2024-09-13T07:43:27.240Z [test] info: Protocol Network Server (Client Settler) recieving message from outbox queue 2024-09-13T07:43:27.240Z [test] info: request: {"context":{"ttl":"PT10M","action":"init","timestamp":"2024-09-13T07:43:27.146Z","message_id":"8d4ea92b-21fd-497b-8fad-b22d1773ea2f","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","domain":"ev-charging:uei","version":"1.1.0","bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org"},"message":{"order":{"provider":{"id":"chargezone.in"},"items":[{"id":"pe-charging-01","quantity":{"selected":{"measure":{"value":"4","unit":"kWh"}}},"add_ons":[{"id":"pe-charging-01-addon-1"}]}],"billing":{"name":"John Doe","email":"abc@example.com","phone":"+91-9876522222"},"fulfillments":[{"id":"1","customer":{"person":{"name":"John Doe"},"contact":{"phone":"+91-9887766554"}},"tracking":false}],"type":"DEFAULT"}}} 2024-09-13T07:43:27.241Z [test] info: *-----*** Signing String:==> (created): 1726213347 (expires): 1726216947 digest: BLAKE-512=rU9zTjQEyTGZKqY1T+JeiLs9htuXCHcHUPG8wyy/IzjePYTjq3W7lmCcQG0CKOw+jw2dqmOLcu5qbmhLiAKEiw== *-----***
2024-09-13T07:43:27.242Z [test] info: Axios Config for Request from bap network:==> {"headers":{"authorization":"Signature keyId=\"bap-ps-network-sandbox.ueialliance.org|bap-ps-network-sandbox.ueialliance.org-key|ed25519\",algorithm=\"ed25519\",created=\"1726213347\",expires=\"1726216947\",headers=\"(created) (expires) digest\",signature=\"u6SI1YamgmsgNc/NtvtRTQegcMIiM5c3enjAgrtT2drBonNbRTa18Enz5Y8+fTeaOiBVrzVpkrTUuaOd8aA+BQ==\""},"timeout":3000}
2024-09-13T07:43:27.245Z [test] info: Returning response from Cache at BAP-NETWORK
2024-09-13T07:43:27.245Z [test] info: CachedResponse at BAP-NETWORK: [{"subscriber_id":"bpp-ps-network-sandbox.ueialliance.org","subscriber_url":"https://bpp-ps-network-sandbox.ueialliance.org","type":"BPP","signing_public_key":"2oeAHma7rbIFZBzzJ1PHLrDewaQ5R4Y3TGwjxewfiC8=","valid_until":"2027-07-21T10:17:12.980Z"}] 2024-09-13T07:43:27.245Z [test] info: Attempt Number: 1 Action : init 2024-09-13T07:43:27.245Z [test] info: sending Response to BAP: https://bpp-ps-network-sandbox.ueialliance.org 2024-09-13T07:43:27.245Z [test] info: Response Body: {"context":{"ttl":"PT10M","action":"init","timestamp":"2024-09-13T07:43:27.146Z","message_id":"8d4ea92b-21fd-497b-8fad-b22d1773ea2f","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","domain":"ev-charging:uei","version":"1.1.0","bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org"},"message":{"order":{"provider":{"id":"chargezone.in"},"items":[{"id":"pe-charging-01","quantity":{"selected":{"measure":{"value":"4","unit":"kWh"}}},"add_ons":[{"id":"pe-charging-01-addon-1"}]}],"billing":{"name":"John Doe","email":"abc@example.com","phone":"+91-9876522222"},"fulfillments":[{"id":"1","customer":{"person":{"name":"John Doe"},"contact":{"phone":"+91-9887766554"}},"tracking":false}],"type":"DEFAULT"}}} 2024-09-13T07:43:27.473Z [test] info: Result : Request Successful Status: 202 Data : {"context":{"ttl":"PT10M","action":"init","timestamp":"2024-09-13T07:43:27.146Z","message_id":"8d4ea92b-21fd-497b-8fad-b22d1773ea2f","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","domain":"ev-charging:uei","version":"1.1.0","bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org"},"message":{"ack":{"status":"ACK"}}} Subscriber URL: https://bpp-ps-network-sandbox.ueialliance.org 2024-09-13T07:43:27.740Z [test] info: Request from IP address ===> 3.111.103.38 Req From URL==> undefined
2024-09-13T07:43:27.741Z [test] info: New Request txn_id 6743e9e2-4fb5-487c-92b7-13ba8018f176 2024-09-13T07:43:27.741Z [test] info: Request from BAP NETWORK {"context":{"domain":"ev-charging:uei","action":"on_init","version":"1.1.0","bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org","country":"IND","city":"std:080","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","message_id":"8d4ea92b-21fd-497b-8fad-b22d1773ea2f","ttl":"PT10M","timestamp":"2024-09-13T07:43:27.634Z"},"message":{"order":{"providers":{"id":"chargezone.in","descriptor":{"name":"Chargezone","short_desc":"Chargezone Technologies Pvt Ltd","images":[{"url":"https://chargezone.in/images/logo.png"}]}},"items":[{"id":"pe-charging-01","descriptor":{"code":"energy"},"price":{"value":"8","currency":"INR/kWH"},"quantity":{"available":{"measure":{"value":"100","unit":"kWh"}},"selected":{"measure":{"value":"4","unit":"kWh"}}},"add_ons":[{"id":"pe-charging-01-addon-1","descriptor":{"code":"add-on-item","name":"Free car wash"},"price":{"value":"0","currency":"INR"}}]}],"fulfillments":[{"id":"1","customer":{"person":{"name":"John Doe"},"contact":{"phone":"+91-9887766554"}},"type":"CHARGING","state":{"descriptor":{"code":"order-initiated"}},"stops":[{"type":"start","time":{"timestamp":"2023-06-01T10:00:00.000Z"}},{"type":"end","time":{"timestamp":"2023-06-01T10:30:00.000Z"}}],"tags":[{"descriptor":{"name":"Charging Point"},"list":[{"descriptor":{"name":"Charger type"},"value":"AC"},{"descriptor":{"name":"Connector type"},"value":"CCS2"},{"descriptor":{"name":"Power Rating"},"value":"greater than 50kW"},{"descriptor":{"name":"Availability"},"value":"Available"}],"display":true}],"tracking":false}],"billing":{"email":"abc@example.com","number":"+91-9876522222"},"quote":{"price":{"value":"32","currency":"INR"},"breakup":[{"item":{"descriptor":{"name":"Estimated units consumed"},"quantity":{"selected":{"measure":{"value":"4","unit":"kWh"}}}},"price":{"value":"32","currency":"INR"}}]},"payments":[{"url":"https://payment.gateway.in","type":"PRE-ORDER","status":"NOT-PAID","params":{"amount":"40","currency":"INR"},"time":{"range":{"start":"2023-08-10T10:00:00Z","end":"2023-08-10T10:30:00Z"}}}],"cancellation_terms":[{"fulfillment_state":{"descriptor":{"code":"charging-start"}},"cancellation_fee":{"percentage":"30%"},"external_ref":{"mimetype":"text/html","url":"https://chargezone.in/charge/tnc.html"}}],"type":"DEFAULT"}}} 2024-09-13T07:43:27.741Z [test] info: Header recieved from bpp: "Signature keyId=\"bpp-ps-network-sandbox.ueialliance.org|bpp-ps-network-sandbox.ueialliance.org-key|ed25519\",algorithm=\"ed25519\",created=\"1726213347\",expires=\"1726216947\",headers=\"(created) (expires) digest\",signature=\"LxmaIXaIaR5GncCfhMhlPJfG1FVZ1EvVUgQdcsZ82+wIhyqC68m5rbUBLgt6IrW6h3mVEhxXJgaVLHGaawPuCA==\"" 2024-09-13T07:43:27.743Z [test] info: Returning response from Cache at BAP-NETWORK
2024-09-13T07:43:27.743Z [test] info: CachedResponse at BAP-NETWORK: [{"subscriber_id":"bpp-ps-network-sandbox.ueialliance.org","subscriber_url":"https://bpp-ps-network-sandbox.ueialliance.org","type":"BPP","signing_public_key":"2oeAHma7rbIFZBzzJ1PHLrDewaQ5R4Y3TGwjxewfiC8=","valid_until":"2027-07-21T10:17:12.980Z"}] 2024-09-13T07:43:27.744Z [test] info: Cache found for spec schemas/core_1.1.0.yaml 2024-09-13T07:43:27.825Z [test] info: response from bpp: {"context":{"domain":"ev-charging:uei","action":"on_init","version":"1.1.0","bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org","country":"IND","city":"std:080","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","message_id":"8d4ea92b-21fd-497b-8fad-b22d1773ea2f","ttl":"PT10M","timestamp":"2024-09-13T07:43:27.634Z"},"message":{"order":{"providers":{"id":"chargezone.in","descriptor":{"name":"Chargezone","short_desc":"Chargezone Technologies Pvt Ltd","images":[{"url":"https://chargezone.in/images/logo.png"}]}},"items":[{"id":"pe-charging-01","descriptor":{"code":"energy"},"price":{"value":"8","currency":"INR/kWH"},"quantity":{"available":{"measure":{"value":"100","unit":"kWh"}},"selected":{"measure":{"value":"4","unit":"kWh"}}},"add_ons":[{"id":"pe-charging-01-addon-1","descriptor":{"code":"add-on-item","name":"Free car wash"},"price":{"value":"0","currency":"INR"}}]}],"fulfillments":[{"id":"1","customer":{"person":{"name":"John Doe"},"contact":{"phone":"+91-9887766554"}},"type":"CHARGING","state":{"descriptor":{"code":"order-initiated"}},"stops":[{"type":"start","time":{"timestamp":"2023-06-01T10:00:00.000Z"}},{"type":"end","time":{"timestamp":"2023-06-01T10:30:00.000Z"}}],"tags":[{"descriptor":{"name":"Charging Point"},"list":[{"descriptor":{"name":"Charger type"},"value":"AC"},{"descriptor":{"name":"Connector type"},"value":"CCS2"},{"descriptor":{"name":"Power Rating"},"value":"greater than 50kW"},{"descriptor":{"name":"Availability"},"value":"Available"}],"display":true}],"tracking":false}],"billing":{"email":"abc@example.com","number":"+91-9876522222"},"quote":{"price":{"value":"32","currency":"INR"},"breakup":[{"item":{"descriptor":{"name":"Estimated units consumed"},"quantity":{"selected":{"measure":{"value":"4","unit":"kWh"}}}},"price":{"value":"32","currency":"INR"}}]},"payments":[{"url":"https://payment.gateway.in","type":"PRE-ORDER","status":"NOT-PAID","params":{"amount":"40","currency":"INR"},"time":{"range":{"start":"2023-08-10T10:00:00Z","end":"2023-08-10T10:30:00Z"}}}],"cancellation_terms":[{"fulfillment_state":{"descriptor":{"code":"charging-start"}},"cancellation_fee":{"percentage":"30%"},"external_ref":{"mimetype":"text/html","url":"https://chargezone.in/charge/tnc.html"}}],"type":"DEFAULT"}}} 2024-09-13T07:43:27.827Z [test] info: Sending ACK to BPP for Context: {"domain":"ev-charging:uei","action":"on_init","version":"1.1.0","bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org","country":"IND","city":"std:080","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","message_id":"8d4ea92b-21fd-497b-8fad-b22d1773ea2f","ttl":"PT10M","timestamp":"2024-09-13T07:43:27.634Z"}
2024-09-13T07:43:27.831Z [test] info: Sending response from BPP to inbox queue 2024-09-13T07:43:27.832Z [test] info: response: {"context":{"domain":"ev-charging:uei","action":"on_init","version":"1.1.0","bpp_id":"bpp-ps-network-sandbox.ueialliance.org","bpp_uri":"https://bpp-ps-network-sandbox.ueialliance.org","country":"IND","city":"std:080","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bap_id":"bap-ps-network-sandbox.ueialliance.org","bap_uri":"https://bap-ps-network-sandbox.ueialliance.org","transaction_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","message_id":"8d4ea92b-21fd-497b-8fad-b22d1773ea2f","ttl":"PT10M","timestamp":"2024-09-13T07:43:27.634Z"},"message":{"order":{"providers":{"id":"chargezone.in","descriptor":{"name":"Chargezone","short_desc":"Chargezone Technologies Pvt Ltd","images":[{"url":"https://chargezone.in/images/logo.png"}]}},"items":[{"id":"pe-charging-01","descriptor":{"code":"energy"},"price":{"value":"8","currency":"INR/kWH"},"quantity":{"available":{"measure":{"value":"100","unit":"kWh"}},"selected":{"measure":{"value":"4","unit":"kWh"}}},"add_ons":[{"id":"pe-charging-01-addon-1","descriptor":{"code":"add-on-item","name":"Free car wash"},"price":{"value":"0","currency":"INR"}}]}],"fulfillments":[{"id":"1","customer":{"person":{"name":"John Doe"},"contact":{"phone":"+91-9887766554"}},"type":"CHARGING","state":{"descriptor":{"code":"order-initiated"}},"stops":[{"type":"start","time":{"timestamp":"2023-06-01T10:00:00.000Z"}},{"type":"end","time":{"timestamp":"2023-06-01T10:30:00.000Z"}}],"tags":[{"descriptor":{"name":"Charging Point"},"list":[{"descriptor":{"name":"Charger type"},"value":"AC"},{"descriptor":{"name":"Connector type"},"value":"CCS2"},{"descriptor":{"name":"Power Rating"},"value":"greater than 50kW"},{"descriptor":{"name":"Availability"},"value":"Available"}],"display":true}],"tracking":false}],"billing":{"email":"abc@example.com","number":"+91-9876522222"},"quote":{"price":{"value":"32","currency":"INR"},"breakup":[{"item":{"descriptor":{"name":"Estimated units consumed"},"quantity":{"selected":{"measure":{"value":"4","unit":"kWh"}}}},"price":{"value":"32","currency":"INR"}}]},"payments":[{"url":"https://payment.gateway.in","type":"PRE-ORDER","status":"NOT-PAID","params":{"amount":"40","currency":"INR"},"time":{"range":{"start":"2023-08-10T10:00:00Z","end":"2023-08-10T10:30:00Z"}}}],"cancellation_terms":[{"fulfillment_state":{"descriptor":{"code":"charging-start"}},"cancellation_fee":{"percentage":"30%"},"external_ref":{"mimetype":"text/html","url":"https://chargezone.in/charge/tnc.html"}}],"type":"DEFAULT"}}}
2024-09-13T08:06:50.700Z [test] info: Webhook Triggered on:==> https://bpp-playground-sandbox.ueialliance.org
2024-09-13T08:06:50.806Z [test] info: Response from Webhook:==> {"message":{"ack":{"status":"ACK"}}} With Data {"context":{"ttl":"PT10M","action":"search","timestamp":"2024-09-13T08:06:48.488Z","message_id":"1585d908-9bf8-4aa4-8db2-77e51441120a","transaction_id":"5366629f-0199-48ec-9986-66e409d211d2","domain":"ev-charging:uei","version":"1.1.0","bap_id":"pulseenergy-bap","bap_uri":"https://bap-network.pulseenergy.io"},"message":{"intent":{"descriptor":{"name":""},"tags":[{"descriptor":{"name":"Connector Types","code":"connector-types"},"list":[{"descriptor":{"name":"CCS2","code":"CCS2"},"value":"CCS2"}],"display":true}],"fulfillment":{"stops":[{"location":{"circle":{"gps":"12.9753911,77.5885183","radius":{"type":"CONSTANT","value":"5","unit":"km"}}}}],"tracking":false}}}}
2024-09-13T08:06:50.823Z [test] info: Request from IP address ===> 3.111.103.38 Req From URL==> undefined
2024-09-13T08:06:50.826Z [test] info: Building Auth Header
2024-09-13T08:06:50.827Z [test] info: *-----*** Signing String:==> (created): 1726214750 (expires): 1726218350 digest: BLAKE-512=Jy6ORz0XBa5SG8R5HklFwjurslIbN+epbB2W/SQHVl+ynN08OM1Ng5TVQt7KwcL4FEu730cbySdqSA/wy2i6JA== *-----***
2024-09-13T08:06:50.827Z [test] info: Axios Config for Request from bpp client:==> {"headers":{"authorization":"Signature keyId=\"bpp-ps-network-sandbox.ueialliance.org|bpp-ps-network-sandbox.ueialliance.org-key|ed25519\",algorithm=\"ed25519\",created=\"1726214750\",expires=\"1726218350\",headers=\"(created) (expires) digest\",signature=\"Dkz08PpIwQY/4wPatS2453WJMgxSb0zFxS2rSrU6nuMnby0r4OsuZcK8jwXU6JeZ6mRSw29fLDIyfdzhHchJCA==\""},"timeout":3000}
2024-09-13T08:06:50.829Z [test] info: Returning response from Cache at BPP-CLIENT
2024-09-13T08:06:50.829Z [test] info: CachedResponse at BPP-CLIENT: [{"subscriber_id":"bpp-ps-network-sandbox.ueialliance.org","subscriber_url":"https://bpp-ps-network-sandbox.ueialliance.org","type":"BPP","signing_public_key":"2oeAHma7rbIFZBzzJ1PHLrDewaQ5R4Y3TGwjxewfiC8=","valid_until":"2027-07-21T10:17:12.980Z"}] 2024-09-13T08:06:50.830Z [test] info: Cache found for spec schemas/ev-charging_uei_1.1.0.yaml
2024-09-13T08:06:50.626Z [test] info: Request from IP address ===> 3.111.103.38 Req From URL==> undefined
2024-09-13T08:06:50.629Z [test] info: New Request txn_id 5366629f-0199-48ec-9986-66e409d211d2 2024-09-13T08:06:50.629Z [test] info: Request from BG {"context":{"ttl":"PT10M","action":"search","timestamp":"2024-09-13T08:06:48.488Z","message_id":"1585d908-9bf8-4aa4-8db2-77e51441120a","transaction_id":"5366629f-0199-48ec-9986-66e409d211d2","domain":"ev-charging:uei","version":"1.1.0","bap_id":"pulseenergy-bap","bap_uri":"https://bap-network.pulseenergy.io"},"message":{"intent":{"descriptor":{"name":""},"tags":[{"descriptor":{"name":"Connector Types","code":"connector-types"},"list":[{"descriptor":{"name":"CCS2","code":"CCS2"},"value":"CCS2"}],"display":true}],"fulfillment":{"stops":[{"location":{"circle":{"gps":"12.9753911,77.5885183","radius":{"type":"CONSTANT","value":"5","unit":"km"}}}}],"tracking":false}}}} 2024-09-13T08:06:50.631Z [test] info: Returning response from Cache at BPP-NETWORK
2024-09-13T08:06:50.632Z [test] info: CachedResponse at BPP-NETWORK: [{"subscriber_id":"pulseenergy-bap","subscriber_url":"https://bap-network.pulseenergy.io","type":"BAP","signing_public_key":"22hp7NsrwGBHNsZzOqYmm02Ek6iq2YvzSEpIJAfawL0=","valid_until":"2027-08-13T07:00:07.965Z"}] 2024-09-13T08:06:50.632Z [test] info: *-----*** Signing String:==> (created): 1726214748 (expires): 1726218348 digest: BLAKE-512=Co11XX8Mjn6bRvYsfk7NnPPtPlCzH3ifRIHKhA5dQX2ZJp3b7OY40X/ShkFQQJbPYkarhvLGg29F5/+e3NpnJQ== *-----***
2024-09-13T08:06:50.632Z [test] info: Header recieved from bpp: "Signature keyId=\"pulseenergy-bap|pulseenergy-bap-key|ed25519\",algorithm=\"ed25519\",created=\"1726214748\",expires=\"1726218348\",headers=\"(created) (expires) digest\",signature=\"Xg2w2TRyqLsCChZx+IfNFwO6xFnsiYEIgKjx5IHBnDrcVv8BQ9FDgc85X9lY2NyELLoSIKtTPCbeDF+BDj4vCQ==\"" 2024-09-13T08:06:50.633Z [test] info: Returning response from Cache at BPP-NETWORK
2024-09-13T08:06:50.634Z [test] info: CachedResponse at BPP-NETWORK: [{"subscriber_id":"pulseenergy-bap","subscriber_url":"https://bap-network.pulseenergy.io","type":"BAP","signing_public_key":"22hp7NsrwGBHNsZzOqYmm02Ek6iq2YvzSEpIJAfawL0=","valid_until":"2027-08-13T07:00:07.965Z"}] 2024-09-13T08:06:50.634Z [test] info: Cache found for spec schemas/core_1.1.0.yaml 2024-09-13T08:06:50.882Z [test] info: *-----*** Signing String:==> (created): 1726214750 (expires): 1726218350 digest: BLAKE-512=bHe9Fe1yZLXyUBL7ZrJfTOkyJktX8hCIRDkM/jT72ajR8HIL7L5p9w0WHG77+E6aEcA7AgecagXQ5aUgCkP1mQ== *-----***
2024-09-13T08:06:50.885Z [test] info: Axios Config for Request from bpp network:==> {"headers":{"authorization":"Signature keyId=\"bpp-ps-network-sandbox.ueialliance.org|bpp-ps-network-sandbox.ueialliance.org-key|ed25519\",algorithm=\"ed25519\",created=\"1726214750\",expires=\"1726218350\",headers=\"(created) (expires) digest\",signature=\"apAxXt8a1RBYa69Br0DUYs2OQvBX1liWs01/Hldbk1AxKTU1YoHBxBLzZUihl0eQI/w91cELMuzhmXA7YE2TDg==\""},"timeout":3000}
2024-09-13T08:06:50.885Z [test] info: Attempt Number: 1 Action : on_search 2024-09-13T08:06:50.885Z [test] info: sending Response to BAP: https://bap-network.pulseenergy.io 2024-09-13T08:06:50.885Z [test] info: Response Body: {"context":{"domain":"ev-charging:uei","action":"on_search","version":"1.1.0","bpp_id":"sandbox-bpp-network.becknprotocol.io","bpp_uri":"https://sandbox-bpp-network.becknprotocol.io","country":"IND","city":"std:080","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bap_id":"pulseenergy-bap","bap_uri":"https://bap-network.pulseenergy.io","transaction_id":"5366629f-0199-48ec-9986-66e409d211d2","message_id":"1585d908-9bf8-4aa4-8db2-77e51441120a","ttl":"PT10M","timestamp":"2024-09-13T08:06:50.826Z"},"message":{"catalog":{"providers":[{"id":"chargezone.in","descriptor":{"name":"Chargezone","short_desc":"Chargezone Technologies Pvt Ltd","images":[{"url":"https://chargezone.in/images/logo.png"}]},"locations":[{"id":"1","gps":"12.345345,77.389754"},{"id":"2","gps":"12.247934,77.876987"}],"categories":[{"id":"1","descriptor":{"code":"green-tariff","name":"green tariff"}}],"fulfillments":[{"id":"1","type":"CHARGING","stops":[{"type":"start","time":{"timestamp":"2023-06-01T10:00:00.000Z"}},{"type":"end","time":{"timestamp":"2023-06-01T10:30:00.000Z"}}],"tags":[{"descriptor":{"name":"Charging Point Specifications"},"list":[{"descriptor":{"name":"Charger type","code":"charger-type"},"value":"AC"},{"descriptor":{"name":"Connector type","code":"connector-type"},"value":"CCS2"},{"descriptor":{"name":"Power Rating"},"value":"greater than 50kW"},{"descriptor":{"name":"Availability"},"value":"Available"}],"display":true}],"tracking":false},{"id":"2","type":"CHARGING","stops":[{"type":"start","time":{"timestamp":"2023-06-01T10:00:00.000Z"}},{"type":"end","time":{"timestamp":"2023-06-01T10:30:00.000Z"}}],"tags":[{"descriptor":{"name":"Charging Point"},"list":[{"descriptor":{"name":"Charger type"},"value":"AC"},{"descriptor":{"name":"Connector type"},"value":"CCS2"},{"descriptor":{"name":"Power Rating"},"value":"greater than 50kW"},{"descriptor":{"name":"Availability"},"value":"Available"}],"display":true}],"tracking":false}],"items":[{"id":"pe-charging-01","descriptor":{"code":"energy"},"price":{"value":"8","currency":"INR/kWH"},"quantity":{"available":{"measure":{"unit":"kWH","value":"100"}}},"category_ids":["1"],"location_ids":["1","2"],"fulfillment_ids":["1","2"],"add_ons":[{"id":"pe-charging-01-addon-1","descriptor":{"name":"Free car wash"},"price":{"value":"0","currency":"INR"}}]}]},{"id":"log9.in","descriptor":{"name":"Log9 Inc"},"categories":[{"id":"1","descriptor":{"code":"green-tariff","name":"green tariff"}}],"fulfillments":[{"id":"3","type":"BATTERY-SWAP","stops":[{"location":{"gps":"12.745675, 77.987393"}}],"tracking":false},{"id":"4","type":"MOBILE-BATTERY-SWAP","stops":[{"location":{"url":"https://log9.in/track/bswap/3234242"}}],"tracking":false}],"items":[{"id":"pe-charging-01","descriptor":{"code":"energy"},"price":{"value":"10","currency":"INR / kWH"},"quantity":{"available":{"measure":{"unit":"kWH","value":"1000"}}},"category_ids":["1"],"fulfillment_ids":["3","4"],"add_ons":[{"id":"pe-charging-01-addon-1","descriptor":{"name":"Free tyre pressure check"},"price":{"value":"0","currency":"INR"}}]}]}]}}} 2024-09-13T08:06:51.013Z [test] info: Result : Request Successful Status: 202 Data : {"context":{"domain":"ev-charging:uei","action":"on_search","version":"1.1.0","bpp_id":"sandbox-bpp-network.becknprotocol.io","bpp_uri":"https://sandbox-bpp-network.becknprotocol.io","country":"IND","city":"std:080","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bap_id":"pulseenergy-bap","bap_uri":"https://bap-network.pulseenergy.io","transaction_id":"5366629f-0199-48ec-9986-66e409d211d2","message_id":"1585d908-9bf8-4aa4-8db2-77e51441120a","ttl":"PT10M","timestamp":"2024-09-13T08:06:50.826Z"},"message":{"ack":{"status":"ACK"}}} Subscriber URL: https://bap-network.pulseenergy.io
@Nithya-ACAD , the http request payload is in the wrong format. This document describes the format of the Beckn search request. https://github.com/beckn/protocol-specifications/blob/master/api/transaction/build/transaction.yaml
Currently the client side of protocol server follows the same format as Beckn. So the format seems wrong.
@shreyvishal can you please follow up in this thread in case Nithya needs help. I guess it would have been easier in the discord. I was the one who specified both (issue and discord) to her. Probably we should let people know to start discussion on discord and once it has been identified as error, then log issue here. Sorry about that.
Discord is not working for me right now. Getting that fixed. I will connect with you on the weekly call again if I encounter any issue while working on this. Looks like it was just some issue from my end. Thank you so much.
Now there is a domain error. Please let me know if there is something wrong in what I am doing.
https://bap-ps-client-sandbox.ueialliance.org/search
This is the http payload: { "context": { "domain": "dent_ev-charging_0.1.0", "country": "IND", "city": "std:080", "action": "search", "core_version": "1.1.0", "message_id": "unique-message-id", (taken care of it on postman) "timestamp": "2024-09-11T10:00:00Z", "transaction_id": "unique-transaction-id",(taken care of it on postman) "bap_id": "bap-ps-client-sandbox.ueialliance.org", "bap_uri": "https://bap-ps-client-sandbox.ueialliance.org" }, "message": { "intent": { "item": { "descriptor": { "name": "energy" }, "quantity": { "count": 100 } }, "time": { "range": { "start": "2024-09-12T09:00:00Z", "end": "2024-09-12T17:00:00Z" } } } } }
This is the error. please let me know if I am making any mistake { "message": { "ack": { "status": "NACK" } }, "error": { "code": 422, "message": "Layer 2 config file dent_ev-charging_0.1.0_undefined.yaml is not installed and it is marked as required in configuration", "type": "DOMAIN-ERROR" } }
Name: P2P Energy Transfer (UEI) About: Communication between the BAP and BPP for the P2P energy transfer using the Sandbox environment using openapi: 3.0.0 Beckn Protocol Core DENT layer 2 config version 1.1.0 Title: P2P Energy Transfer Labels: P2P Energy Transfer
Description
When interacting with the sandbox environment using the /search API on postman, an internal server error is consistently encountered. The error trace indicates ENOENT, typically signaling a missing file or configuration on the server side. This issue occurs even when the request body adheres to the expected structure as outlined in the provided YAML file.
The request was authenticated using the Bearer token, which was generated by the sandbox for the user (myself), and it was properly included in the request headers under Authorization as Bearer. However, the issue persists even with proper authentication, suggesting that the issue is likely server-side.
This feature request or bug fix is needed to address this error and ensure that the /search API in the sandbox environment works as intended. It will allow users to test the energy transaction flow seamlessly without server-side errors.
Goals
Expected Outcome
The /search API should return the expected response (such as available energy units from prosumers) without encountering a 500 Internal Server Error. The API request should be processed successfully in the sandbox environment, and the error should be resolved.
Acceptance Criteria
Implementation Details
The implementation will involve reviewing the sandbox server's configuration to identify missing files or misconfigurations causing the ENOENT error. Server logs should be examined for detailed traces of the error. Additionally, the request flow and API endpoints should be validated against the YAML file to ensure alignment. It should be verified that the Bearer token authentication mechanism is functioning correctly, as a valid token is already being used.
Mockups / Wireframes
N/A (No visual mockups are required as this is related to the server configuration and API flow.)
Product Name
P2P Energy Transfer (UEI)
Project Name
P2P Energy Transfer Sandbox API Issue
Organization Name:
UEI
Domain
Energy Transaction API
Tech Skills Needed:
Complexity
Medium
Category
[Bug],[API]
Sub Category
[API],[Backend],[Maintenance],[Support]
Attaching the request and logs:
https://bap-ps-client-sandbox.ueialliance.org/search
500 Internal Server Error RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: ENOENT
at new NodeError (node:internal/errors:387:5)
at ServerResponse.writeHead (node:_http_server:314:11)
at ServerResponse.writeHead (/usr/src/app/node_modules/on-headers/index.js:44:26)
at ServerResponse._implicitHeader (node:_httpserver:305:8)
at write (node:_http_outgoing:867:9)
at ServerResponse.end (node:_http_outgoing:977:5)
at ServerResponse.send (/usr/src/app/node_modules/express/lib/response.js:232:10)
at ServerResponse.json (/usr/src/app/node_modules/express/lib/response.js:278:15)
at /usr/src/app/dist/app.js:93:41
at Layer.handle_error (/usr/src/app/node_modules/express/lib/router/layer.js:71:5)