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

[BUG] Cannot GET / - https://127.0.0.1:3001/ doesn't work + Packer start doesn't watch SCSS changes #98

Open
haroldao opened this issue May 27, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@haroldao
Copy link

Describe the bug
Cannot GET / - https://127.0.0.1:3001/ doesn't work + Packer start doesn't watch changes

To Reproduce
Steps to reproduce the behavior:

  1. npm install
  2. npm run build
  3. npm run deploy
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

System (please complete the following information):

  • Windows 10
  • Last One
  • Last One
  • Vivaldi, Firefox Dev Edition

Packer (please complete the following information):

  • image

Theme (please complete the following information):

@haroldao
Copy link
Author

... So to work... I have to do => Packer Build, packer Deploy to see changes.

@haroldao haroldao changed the title [BUG] Cannot GET / - https://127.0.0.1:3001/ doesn't work + Packer start doesn't watch changes [BUG] Cannot GET / - https://127.0.0.1:3001/ doesn't work + Packer start doesn't watch SCSS changes May 27, 2021
@haroldao
Copy link
Author

?

@bstarr322
Copy link

@haroldao Were you able to fix this issue?

@haroldao
Copy link
Author

@haroldao Were you able to fix this issue?

nope

@hayes0724
Copy link
Owner

@haroldao This looks like an SSL issue.

  1. The website/server should load on port 3000
  2. The assets (js/css) will load on port 3001 and require SSL working (otherwise you get the above error)
  3. Not familiar with Vivaldi, typically though you get a warning icon next to the url lock icon if there is an SSL error (looks like the screenshot above)

Check this section out:
Packer SSL docs

Also try the ssl:check or ssl:make command
Packer SSL commands

@maks-afew
Copy link

maks-afew commented Jul 24, 2023

@hayes0724 Hi, I have the same issue, and all I've done is just starting the basic project to see if it works. I've followed the docs and saved the cerfiticates, made ssl:make and ssl:check and everything seemed to be correct. But in the browser, when I try to get an asset, it says "Website is not available" instead of loading the assets or at least allow to proceed to the "unsafe" address.

I've noticed that if I type in the browser url "https://localhost:3001/template.index.js" instead of "https://127.0.0.1:3001/template.index.js", then I can get the file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants