Comments (4)
刚刚试了下应该没问题呀,你试试退出登录再重新登录。
如果还不行,
按F12打开控制台,network,然后评论之后看看这个请求?
退出重新登陆后评论正常,谢谢!
from yyetsbot.
刚刚试了下应该没问题呀,你试试退出登录再重新登录。
如果还不行,
按F12打开控制台,network,然后评论之后看看这个请求?
from yyetsbot.
另一台设备没有重新登录,问题仍然存在。
控制台中,https://yyets.dmesg.app/api/user 显示 401。
HTTP/2 401 Unauthorized
date: Mon, 30 Aug 2021 08:17:10 GMT
content-type: application/json; charset=UTF-8
content-length: 34
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
cf-cache-status: DYNAMIC
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=V72sktwFSDwtfwoVdih%2BQZmyhdNHZjv3mjM4Sm%2F9L62913UrFHKJs5qffo7hAPCRls4bVyJBRwtyvxGEv2U0Xx%2FTxsqy4QTXEXcRW0co14LDX%2Bu5DIF%2B9Np1AHOx4IE33EM%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
strict-transport-security: max-age=15552000; includeSubDomains; preload
server: cloudflare
cf-ray: 686c94c639010ccb-LAX
alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400
X-Firefox-Spdy: h2
GET /api/user HTTP/2
Host: yyets.dmesg.app
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Firefox/91.0
Accept: application/json, text/plain, */*
Accept-Language: zh-CN
Accept-Encoding: gzip, deflate, br
Referer: https://yyets.dmesg.app/resource?id=26326
Connection: keep-alive
Cookie: username=2|1:0|10:1624061704|8:username|8:T2theVBK|a0f0758408aeaaa5285daef01f4210d6e2abefd29441dbb34877260249c1f58a; _ga_K76PSKSSGX=GS1.1.1630311353.1.1.1630311429.0; _ga=GA1.1.345617587.1630311353
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Cache-Control: max-age=0
TE: trailers
https://yyets.dmesg.app/api/comment 显示 403。
HTTP/2 403 Forbidden
date: Mon, 30 Aug 2021 08:17:33 GMT
content-type: text/html; charset=UTF-8
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
cf-cache-status: DYNAMIC
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=MihjmxTNIybkI1mJ%2FsDqZ30L1xlbGcRAa1ZQOpZDWXOlRQZRJqCAztRkgpsK4pd5uPDJPxLkFSwVS85uxXbQ11zdJ2chuMms3WwhXHBralzKkoNqYnjOTfuEehT6M2TxmIQ%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
strict-transport-security: max-age=15552000; includeSubDomains; preload
server: cloudflare
cf-ray: 686c95585ead0ccb-LAX
content-encoding: br
alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400
X-Firefox-Spdy: h2
POST /api/comment HTTP/2
Host: yyets.dmesg.app
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Firefox/91.0
Accept: application/json, text/plain, */*
Accept-Language: zh-CN
Accept-Encoding: gzip, deflate, br
Referer: https://yyets.dmesg.app/resource?id=26326
Content-Type: application/json;charset=utf-8
Content-Length: 81
Origin: https://yyets.dmesg.app
Connection: keep-alive
Cookie: username=2|1:0|10:1624061704|8:username|8:T2theVBK|a0f0758408aeaaa5285daef01f4210d6e2abefd29441dbb34877260249c1f58a; _ga_K76PSKSSGX=GS1.1.1630311353.1.1.1630311453.0; _ga=GA1.1.345617587.1630311353
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
TE: trailers
也不知道有没有什么用……谢谢!
from yyetsbot.
嗯,重新登录就好了。401就是表示你没登录
from yyetsbot.
Related Issues (20)
- 您好,小白询问贴 HOT 1
- 等我有空的吧,评论楼层也有限制,没有分页。 HOT 4
- 2023-1-26,无法评论,页面右上角红框报错 HOT 6
- 搜索不显示结果,右上角总是红框提示Request failed with status code 500
- meilisearch docker
- meilisearch 导入数据
- 从 MongoDB 同步数据到 meilisearch
- 搜索页面下拉框 后端
- 搜索框即时提示
- 使用 MongoDB aggregate
- 拆分 handler.py 和 Mongo.py
- meilisearch的grafana面板
- meilisearch可选组件
- mongodb replica set
- python库403 & 实时数据库更新 HOT 11
- 机器人不发链接有bug
- 建议: 添加评论点赞 HOT 1
- 离线版似乎无法使用 HOT 1
- Film
- 手动往database添加数据,无法匹配到豆瓣信息 HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yyetsbot.