question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Any way to deal with self signed certs on recognize endpoint

See original GitHub issue

Trying to send a snap from a camera and I cannot get it to work for the life of me…

http://docker.home.lab:8203/api/recognize?url=https://10.0.9.40/snap.jpeg

Getting this error:

processing double-take: 2b290cf1-b466-46a7-9774-642e8e724be8
url validation error: self signed certificate
response:
{
  id: '2b290cf1-b466-46a7-9774-642e8e724be8',
  duration: 0.03,
  timestamp: '6/10/2021, 8:06:59 PM',
  attempts: 0,
  camera: 'double-take',
  zones: [],
  matches: []
}
6/10/2021, 8:06:59 PM
done processing double-take: 2b290cf1-b466-46a7-9774-642e8e724be8 in 0.03 sec

The camera also has a http endpoint but I’m not sure why it doesn’t pass validation… http://docker.home.lab:8203/api/recognize?url=http://10.0.9.40/snap.jpeg

Error:

processing double-take: 0f60d94e-0169-4fc5-a269-4adc7b04515a
url validation error: Request failed with status code 400
response:
{
  id: '0f60d94e-0169-4fc5-a269-4adc7b04515a',
  duration: 0.01,
  timestamp: '6/10/2021, 8:10:13 PM',
  attempts: 0,
  camera: 'double-take',
  zones: [],
  matches: []
}
6/10/2021, 8:10:13 PM
done processing double-take: 0f60d94e-0169-4fc5-a269-4adc7b04515a in 0.01 sec

Camera is a Ubnt Doorbell camera

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:20 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
causefxcommented, Jun 15, 2021

No sweat man. I get my Coral USB in tomorrow, so I will be installing Frigate to test with Double Take. Once I play around with both, I will be submitting some FR’s.

😃 thanks again!

1reaction
causefxcommented, Jun 15, 2021

SUCCESS!!! Good job man! Thank you!

6/14/2021, 9:10:05 PM
processing double-take: 8375bf38-3997-4534-8e96-6c064ca598da
response:
{
  id: '8375bf38-3997-4534-8e96-6c064ca598da',
  duration: 5.43,
  timestamp: '6/14/2021, 9:10:10 PM',
  attempts: 1,
  camera: 'double-take',
  zones: [],
  matches: []
}
6/14/2021, 9:10:10 PM
done processing double-take: 8375bf38-3997-4534-8e96-6c064ca598da in 5.43 sec
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to enable access to your endpoint in a secure way - part 2
If the certificate is self-signed, you must add the public part of it to your certificate store, as shown in the following screen....
Read more >
Accept server's self-signed ssl certificate in Java client
You have basically two options here: add the self-signed certificate to your JVM truststore or configure your client to. Option 1.
Read more >
Configure Your Web Service to Use a Self-signed Certificate
Create a Private Key and Self-Signed Certificate for Testing; Update the Alexa Skill Configuration with the Self-Signed Certificate; Configure your Endpoint ...
Read more >
How to trust self-signed certificate in cURL command line?
Try -k : curl -k https://yourhost/. It should "accept" self-signed certificates.
Read more >
Using Self-Signed SSL Certificates with Postman
Screen Shot 2016-06-30 at 16.24.19 · ssl_error · ssl_win_2 2. Select Copy to File · ssl_win_3 4. Go to Chrome > Settings, search...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found