Coder Social home page Coder Social logo

[Bug]: [2024/05/23 15:19:40:0909] W: [wsicli|5a|WS/h1/default/m-579da5db.kinesisvideo.ap-southeast-]: lws_client_ws_upgrade: got bad HTTP response '403' 2024-05-23 15:19:40.091 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 1 2024-05-23 15:19:40.091 WARN lwsWssCallbackRoutine(): Client connection failed. Connection error string: HS: ws upgrade response not 101 about amazon-kinesis-video-streams-webrtc-sdk-c HOT 9 OPEN

123zhj avatar 123zhj commented on August 26, 2024
[Bug]: [2024/05/23 15:19:40:0909] W: [wsicli|5a|WS/h1/default/m-579da5db.kinesisvideo.ap-southeast-]: lws_client_ws_upgrade: got bad HTTP response '403' 2024-05-23 15:19:40.091 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 1 2024-05-23 15:19:40.091 WARN lwsWssCallbackRoutine(): Client connection failed. Connection error string: HS: ws upgrade response not 101

from amazon-kinesis-video-streams-webrtc-sdk-c.

Comments (9)

disa6302 avatar disa6302 commented on August 26, 2024

@123zhj ,

Could you provide full logs and details on how you are building this SDK? Are you building with dependencies ON/OFF? Are you using openssl or mbedtls?

from amazon-kinesis-video-streams-webrtc-sdk-c.

123zhj avatar 123zhj commented on August 26, 2024

您能否提供有关如何构建此 SDK 的完整日志和详细信息?您是否使用依赖项 ON/OFF 进行构建?您使用的是 openssl 还是 mbedtls?

I'm use mbedtls.
CMakeLists.txt
CMakeOutput.log
demo_sigmaster.txt
CMakeLists.txt is my modified file, CMakeOutput.log is the Cmake compilation output file, demo_sigmaster.txt is ./kvsWebrtcClientMaster Run output log file

from amazon-kinesis-video-streams-webrtc-sdk-c.

disa6302 avatar disa6302 commented on August 26, 2024

Thank you for the details.

What is your cmake command? Are you running with BUILD_DEPENDENCIES=ON or BUILD_DEPENDENCIES=OFF? Are you using system libraries?

from amazon-kinesis-video-streams-webrtc-sdk-c.

123zhj avatar 123zhj commented on August 26, 2024

谢谢你的细节。

你的 cmake 命令是什么?您是在 BUILD_DEPENDENCIES=ON 还是 BUILD_DEPENDENCIES=OFF 的情况下运行?您使用的是系统库吗?
I'm using the Cmake command which is cmake... But I modified the CMakeList.txt file.I didn't use either of these options.I think I'm using a system library.

from amazon-kinesis-video-streams-webrtc-sdk-c.

123zhj avatar 123zhj commented on August 26, 2024

Thank you for the details.

What is your cmake command? Are you running with BUILD_DEPENDENCIES=ON or BUILD_DEPENDENCIES=OFF? Are you using system libraries?
Can you tell me the cause of this problem? Because I compile in the same way on other embedded platforms, it works.

from amazon-kinesis-video-streams-webrtc-sdk-c.

disa6302 avatar disa6302 commented on August 26, 2024

@123zhj ,

  1. Does this embedded platform have any firewalls or proxy that could be blocking the WebSocket connection?
  2. What is the difference between the embedded platforms where it works and the ones it does not?

from amazon-kinesis-video-streams-webrtc-sdk-c.

vasoyanikhil avatar vasoyanikhil commented on August 26, 2024

@disa6302 : I am having the same issue. Please find below the logs. Can you please help on this?

[2024/06/14 05:15:00:7903] W: [wsicli|4d|WS/h1/default/m-3bffc0cd.kinesisvideo.ap-south-1.am]: lws_client_ws_upgrade: got bad HTTP response '403'
2024-06-14 05:15:00.790 WARN lwsWssCallbackRoutine(): Client connection failed. Connection error string: HS: ws upgrade response not 101
[2024/06/14 05:15:00:7911] N: __lws_lc_untag: -- [wsicli|4d|WS/h1/default/m-3bffc0cd.kinesisvideo.ap-south-1.am] (0) 1.397s
2024-06-14 05:15:00.791 PROFILE executeConnectSignalingState(): [Connect signaling call] Time taken: 19761 ms
2024-06-14 05:15:00.791 ERROR signalingConnectSync(): operation returned status code: 0x0000000f

After I got the above error, I started the live stream, but I am not able to see the media stream on my mobile; it shows a blank screen. After I stopped the live stream from my mobile, I see still on device live stream running.

from amazon-kinesis-video-streams-webrtc-sdk-c.

Whatmam avatar Whatmam commented on August 26, 2024

I also discovered the cause of the problem as described above.
The solution is to ensure your system time is set correctly.

from amazon-kinesis-video-streams-webrtc-sdk-c.

hassanctech avatar hassanctech commented on August 26, 2024

@123zhj Can you please confirm if you have the same issue still after correcting your system time? I have also seen this same issue when the system time is incorrect, then the signature on the request will be outdate (it is valid only for 5-10 mins from the current time) so server will reject it. Make sure system time is correct please and report back if your issue is resolved so we can close out this ticket.

from amazon-kinesis-video-streams-webrtc-sdk-c.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.