vuestorefront / vue-storefront

Alokai is a Frontend as a Service solution that simplifies composable commerce. It connects all the technologies needed to build and deploy fast & scalable ecommerce frontends. It guides merchants to deliver exceptional customer experiences quickly and easily.
https://www.alokai.com
MIT License
10.59k stars 2.08k forks source link

[Bug]: Unable to verify the first certificate #6766

Closed superma312 closed 2 years ago

superma312 commented 2 years ago

Describe the Bug

FetchError, Unable to verify the first certificate while running with magento 2.4.3 local api.

image

Current behavior

FetchError, Unable to verify the first certificate

Expected behavior

Vue storefront UI should appear.

Steps to reproduce

1: Install magento 2.4.3 locally using curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/onelinesetup | bash -s -- magento.test 2.4.4

  1. Install vue storefront project locally
  2. Create .env in vue storefront project like this.
    
    VSF_NUXT_APP_ENV=development
    VSF_NUXT_APP_PORT=3000

VSF_STORE_URL=http://localhost:3000

VSF_MAGENTO_BASE_URL=magento.test VSF_MAGENTO_GRAPHQL_URL=https://magento.test/graphql

VSF_MAGENTO_EXTERNAL_CHECKOUT_ENABLED=false VSF_MAGENTO_EXTERNAL_CHECKOUT_URL=https://magento.test VSF_MAGENTO_EXTERNAL_CHECKOUT_SYNC_PATH=/vue/cart/sync

VSF_IMAGE_PROVIDER=cloudinary VSF_IMAGE_PROVIDER_BASE_URL=https://res-4.cloudinary.com/{YOUR_ID}/image/upload/ VSF_IMAGE_PROVIDER_DOMAIN=https://res-4.cloudinary.com

VSF_REDIS_ENABLED=false VSF_REDIS_HOST=127.0.0.1 VSF_REDIS_PORT=6379 VSF_REDIS_KEY_PREFIX= VSF_REDIS_CACHE_INVALIDATE_URL=/cache-invalidate

VSF_RECAPTCHA_ENABLED=false VSF_RECAPTCHA_SITE_KEY= VSF_RECAPTCHA_SECRET_KEY= VSF_RECAPTCHA_HIDE_BADGE= VSF_RECAPTCHA_SIZE=invisible VSF_RECAPTCHA_MIN_SCORE=0.5 VSF_RECAPTCHA_VERSION=3


4. Run vue storefront using `npm run dev`

### What version of Vue Storefront are you using?

1.12.3

### What version of Node.js are you using?

14.18.3

### What browser (and version) are you using?

Chrome, Version 102.0.5005.115 (Official Build) (x86_64)

### What operating system (and version) are you using?

Mac

### Relevant log output

_No response_

### Able to fix / change the documentation?

- [ ] Yes
- [ ] No

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct
filipsobol commented 2 years ago

Duplicate of https://github.com/vuestorefront/vue-storefront-1/issues/530