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

Websocket error when navigate to non-root URL #52

Open
3 tasks done
abhijeetbodas2001 opened this issue Sep 28, 2023 · 0 comments
Open
3 tasks done

Websocket error when navigate to non-root URL #52

abhijeetbodas2001 opened this issue Sep 28, 2023 · 0 comments

Comments

@abhijeetbodas2001
Copy link

Checklist

  • I have search the issue list for my issue.
  • I have verified the behavior with jekyll.
  • I tried hard to create a reproducible test case.

System information

Liquid version: gojekyll --version
develop
Commit hash: (if version = develop)
9718b42

Expected behavior

Hyperlinks and all URLs work correctly.

Actual behavior and reproducer

Only the index page loads. All other pages (which are linked from the index page) give 404. I get the following error in gojekyll serve console output when I navigate to some other page (for example, clicking on the "articles" hyperlink on the home page).

# I run "gojekyll serve", server is running
Configuration file: /home/apb/code/abhijeetbodas2001.github.io/_config.yml
            Source: /home/apb/code/abhijeetbodas2001.github.io
    Server address: http://127.0.0.1:4000/
  Server running... press ctrl-c to stop.
# I now open my browser, and click on the "articles" hyperlink on the homepage (which goes to the localhost:4000/articles URL)
# I now get a 404 (I have a custom 404 page, which shows up in the browser.
# The following error pops up in console output:
[LiveReload] websocket: close 1001 (going away)
[LiveReload] websocket: close 1001 (going away)

I have my site source at https://github.com/abhijeetbodas2001/abhijeetbodas2001.github.io and am currently trying out gojekyll (have used only the ruby gem earlier).
I am running Debian 12 bookworm.

Would appreciate any sort of help on how to fix this. Thanks for all your efforts on this project!

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

1 participant