studio1902 / statamic-peak

Statamic Peak is an opinionated starter kit for all your Statamic sites.
GNU General Public License v3.0
588 stars 100 forks source link

Error when cURL the packagist #382

Closed buddy94 closed 8 months ago

buddy94 commented 8 months ago

Bug description

From one day to another peak stopped working.

In every reaquest that I do to my laravel application this is appended to the laravel logs:

This is the error: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://repo.packagist.org/p2/studio1902/statamic-peak.json

If you go to this link: https://repo.packagist.org/p2/studio1902/statamic-peak.json it said: "404 not found, no packages here"

How to reproduce

If you go to this link: https://repo.packagist.org/p2/studio1902/statamic-peak.json it said: "404 not found, no packages here"

Logs

No response

Environment

Environment
Application Name: Amici Corecco
Laravel Version: 10.41.0
PHP Version: 8.2.10
Composer Version: 2.6.3
Environment: local
Debug Mode: ENABLED
URL: localhost:8000
Maintenance Mode: OFF

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: NOT CACHED

Drivers
Broadcasting: log
Cache: statamic
Database: mysql
Logs: stack / single
Mail: smtp
Queue: sync
Session: cookie

Statamic
Addons: 0
Antlers: runtime
Stache Watcher: Enabled
Static Caching: Disabled
Version: 4.44.0 Solo

Additional details

No response

robdekort commented 8 months ago

Hey, curious to learn what was the issue here. Someone else seems to be experiencing this (on Windows).

skcorroh commented 6 months ago

I'm currently experiencing this as well, trying to start a brand new project using peak and I'm unable to

robdekort commented 6 months ago

I remember this had something to do with the Statamic CLI or the Statamic Outpost being down. Did it start working again for you @skcorroh? Otherwise I'd raise an issue on the Statamic CLI repo.

buddy94 commented 6 months ago

Sorry I didn't resolve the issue! I was using my laptop and I just switched on my desktop and everything works fine. Still have the issue on my laptop...

robdekort commented 6 months ago

Is your Statamic CLI up to date on your laptop? It should be > 3.0

buddy94 commented 6 months ago

Yes it is :)

robdekort commented 6 months ago

It's not on an issue on the Peak side of things. However I'm not sure what's the cause of this.