Alexa skill works while using Ngrok in localhost. It is not working in live server

hi,

i am working on a project were i am integrating rasa with Alexa . I tested with the ngrok and the source code in localhost .it is working fine. but while i hosted the source in the live server. it is not responding . the error log is below

{ “version”: “1.0”, “session”: { “new”: false, “sessionId”: “amzn1.echo-api.session.29a11349-0666-4abc-ba23-0dc537bbcc1c”, “application”: { “applicationId”: “amzn1.ask.skill.0dee5bbf-5e34-49ef-b6a1-df499618f597” }, “attributes”: {}, “user”: { “userId”: “amzn1.ask.account.AETL2HFNNK6KNKIEJGLGIVUQQRCPMONRX2KWGK62I7DE6LC7FWQOUMBLGUOREFAUMKRMEM3BWGMFB4SJ4B5XCE65J4IWIQKADBQ4ZHZL5SBCCIMFZMJXSGC6E4FVQIOLQ423A4SCBGK3Z2A5Z5NXOBXP6HJUB2PRTW2AX2VTNK7J4KYNJ2ZPU6BLH2KFUKX6IJF7JLWCXOLITHA” } }, “context”: { “Viewports”: [ { “type”: “APL”, “id”: “main”, “shape”: “RECTANGLE”, “dpi”: 213, “presentationType”: “STANDARD”, “canRotate”: false, “configuration”: { “current”: { “mode”: “HUB”, “video”: { “codecs”: [ “H_264_42”, “H_264_41” ] }, “size”: { “type”: “DISCRETE”, “pixelWidth”: 1280, “pixelHeight”: 800 } } } } ], “AudioPlayer”: { “playerActivity”: “IDLE” }, “Viewport”: { “experiences”: [ { “arcMinuteWidth”: 346, “arcMinuteHeight”: 216, “canRotate”: false, “canResize”: false } ], “mode”: “HUB”, “shape”: “RECTANGLE”, “pixelWidth”: 1280, “pixelHeight”: 800, “dpi”: 213, “currentPixelWidth”: 1280, “currentPixelHeight”: 800, “touch”: [ “SINGLE” ], “video”: { “codecs”: [ “H_264_42”, “H_264_41” ] } }, “Extensions”: { “available”: { “aplext:backstack:10”: {} } }, “System”: { “application”: { “applicationId”: “amzn1.ask.skill.0dee5bbf-5e34-49ef-b6a1-df499618f597” }, “user”: { “userId”: “amzn1.ask.account.AETL2HFNNK6KNKIEJGLGIVUQQRCPMONRX2KWGK62I7DE6LC7FWQOUMBLGUOREFAUMKRMEM3BWGMFB4SJ4B5XCE65J4IWIQKADBQ4ZHZL5SBCCIMFZMJXSGC6E4FVQIOLQ423A4SCBGK3Z2A5Z5NXOBXP6HJUB2PRTW2AX2VTNK7J4KYNJ2ZPU6BLH2KFUKX6IJF7JLWCXOLITHA” }, “device”: { “deviceId”: “amzn1.ask.device.AHDYJH3QIOKVZJVUINS7YJWA3C4IF6QGCYC47JTASWRSX3C6K7HZLUOWH2ASSKPQXRUTXRRX23NITQ2LRPD62ELDFV2HSD27SVDCOZFSNIMXRECEREP6553NWDLHWFTTV3Y56YDTT7MH6C7HNNKQEZ3MUVVLMDG2LJ6DYS2CW74QCXNIHN4KU”, “supportedInterfaces”: { “AudioPlayer”: {}, “Alexa.Presentation.APL”: { “runtime”: { “maxVersion”: “1.7” } } } }, “apiEndpoint”: “https://api.eu.amazonalexa.com”, “apiAccessToken”: “eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOiJodHRwczovL2FwaS5ldS5hbWF6b25hbGV4YS5jb20iLCJpc3MiOiJBbGV4YVNraWxsS2l0Iiwic3ViIjoiYW16bjEuYXNrLnNraWxsLjBkZWU1YmJmLTVlMzQtNDllZi1iNmExLWRmNDk5NjE4ZjU5NyIsImV4cCI6MTYzMDU4NzY1MiwiaWF0IjoxNjMwNTg3MzUyLCJuYmYiOjE2MzA1ODczNTIsInByaXZhdGVDbGFpbXMiOnsiY29udGV4dCI6IkFBQUFBQUFBQVFDTnJyUmg2YnNYbFBYWnRobUNpR3p4S2dFQUFBQUFBQUNWSkQzZVVrNEFyckV4Qno3cUxBTU5BWkd5dE1RdnBwemo3dW5UK2pVaEprNjh6L2NHVm5lVmtNRmo0QXgyYTVobGxZK2FaTVYxSWpqM25iekVzcUZ0cU9YYSszaDhSTklZbU9TMUlGaWJKT1RjN2pJZm56R1pyUlBHdXNrc3FvSkpodDBrUjRvM2hqeXVlZlE2UGR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PVXRRj_NA_meMtRoOVMjDtSHFvVk7Zx3UK_ira-DRvNxp4dL3o1QtXtuOSKFhI-BssVcazT7sGNnLwyLv3IxfsIVYzAGeqJpBs1b_CsSNDAAp4_mES_HzY0VIxuihVIoQeOopYZvZwemrbX7nkAo3osvSwyuijTK7yyO2_DLhCVlmUcn4-XRQ2V4l_8KCwWMz88PoLEzpFzzRLwveJLUIvyKEjGfSdQVxcf8XYZCSai4XhANvyyxg” } }, “request”: { “type”: “SessionEndedRequest”, “requestId”: “amzn1.echo-api.request.346b04a5-fe1b-45be-9779-f1496ef7e655”, “timestamp”: “2021-09-02T12:55:52Z”, “locale”: “de-DE”, “reason”: “ERROR”, “error”: { “type”: “INVALID_RESPONSE”, “message”: “An exception occurred while dispatching the request to the skill.” } } }

with the error message “I cannot achieve the requested skill”.

Please let me know if anyone have any solution.

thanks

And i fixed it. The issue happened cos of the SSL certificate. :slight_smile: