网页错误日志
<!DOCTYPE html> <html lang=“en”> <head> <meta http-equiv=“content-type” content=“text/html; charset=utf-8”> <meta name=“robots” content=“NONE,NOARCHIVE”> <title>403 Forbidden</title> <style type=“text/css”> html * { padding:0; margin:0; } body * { padding:10px 20px; } body * * { padding:0; } body { font:small sans-serif; background:#eee; } body>div { border-bottom:1px solid #ddd; } h1 { font-weight:normal; margin-bottom:.4em; } h1 span { font-size:60%; color:#666; font-weight:normal; } #info { background:#f6f6f6; } #info ul { margin: 0.5em 4em; } #info p, #summary p { padding-top:10px; } #summary { background: #ffc; } #explanation { background:#eee; border-bottom: 0px none; } </style> </head> <body> <div id=“summary”> <h1>Forbidden <span>(403)</span></h1> <p>CSRF verification failed. Request aborted.</p> </div> <div id=“explanation”> <p><small>More information is available with DEBUG=True.</small></p> </div> </body> </html>
谷歌浏览器,相关截图
服务器日志
2019-06-06 08:13:43,613 [WARNING] django.request:152 get_response Not Found: /api2/repos/d72b0f6e-d2da-4e82-bf1e-4a2677e6e59e/upload-link/
2019-06-06 08:13:43,900 [WARNING] django.security.csrf:160 _reject Forbidden (CSRF token missing or incorrect.): /library/d72b0f6e-d2da-4e82-bf1e-4a2677e6e59e/XXX/XXXX/XXX/XXXX
2019-06-06 08:14:33,357 [WARNING] django.request:152 get_response Not Found: /api2/events/
2019-06-06 08:17:48,257 [WARNING] django.request:152 get_response Not Found: /api2/events/
2019-06-06 08:18:20,342 [WARNING] django.request:152 get_response Not Found: /api2/events/
2019-06-06 08:19:33,355 [WARNING] django.request:152 get_response Not Found: /api2/events/
2019-06-06 08:22:48,217 [WARNING] django.request:152 get_response Not Found: /api2/events/
2019-06-06 08:23:20,456 [WARNING] django.request:152 get_response Not Found: /api2/events/
2019-06-06 08:24:33,373 [WARNING] django.request:152 get_response Not Found: /api2/events/