Coder Social home page Coder Social logo

Problem with stunnel about alexa-ip-cam HOT 12 CLOSED

goruck avatar goruck commented on July 24, 2024
Problem with stunnel

from alexa-ip-cam.

Comments (12)

jamesw4 avatar jamesw4 commented on July 24, 2024

VLC fails for me also if going via stunnel port but it works fine from my echo show!

from alexa-ip-cam.

goruck avatar goruck commented on July 24, 2024

from alexa-ip-cam.

kaputtzich avatar kaputtzich commented on July 24, 2024

My Echo Spot arrived today an i could test a little bit further
stunnel is working so far but live555 acts a little bit strange, i can see that it starts the stream but there's nothing on the spot, after a while the spot times out and live555 closes the stream
Same behaviour with or without stunnel
If i connect with VLC directly to the live555 stream without stunnel the video starts immediatly

from alexa-ip-cam.

goruck avatar goruck commented on July 24, 2024

from alexa-ip-cam.

kaputtzich avatar kaputtzich commented on July 24, 2024

Uploaded on pastebin, i'm sorry for the live555 log, it may be a little bit confusing
live555.log
stunnel.log

First attempts where with VLC (the unkown protocol part i already mentioned)
The cam I asked Alexa for has IP 192.168.0.10, I use local URI in Lambda

Something i noticed where the "RTSP/1.0 401 Unauthorized" messages, even though it's working with VLC

from alexa-ip-cam.

kaputtzich avatar kaputtzich commented on July 24, 2024

Disabled every authentication, unauthorized messages are now gone but still can't get an image on the Echo Spot

from alexa-ip-cam.

goruck avatar goruck commented on July 24, 2024

Hi,

sorry for the long reply. Are you still seeing this issue on Spot? If so can you send a Cloudwatch log of the problem.

I'm not seeing this problem on my end, all cameras look fine on both Echo Show and Spot.

Thanks.

Lindo

from alexa-ip-cam.

savageautomate avatar savageautomate commented on July 24, 2024

@kaputtzich

When you say ...

The cam I asked Alexa for has IP 192.168.0.10, I use local URI in Lambda

Do you mean that you are using the raw IP address in the cameras.json file?

If so .. you can't do that. You have to use a fully qualified DNS hostname and the endpoint must be secured with a valid SSL certificate. The DNS 'A' record can point to a local (private) IP address, but you can't use the raw IP address when sending the camera stream to Alexa.

Thanks, Robert

from alexa-ip-cam.

kaputtzich avatar kaputtzich commented on July 24, 2024

Yeah well i think that was a little bit misleading
Tried in different ways - also with FQDN of course
But as the old cam broke down i bought a new, smart one - so the rtsp proxy server is retired
Thanks for your support!

from alexa-ip-cam.

justinmiller61 avatar justinmiller61 commented on July 24, 2024

I am having this issue as well and my logs look nearly identical (have to verify later). When I say to my Fire HD 8, 'Show me ', I can see the stunnel connection in the logs, and see it connecting to localhost:554, but then it disconnects almost immediately. I am using a FQDN in my cameras.json.

I can connect to the Live555 proxy just fine via VLC. It doesn't appear that there is a client capable of handling SSL encrypted rtsp streams, other than the Echo, so I haven't been able to test the stunnel -> live555 proxy path outside of the Fire.

Thoughts?

from alexa-ip-cam.

justinmiller61 avatar justinmiller61 commented on July 24, 2024

So the above issue was resolved because my SSL cert was missing a SAN for cam..com. I had only requested it for .com. Still can't get things to show up on my Fire, though I can see data is being sent and received, but I'll create a separate issue for that.

from alexa-ip-cam.

goruck avatar goruck commented on July 24, 2024

@justinmiller61 glad you made some progress. Let me know if I can help. FYI, I did verify this works on my Fire HD 10 device in both tablet and show mode.

from alexa-ip-cam.

Related Issues (14)

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.