freeCodeCamp / freeCodeCamp/devdocs

Get "Please enable cookies." when access from remote host.

Open
#1,815 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Ruby
Stars
39.5k
Forks
2.6k
Avg merge
4d 32m
Merged PRs (30d)
13

Description

# Bug report

Hi,

I'm working on deploying devdocs on no-internet-access internal for our team. We get "Please enable cookies." when someone access devdocs service from their own PC. But, the devdocs service works well when I access it from its hosted server.

![image](https://user-images.githubusercontent.com/7487750/190328323-92bee551-5ceb-4f50-bc7e-f4c67bcf4181.png)

I have to say this amazing project is very useful for me and thanks for your guys' contribution.

## Steps to reproduce

Just execute the command as README.
`git clone https://github.com/freeCodeCamp/devdocs.git && cd devdocs`
`docker build -t thibaut/devdocs .`
`docker run --name devdocs -d -p 9292:9292 thibaut/devdocs`

Then, access the service from localhost and a remote host.

You will get `"Please enable cookies."` when you access from remote host and can not save preferences.

You will not get `"Please enable cookies."` when you access via `localhost:9292`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.