Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cURL error 60: SSL certificate problem: unable to get local issuer certificate when click Check Now button on detail #6

Closed
ahyanarizky opened this issue Jan 8, 2024 · 2 comments

Comments

@ahyanarizky
Copy link

Hi @nafiesl what a nice library you have here.
but I ran through this error when try to click the "Check Now" button on detail client

Screenshot 2024-01-09 105329
Request

curl "http://localhost:8000/customer_sites/1/check_now" \
   -X POST \
   -H 'host: localhost:8000' \
   -H 'connection: keep-alive' \
   -H 'content-length: 47' \
   -H 'cache-control: max-age=0' \
   -H 'sec-ch-ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' \
   -H 'sec-ch-ua-mobile: ?0' \
   -H 'sec-ch-ua-platform: "Windows"' \
   -H 'upgrade-insecure-requests: 1' \
   -H 'origin: http://localhost:8000' \
   -H 'content-type: application/x-www-form-urlencoded' \
   -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \
   -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' \
   -H 'sec-fetch-site: same-origin' \
   -H 'sec-fetch-mode: navigate' \
   -H 'sec-fetch-user: ?1' \
   -H 'sec-fetch-dest: document' \
   -H 'referer: http://localhost:8000/customer_sites/1' \
   -H 'accept-encoding: gzip, deflate, br' \
   -H 'accept-language: en-US,en;q=0.9' \
   -H 'cookie: _ga=GA1.1.1322664234.1703033577; _fbp=fb.0.1703033579313.1311267758; _ga_7VCYHHC85N=GS1.1.1703048711.3.1.1703049107.0.0.0; remember_web_59ba36addc2b2f9401580f014c7f58ea4e30989d=eyJpdiI6IlJQU2xicG91ZUxobWJ3c1gvSFRWT1E9PSIsInZhbHVlIj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YwMDNkODM0MjliMGNmOTE0MTgzNzhjY2VmMDk0NjkyZjIzODliY2ZiYjBiZjMxMDRiNWFhMGZhOTczYWYzIiwidGFnIjoiIn0%3D' \
   -F '_token=WI9wQioA8zuO604f9o0Dypd00cUO3lLzBVnF1PSw'

do you know what causing this error and what should I do to prevent this? thanks

@nafiesl
Copy link
Owner

nafiesl commented Jan 9, 2024

Hello @ahyanarizky, I am trying to use the project for tracking https://gentrack.com (I can see it from you error message screenshot) but that issue did not happen to me.

The issue occurs because the uptime monitor project cannot reach the website in HTTPS.

Do you still experiencing the issue right now?

@nafiesl
Copy link
Owner

nafiesl commented Jan 11, 2024

@ahyanarizky We are closing this issue, please reopen when the issue stil occurs. Thanks

@nafiesl nafiesl closed this as completed Jan 11, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants