Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

handshake was canclled and not showing content on index.html #55

Closed
3 tasks
Jagadish-Bommisetty opened this issue Nov 4, 2020 · 6 comments
Closed
3 tasks

Comments

@Jagadish-Bommisetty
Copy link

Jagadish-Bommisetty commented Nov 4, 2020

Briefly summarize your issue:

i have compiled the smart screen sdk with -DDISABLE_WEBSOCKET_SSL=OFF and imported the certificates into browser successsfully. i loaded the html and i have played song from mobile alexaapp, seen that handshake was cancled and websocket:ErrorLog prints. inde.html was not showing any player info card. i have attached the logs and screen shot of wireshark log. is there any debug level to get more logs in websocetpp..? how to resolve the handshake cancled error.

What is the expected behavior?

index.html need to player info card

What behavior are you observing?

player info card is not seen on index.html

Provide the steps to reproduce the issue, if applicable:

make a build with -DDISABLE_WEBSOCKET_SSL=OFF and import certificates. select the song from mobile alexapp and choose device

Tell us about your environment:

avs sdk -> 1.20.1
alexa smart screen sdk -> 2.2.1
APL version -> 1.3.3

What version of the AVS Device SDK are you using?

  <1.20.1>

Tell us what hardware you're using:

  • Other

Tell us about your OS (Type & version):

  • Linux

Have you tried the same use case with AVS Device SDK SampleApp?

@lynx-arul
Copy link
Contributor

I noticed there are some errors associated to VisualCharacteristic properties in your log.
Is it possible to run the Sample App as such:

./modules/Alexa/SampleApp/src/SampleApp -C <your device SDK config> -C <SS SDK config found here> -L DEBUG9

@Jagadish-Bommisetty
Copy link
Author

Thanks for quick response....!
shared logs are with the above mentioned command only and issue was seen in my platform. i have not loaded the page completely in browser. when song starts playing then, i loaded the page.

  1. may i know how to get more logs from websocketpp means any flag which enables more logs
  2. is this issue with certificates importing.
  3. from wireshark screenshot, is this issue from server side or client side.

@lynx-arul
Copy link
Contributor

  1. If you are running in DEBUG9 it will show the full log. Also you can build the SmartScreen SDK with -DACSDK_EMIT_SENSITIVE_LOGS=ON flag on should give more detailed logs - this will be very noisy.
  2. It could be possible it's a certification issue. Is it possible to run with -DDISABLE_WEBSOCKET_SSL=ON (Just make sure to run in DEBUG mode with -DCMAKE_BUILD_TYPE=DEBUG) just to test if it is working first.
  3. Sorry the wireshark doesn't really give us much information.

Thanks.

@Jagadish-Bommisetty
Copy link
Author

Thanks for info..!
we can see in wireshark it is communicating with TLSv1.3. i am newbie to this SSL/TLS. what is the default TLS version used by this websocketpp server. will it support for TLSv1.3. if not how to configure server for specific TLS version.

@vkarpuram
Copy link

Hello @Jagadish-Bommisetty - The SDK does support TLSv1.3 which is the default. Please let me know if you have additional questions

@vkarpuram
Copy link

Closing this due to inactivity. Please feel free to re-open if you encounter further problems.
Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants