freeCodeCamp / freeCodeCamp/devdocs

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

未关闭
#1,815 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Ruby
星标
39.5k
派生
2.6k
平均合并
4 天 32 分钟
30 天内合并 PR
13

描述

# 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`

贡献指南

打开贡献指南

调研方向

从 README 中的 Docker 说明开始,复现 localhost:9292 与从远程主机访问之间的差异。然后跟踪该部署中涉及的 cookie 或偏好设置处理,接着验证远程用户不再看到“Please enable cookies.”,并且可以保存偏好设置。

由索引模型根据 Issue 内容生成。

评估

技术栈
docker, ruby
领域
backend, devops
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。