94 lines
4.2 KiB
Plaintext
94 lines
4.2 KiB
Plaintext
18:54:16 config 200 {"status": 200, "data": {"account": {"authentication_method": "username", "is_open_for_signup": true
|
|
18:54:16 csrftoken from the backend admin route 200 len 32
|
|
18:54:17 signup 403 <!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
<meta na
|
|
18:54:17 login 403 <!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="content-type" conten
|
|
18:54:17 session 401 {"status": 401, "data": {"flows": [{"id": "login"}, {"id": "signup"}]}, "meta":
|
|
18:54:17 collection 500
|
|
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Server Error (500)</title>
|
|
</head>
|
|
<body>
|
|
<h1>Se
|
|
18:54:17 location Tihany 401
|
|
18:54:17 location Badacsony 401
|
|
18:54:17 location Keszthely 401
|
|
18:54:17 photo Tihany 403 Cross-site POST form submissions are forbidden
|
|
18:54:17 photo Badacsony 403 Cross-site POST form submissions are forbidden
|
|
18:54:17 locations readback 200 []
|
|
--- second attempt: the first two runs sent no Origin header (SvelteKit and Django both refuse a POST without it)
|
|
18:54:27 config 200 {"status": 200, "data": {"account": {"authentication_method": "username", "is_open_for_signup": true
|
|
18:54:27 csrftoken from the backend admin route 200 len 32
|
|
18:54:27 signup 403 <!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
<meta na
|
|
18:54:28 login 403 <!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="content-type" conten
|
|
18:54:28 session 401 {"status": 401, "data": {"flows": [{"id": "login"}, {"id": "signup"}]}, "meta":
|
|
18:54:28 collection 500
|
|
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Server Error (500)</title>
|
|
</head>
|
|
<body>
|
|
<h1>Se
|
|
18:54:28 location Tihany 401
|
|
18:54:28 location Badacsony 401
|
|
18:54:28 location Keszthely 401
|
|
18:54:28 photo Tihany 500 {"error":"Internal Server Error"}
|
|
18:54:34 photo Badacsony 502 Bad Gateway
|
|
18:54:34 locations readback 200 []
|
|
18:55:13 --- third attempt: allauth pages on the backend route (/accounts), as the traefik rule exposes them
|
|
18:55:13 GET /accounts/signup/ 200 form ['viewport', 'email', 'username', 'first_name', 'last_name', 'password1', 'password2', 'csrfmiddlewaretoken']
|
|
18:55:13 POST signup 302 https://travel.enkicsifelhom.hu
|
|
18:55:13 jar [('sessionid', 'travel.enkicsifelhom.hu'), ('messages', '.enkicsifelhom.hu'), ('sessionid', '.enkicsifelhom.hu')]
|
|
18:55:14 API as logged in 200 {"count":0,"next":null,"previous":null,"results":[]}
|
|
18:55:39 login 302
|
|
18:55:39 csrf len 32
|
|
18:55:39 collection 403 {"detail":"CSRF Failed: CSRF token from the 'X-Csrftoken' HTTP header has incorr
|
|
18:55:39 location Tihany 403 {"detail":"CSRF Failed: CSRF token from the 'X-Csrftoken' HTTP header has incorrect length."}
|
|
18:55:40 location Badacsony 403 {"detail":"CSRF Failed: CSRF token from the 'X-Csrftoken' HTTP header has incorrect length."}
|
|
18:55:40 location Keszthely 403 {"detail":"CSRF Failed: CSRF token from the 'X-Csrftoken' HTTP header has incorrect length."}
|
|
18:55:40 photo Tihany 500 {"error":"Internal Server Error"}
|
|
18:55:46 photo Badacsony 502 Bad Gateway
|
|
18:55:46 edit Badacsony 403
|
|
18:55:46 readback 200 []
|
|
18:56:23 --- fourth attempt: cookies carried by hand in one Cookie header (the frontend proxy clears csrftoken on every response)
|
|
18:56:23 login 302 sid len 32 csrf len 32
|
|
18:56:23 collection 500
|
|
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Server Error (500)</title>
|
|
</head>
|
|
<body>
|
|
<h1>Se
|
|
18:56:23 readback 200 []
|
|
18:56:53 --- fifth attempt: the frontend login form (POST /login, as the browser does), account created at 18:55:13 via /accounts/signup/
|
|
18:56:54 POST /login 200 None cookies [('sessionid', '.enkicsifelhom.hu')]
|
|
18:56:54 session via proxy 200 {"status": 200, "data": {"user": {"id": 1, "display": "kovacsanna", "has_usable_
|
|
18:56:54 collection 201 {"id":"45af5879-2482-45c6-a27e-080a21577301","description":"Családi nyaralás a Balatonnál, két hét,
|
|
18:56:54 location Tihany 201
|
|
18:56:55 visit 201
|
|
18:56:55 location Badacsony 201
|
|
18:56:56 visit 201
|
|
18:56:56 location Keszthely 201
|
|
18:56:56 visit 201
|
|
18:57:02 photo Tihany 502 Bad Gateway
|
|
18:57:03 photo Badacsony 500 {"error":"Internal Server Error"}
|
|
18:57:03 edit Badacsony 200
|
|
18:57:03 readback 200 [('Badacsony', 4.0, 0, 1), ('Keszthely', 5.0, 0, 1), ('Tihany', 5.0, 0, 1)]
|