Advertisement
richez77

Untitled

May 8th, 2023
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.80 KB | None | 0 0
  1. AUTHORIZATION #########################
  2. None
  3. None
  4. 402662 140077272368896 [2023-05-08 10:05:59,621] INFO trytond.wsgi <JSONRequest 10.8.0.6 'http://trytondev:8000/' [POST] common.server.version>
  5. 402662 140077272368896 [2023-05-08 10:05:59,623] INFO werkzeug 10.8.0.6 - - [08/May/2023 10:05:59] "POST / HTTP/1.1" 200 -
  6. AUTHORIZATION #########################
  7. None
  8. None
  9. 402662 140077272368896 [2023-05-08 10:06:00,259] INFO trytond.wsgi <JSONRequest 10.8.0.6 'http://trytondev:8000/tryton_dev/' [POST] common.db.login>
  10. 402662 140077272368896 [2023-05-08 10:06:00,262] DEBUG trytond.backend.postgresql.database b'SELECT COUNT(\'*\') FROM "res_user_login_attempt" AS "a" WHERE (("a"."ip_network" = \'10.8.0.6/32\') AND ("a"."create_date" >= \'2023-05-07T19:06:00.261951\'::timestamp))'
  11. 402662 140077272368896 [2023-05-08 10:06:00,267] DEBUG trytond.backend.postgresql.database b'SELECT "a"."id" AS "id", "a"."cookie" AS "cookie", "a"."create_date" AS "create_date", "a"."create_uid" AS "create_uid", "a"."login" AS "login", "a"."write_date" AS "write_date", "a"."write_uid" AS "write_uid", CAST(EXTRACT(\'EPOCH\' FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "res_user_device" AS "a" WHERE (("a"."login" = \'tintin\') AND ("a"."cookie" = \'80227d70afd245e0b8ee74973fa7fa43\')) ORDER BY "a"."id" ASC LIMIT 1'
  12. 402662 140077272368896 [2023-05-08 10:06:00,270] DEBUG trytond.backend.postgresql.database b'SELECT COUNT(\'*\') FROM "res_user_login_attempt" AS "a" WHERE ((("a"."login" = \'tintin\') AND ("a"."device_cookie" = \'80227d70afd245e0b8ee74973fa7fa43\')) AND ("a"."create_date" >= \'2023-05-07T19:06:00.270121\'::timestamp))'
  13. 402662 140077272368896 [2023-05-08 10:06:00,272] DEBUG trytond.backend.postgresql.database b'SELECT "a"."id" AS "id", "a"."create_date" AS "create_date", "a"."create_uid" AS "create_uid", "a"."db_id" AS "db_id", "a"."fs_id" AS "fs_id", "a"."fs_values" AS "fs_values", "a"."model" AS "model", "a"."module" AS "module", "a"."noupdate" AS "noupdate", "a"."values" AS "values", "a"."write_date" AS "write_date", "a"."write_uid" AS "write_uid", CAST(EXTRACT(\'EPOCH\' FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "ir_model_data" AS "a" WHERE (("a"."module" = \'res\') AND ("a"."fs_id" = \'msg_user_password\')) ORDER BY "a"."id" ASC LIMIT 1'
  14. 402662 140077272368896 [2023-05-08 10:06:00,275] DEBUG trytond.backend.postgresql.database b'SELECT "a"."db_id" AS "db_id", "a"."write_date" AS "write_date", "a"."id" AS "id" FROM "ir_model_data" AS "a" WHERE (("a"."id" IN (712)))'
  15. 402662 140077272368896 [2023-05-08 10:06:00,276] DEBUG trytond.backend.postgresql.database b'SELECT "a"."write_date" AS "write_date", "a"."text" AS "text", "a"."id" AS "id" FROM "ir_message" AS "a" WHERE (("a"."id" IN (125)))'
  16. 402662 140077272368896 [2023-05-08 10:06:00,278] DEBUG trytond.backend.postgresql.database b'SELECT "a"."id" AS "id", "a"."create_date" AS "create_date", "a"."create_uid" AS "create_uid", "a"."fuzzy" AS "fuzzy", "a"."lang" AS "lang", "a"."module" AS "module", "a"."name" AS "name", "a"."overriding_module" AS "overriding_module", "a"."res_id" AS "res_id", "a"."src" AS "src", "a"."type" AS "type", "a"."value" AS "value", "a"."write_date" AS "write_date", "a"."write_uid" AS "write_uid", CAST(EXTRACT(\'EPOCH\' FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "ir_translation" AS "a" WHERE (("a"."lang" = \'en\') AND ("a"."type" = \'model\') AND ("a"."name" = \'ir.message,text\') AND ("a"."value" != \'\') AND ("a"."value" IS NOT NULL) AND ("a"."res_id" IN (125)) AND (("a"."fuzzy" = false) OR ("a"."fuzzy" IS NULL))) ORDER BY "a"."id" ASC'
  17. 402662 140077272368896 [2023-05-08 10:06:00,282] DEBUG trytond.wsgi Exception when processing <JSONRequest 10.8.0.6 'http://trytondev:8000/tryton_dev/' [POST] common.db.login>
  18. Traceback (most recent call last):
  19. File "/srv/tryton/6.7/trytond/trytond/wsgi.py", line 109, in dispatch_request
  20. return endpoint(request, **request.view_args)
  21. File "/srv/tryton/6.7/trytond/trytond/protocols/dispatcher.py", line 43, in rpc
  22. return methods.get(request.rpc_method, _dispatch)(
  23. File "/srv/tryton/6.7/trytond/trytond/protocols/dispatcher.py", line 53, in login
  24. session = security.login(
  25. File "/srv/tryton/6.7/trytond/trytond/security.py", line 33, in login
  26. user_id = User.get_login(loginname, parameters)
  27. File "/srv/tryton/6.7/trytond/trytond/res/user.py", line 701, in get_login
  28. user_ids.add(func(login, parameters))
  29. File "/srv/tryton/6.7/trytond/trytond/res/user.py", line 744, in _login_password
  30. raise LoginException('password', msg, type='password')
  31. trytond.exceptions.LoginException: ('LoginException', ('password', 'Password for tintin', 'password'))
  32. 402662 140077272368896 [2023-05-08 10:06:00,284] INFO werkzeug 10.8.0.6 - - [08/May/2023 10:06:00] "POST /tryton_dev/ HTTP/1.1" 200 -
  33. AUTHORIZATION #########################
  34. None
  35. None
  36. 402662 140077272368896 [2023-05-08 10:06:03,410] INFO trytond.wsgi <JSONRequest 10.8.0.6 'http://trytondev:8000/tryton_dev/' [POST] common.db.login>
  37. 402662 140077272368896 [2023-05-08 10:06:03,412] DEBUG trytond.backend.postgresql.database b'SELECT COUNT(\'*\') FROM "res_user_login_attempt" AS "a" WHERE (("a"."ip_network" = \'10.8.0.6/32\') AND ("a"."create_date" >= \'2023-05-07T19:06:03.411672\'::timestamp))'
  38. 402662 140077272368896 [2023-05-08 10:06:03,414] DEBUG trytond.backend.postgresql.database b'SELECT "a"."id" AS "id", "a"."cookie" AS "cookie", "a"."create_date" AS "create_date", "a"."create_uid" AS "create_uid", "a"."login" AS "login", "a"."write_date" AS "write_date", "a"."write_uid" AS "write_uid", CAST(EXTRACT(\'EPOCH\' FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "res_user_device" AS "a" WHERE (("a"."login" = \'tintin\') AND ("a"."cookie" = \'80227d70afd245e0b8ee74973fa7fa43\')) ORDER BY "a"."id" ASC LIMIT 1'
  39. 402662 140077272368896 [2023-05-08 10:06:03,416] DEBUG trytond.backend.postgresql.database b'SELECT COUNT(\'*\') FROM "res_user_login_attempt" AS "a" WHERE ((("a"."login" = \'tintin\') AND ("a"."device_cookie" = \'80227d70afd245e0b8ee74973fa7fa43\')) AND ("a"."create_date" >= \'2023-05-07T19:06:03.415982\'::timestamp))'
  40. 402662 140077272368896 [2023-05-08 10:06:03,417] DEBUG trytond.backend.postgresql.database b'SELECT "a"."id", "a"."password_hash", CASE WHEN ("a"."password_reset_expire" > CURRENT_TIMESTAMP) THEN "a"."password_reset" END FROM "res_user" AS "a" WHERE (("a"."login" = \'tintin\') AND ("a"."active" = true))'
  41. 402662 140077272368896 [2023-05-08 10:06:04,055] DEBUG trytond.backend.postgresql.database b'DELETE FROM "res_user_login_attempt" WHERE ("create_date" < \'2023-05-07T19:06:04.055227\'::timestamp)'
  42. 402662 140077272368896 [2023-05-08 10:06:04,069] DEBUG trytond.backend.postgresql.database b'INSERT INTO "res_user_login_attempt" AS "a" ("create_uid", "create_date", "device_cookie", "ip_address", "ip_network", "login") VALUES (0, CURRENT_TIMESTAMP, \'80227d70afd245e0b8ee74973fa7fa43\', \'10.8.0.6\', \'10.8.0.6/32\', \'tintin\') RETURNING "a"."id"'
  43. 402662 140077272368896 [2023-05-08 10:06:04,072] DEBUG trytond.backend.postgresql.database b'SELECT "a"."ip_network" AS "ip_network", "a"."create_date" AS "create_date", "a"."write_date" AS "write_date", "a"."login" AS "login", "a"."create_uid" AS "create_uid", "a"."ip_address" AS "ip_address", "a"."id" AS "id", "a"."write_uid" AS "write_uid", "a"."device_cookie" AS "device_cookie" FROM "res_user_login_attempt" AS "a" WHERE (("a"."id" IN (36)))'
  44. 402662 140077272368896 [2023-05-08 10:06:04,074] DEBUG trytond.backend.postgresql.database b'SELECT COUNT(\'*\') FROM "ir_model" AS "a" WHERE true'
  45. 402662 140077272368896 [2023-05-08 10:06:04,077] DEBUG trytond.backend.postgresql.database b'SELECT "a"."id" AS "id", "a"."action" AS "action", "a"."active" AS "active", "a"."condition" AS "condition", "a"."create_date" AS "create_date", "a"."create_uid" AS "create_uid", "a"."limit_number" AS "limit_number", "a"."model" AS "model", "a"."notification_email" AS "notification_email", "a"."on_create" AS "on_create", "a"."on_delete" AS "on_delete", "a"."on_time" AS "on_time", "a"."on_write" AS "on_write", "a"."write_date" AS "write_date", "a"."write_uid" AS "write_uid", CAST(EXTRACT(\'EPOCH\' FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "ir_trigger" AS "a" LEFT JOIN (SELECT DISTINCT ON ("c"."res_id", "c"."name") "c"."res_id" AS "res_id", "c"."value" AS "value", "c"."name" AS "name" FROM "ir_translation" AS "c" WHERE ((("c"."lang" = \'en\') AND ("c"."type" = \'model\')) AND ("c"."fuzzy" = false)) ORDER BY "c"."res_id", "c"."name", "c"."id" DESC) AS "b" ON (("b"."res_id" = "a"."id") AND ("b"."name" = \'ir.trigger,name\')) WHERE (("a"."model" IN (SELECT "d"."id" AS "id" FROM "ir_model" AS "d" WHERE (("d"."model" = \'res.user.login.attempt\')))) AND ("a"."on_create" = true) AND ("a"."active" = true)) ORDER BY COALESCE(NULLIF(COALESCE(NULLIF(NULL, \'\'), "b"."value"), \'\'), "a"."name") ASC, "a"."id" ASC'
  46. 402662 140077272368896 [2023-05-08 10:06:04,081] ERROR trytond.security login failed for 'tintin' from '10.8.0.6' on database 'tryton_dev'
  47. 402662 140077272368896 [2023-05-08 10:06:04,081] DEBUG trytond.wsgi Exception when processing <JSONRequest 10.8.0.6 'http://trytondev:8000/tryton_dev/' [POST] common.db.login>
  48. Traceback (most recent call last):
  49. File "/srv/tryton/6.7/trytond/trytond/wsgi.py", line 109, in dispatch_request
  50. return endpoint(request, **request.view_args)
  51. File "/srv/tryton/6.7/trytond/trytond/protocols/dispatcher.py", line 43, in rpc
  52. return methods.get(request.rpc_method, _dispatch)(
  53. File "/srv/tryton/6.7/trytond/trytond/protocols/dispatcher.py", line 63, in login
  54. abort(code)
  55. File "/home/tryton/.local/lib/python3.9/site-packages/werkzeug/exceptions.py", line 876, in abort
  56. _aborter(status, *args, **kwargs)
  57. File "/home/tryton/.local/lib/python3.9/site-packages/werkzeug/exceptions.py", line 861, in __call__
  58. raise self.mapping[code](*args, **kwargs)
  59. werkzeug.exceptions.Unauthorized: 401 Unauthorized: The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.
  60. 402662 140077272368896 [2023-05-08 10:06:04,083] INFO werkzeug 10.8.0.6 - - [08/May/2023 10:06:04] "POST /tryton_dev/ HTTP/1.1" 401 -
  61. AUTHORIZATION #########################
  62. None
  63. None
  64. 402662 140077272368896 [2023-05-08 10:06:04,248] INFO trytond.wsgi <JSONRequest 10.8.0.6 'http://trytondev:8000/tryton_dev/' [POST] common.db.login>
  65. 402662 140077272368896 [2023-05-08 10:06:04,250] DEBUG trytond.backend.postgresql.database b'SELECT COUNT(\'*\') FROM "res_user_login_attempt" AS "a" WHERE (("a"."ip_network" = \'10.8.0.6/32\') AND ("a"."create_date" >= \'2023-05-07T19:06:04.250069\'::timestamp))'
  66. 402662 140077272368896 [2023-05-08 10:06:04,254] DEBUG trytond.backend.postgresql.database b'SELECT "a"."id" AS "id", "a"."cookie" AS "cookie", "a"."create_date" AS "create_date", "a"."create_uid" AS "create_uid", "a"."login" AS "login", "a"."write_date" AS "write_date", "a"."write_uid" AS "write_uid", CAST(EXTRACT(\'EPOCH\' FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "res_user_device" AS "a" WHERE (("a"."login" = \'tintin\') AND ("a"."cookie" = \'80227d70afd245e0b8ee74973fa7fa43\')) ORDER BY "a"."id" ASC LIMIT 1'
  67. 402662 140077272368896 [2023-05-08 10:06:04,256] DEBUG trytond.backend.postgresql.database b'SELECT COUNT(\'*\') FROM "res_user_login_attempt" AS "a" WHERE ((("a"."login" = \'tintin\') AND ("a"."device_cookie" = \'80227d70afd245e0b8ee74973fa7fa43\')) AND ("a"."create_date" >= \'2023-05-07T19:06:04.256453\'::timestamp))'
  68. 402662 140077272368896 [2023-05-08 10:06:05,259] DEBUG trytond.wsgi Exception when processing <JSONRequest 10.8.0.6 'http://trytondev:8000/tryton_dev/' [POST] common.db.login>
  69. Traceback (most recent call last):
  70. File "/srv/tryton/6.7/trytond/trytond/wsgi.py", line 109, in dispatch_request
  71. return endpoint(request, **request.view_args)
  72. File "/srv/tryton/6.7/trytond/trytond/protocols/dispatcher.py", line 43, in rpc
  73. return methods.get(request.rpc_method, _dispatch)(
  74. File "/srv/tryton/6.7/trytond/trytond/protocols/dispatcher.py", line 53, in login
  75. session = security.login(
  76. File "/srv/tryton/6.7/trytond/trytond/security.py", line 33, in login
  77. user_id = User.get_login(loginname, parameters)
  78. File "/srv/tryton/6.7/trytond/trytond/res/user.py", line 701, in get_login
  79. user_ids.add(func(login, parameters))
  80. File "/srv/tryton/6.7/trytond/trytond/res/user.py", line 744, in _login_password
  81. raise LoginException('password', msg, type='password')
  82. trytond.exceptions.LoginException: ('LoginException', ('password', 'Password for tintin', 'password'))
  83. 402662 140077272368896 [2023-05-08 10:06:05,260] INFO werkzeug 10.8.0.6 - - [08/May/2023 10:06:05] "POST /tryton_dev/ HTTP/1.1" 200 -
  84.  
  85.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement