Advertisement
richez77

Untitled

May 8th, 2023
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.63 KB | None | 0 0
  1. 402671 140700133652288 [2023-05-08 10:16:23,164] INFO werkzeug WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  2. * Running on all addresses (0.0.0.0)
  3. * Running on http://127.0.0.1:8000
  4. * Running on http://172.16.1.144:8000
  5. 402671 140700133652288 [2023-05-08 10:16:23,164] INFO werkzeug Press CTRL+C to quit
  6. AUTHORIZATION #########################
  7. None
  8. None
  9. 402671 140699673929472 [2023-05-08 10:16:31,012] WARNING py.warnings /srv/tryton/6.7/trytond/trytond/protocols/jsonrpc.py:129: DeprecationWarning: The 'charset' attribute is deprecated and will not be used in Werkzeug 2.4. Interpreting bytes as text in body, form, and cookie data will always use UTF-8.
  10. self.charset, self.encoding_errors),
  11.  
  12. 402671 140699673929472 [2023-05-08 10:16:31,012] WARNING py.warnings /srv/tryton/6.7/trytond/trytond/protocols/jsonrpc.py:129: DeprecationWarning: The 'encoding_errors' attribute is deprecated and will not be used in Werkzeug 2.4.
  13. self.charset, self.encoding_errors),
  14.  
  15. 402671 140699673929472 [2023-05-08 10:16:31,011] INFO trytond.wsgi <JSONRequest 10.8.0.6 'http://trytondev:8000/' [POST] common.server.version>
  16. 402671 140699673929472 [2023-05-08 10:16:31,013] INFO werkzeug 10.8.0.6 - - [08/May/2023 10:16:31] "POST / HTTP/1.1" 200 -
  17. AUTHORIZATION #########################
  18. None
  19. None
  20. 402671 140699673929472 [2023-05-08 10:16:31,716] INFO trytond.wsgi <JSONRequest 10.8.0.6 'http://trytondev:8000/tryton_dev/' [POST] common.db.login>
  21. 402671 140699673929472 [2023-05-08 10:16:31,719] 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:16:31.719057\'::timestamp))'
  22. 402671 140699673929472 [2023-05-08 10:16:31,723] 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'
  23. 402671 140699673929472 [2023-05-08 10:16:31,726] 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:16:31.725881\'::timestamp))'
  24. 402671 140699673929472 [2023-05-08 10:16:31,728] 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'
  25. 402671 140699673929472 [2023-05-08 10:16:31,731] 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)))'
  26. 402671 140699673929472 [2023-05-08 10:16:31,733] DEBUG trytond.backend.postgresql.database b'SELECT "a"."text" AS "text", "a"."write_date" AS "write_date", "a"."id" AS "id" FROM "ir_message" AS "a" WHERE (("a"."id" IN (125)))'
  27. 402671 140699673929472 [2023-05-08 10:16:31,735] 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'
  28. 402671 140699673929472 [2023-05-08 10:16:31,739] DEBUG trytond.wsgi Exception when processing <JSONRequest 10.8.0.6 'http://trytondev:8000/tryton_dev/' [POST] common.db.login>
  29. Traceback (most recent call last):
  30. File "/srv/tryton/6.7/trytond/trytond/wsgi.py", line 109, in dispatch_request
  31. return endpoint(request, **request.view_args)
  32. File "/srv/tryton/6.7/trytond/trytond/protocols/dispatcher.py", line 43, in rpc
  33. return methods.get(request.rpc_method, _dispatch)(
  34. File "/srv/tryton/6.7/trytond/trytond/protocols/dispatcher.py", line 53, in login
  35. session = security.login(
  36. File "/srv/tryton/6.7/trytond/trytond/security.py", line 33, in login
  37. user_id = User.get_login(loginname, parameters)
  38. File "/srv/tryton/6.7/trytond/trytond/res/user.py", line 701, in get_login
  39. user_ids.add(func(login, parameters))
  40. File "/srv/tryton/6.7/trytond/trytond/res/user.py", line 744, in _login_password
  41. raise LoginException('password', msg, type='password')
  42. trytond.exceptions.LoginException: ('LoginException', ('password', 'Password for tintin', 'password'))
  43. 402671 140699673929472 [2023-05-08 10:16:31,741] INFO werkzeug 10.8.0.6 - - [08/May/2023 10:16:31] "POST /tryton_dev/ HTTP/1.1" 200 -
  44. AUTHORIZATION #########################
  45. None
  46. None
  47. 402671 140699673929472 [2023-05-08 10:16:37,919] INFO trytond.wsgi <JSONRequest 10.8.0.6 'http://trytondev:8000/tryton_dev/' [POST] common.db.login>
  48. 402671 140699673929472 [2023-05-08 10:16:37,920] 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:16:37.920598\'::timestamp))'
  49. 402671 140699673929472 [2023-05-08 10:16:37,923] 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'
  50. 402671 140699673929472 [2023-05-08 10:16:37,925] 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:16:37.925199\'::timestamp))'
  51. 402671 140699673929472 [2023-05-08 10:16:37,926] 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))'
  52. 402671 140699673929472 [2023-05-08 10:16:38,373] DEBUG trytond.backend.postgresql.database b'DELETE FROM "res_user_login_attempt" WHERE (("login" = \'tintin\') AND ("device_cookie" = \'80227d70afd245e0b8ee74973fa7fa43\'))'
  53. 402671 140699673929472 [2023-05-08 10:16:38,390] DEBUG trytond.backend.postgresql.database b'INSERT INTO "ir_session" AS "a" ("create_uid", "create_date", "key") VALUES (7, CURRENT_TIMESTAMP, \'f4928533d298f5cfa399cefa6dc7234b55bec9b521923e45d33e2334b06fd84f\') RETURNING "a"."id"'
  54. 402671 140699673929472 [2023-05-08 10:16:38,394] DEBUG trytond.backend.postgresql.database b'SELECT "a"."key" AS "key", "a"."write_date" AS "write_date", "a"."write_uid" AS "write_uid", "a"."id" AS "id", "a"."create_uid" AS "create_uid", "a"."create_date" AS "create_date" FROM "ir_session" AS "a" WHERE (("a"."id" IN (413)))'
  55. 402671 140699673929472 [2023-05-08 10:16:38,395] DEBUG trytond.backend.postgresql.database b'SELECT COUNT(\'*\') FROM "ir_model" AS "a" WHERE true'
  56. 402671 140699673929472 [2023-05-08 10:16:38,400] DEBUG trytond.backend.postgresql.database b'SELECT "a"."id" AS "id", "a"."create_date" AS "create_date", "a"."create_uid" AS "create_uid", "a"."hostname" AS "hostname", "a"."language" AS "language", "a"."product_price_decimal" AS "product_price_decimal", "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_configuration" AS "a" WHERE true ORDER BY "a"."id" ASC LIMIT 1'
  57. 402671 140699673929472 [2023-05-08 10:16:38,402] DEBUG trytond.backend.postgresql.database b'SELECT "a"."id" AS "id", "a"."create_uid" AS "create_uid", "a"."product_price_decimal" AS "product_price_decimal", "a"."language" AS "language", "a"."write_date" AS "write_date", "a"."hostname" AS "hostname", "a"."write_uid" AS "write_uid", "a"."create_date" AS "create_date" FROM "ir_configuration" AS "a" WHERE (("a"."id" IN (1)))'
  58. 402671 140699673929472 [2023-05-08 10:16:38,404] 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" = \'ir.session\')))) AND ("a"."on_create" = true) AND ("a"."active" = true)) ORDER BY COALESCE(NULLIF(COALESCE(NULLIF(NULL, \'\'), "b"."value"), \'\'), "a"."name") ASC, "a"."id" ASC'
  59. 402671 140699673929472 [2023-05-08 10:16:38,409] INFO trytond.security login succeeded for 'tintin' from '10.8.0.6' on database 'tryton_dev'
  60. 402671 140699673929472 [2023-05-08 10:16:38,409] INFO werkzeug 10.8.0.6 - - [08/May/2023 10:16:38] "POST /tryton_dev/ HTTP/1.1" 200 -
  61. AUTHORIZATION #########################
  62. Session dGludGluOjc6ZjQ5Mjg1MzNkMjk4ZjVjZmEzOTljZWZhNmRjNzIzNGI1NWJlYzliNTIxOTIzZTQ1ZDMzZTIzMzRiMDZmZDg0Zg==
  63. 402671 140699673929472 [2023-05-08 10:16:38,567] INFO trytond.wsgi <JSONRequest 10.8.0.6 'http://trytondev:8000/tryton_dev/' [POST] model.res.user.device.renew>
  64. 402671 140699673929472 [2023-05-08 10:16:38,569] DEBUG trytond.wsgi Exception when processing <JSONRequest 10.8.0.6 'http://trytondev:8000/tryton_dev/' [POST] model.res.user.device.renew>
  65. Traceback (most recent call last):
  66. File "/srv/tryton/6.7/trytond/trytond/wsgi.py", line 109, in dispatch_request
  67. return endpoint(request, **request.view_args)
  68. File "/srv/tryton/6.7/trytond/trytond/protocols/dispatcher.py", line 43, in rpc
  69. return methods.get(request.rpc_method, _dispatch)(
  70. File "/srv/tryton/6.7/trytond/trytond/wsgi.py", line 81, in wrapper
  71. abort(http.client.UNAUTHORIZED, response=response)
  72. File "/home/tryton/.local/lib/python3.9/site-packages/werkzeug/exceptions.py", line 876, in abort
  73. _aborter(status, *args, **kwargs)
  74. File "/home/tryton/.local/lib/python3.9/site-packages/werkzeug/exceptions.py", line 861, in __call__
  75. raise self.mapping[code](*args, **kwargs)
  76. 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.
  77. 402671 140699673929472 [2023-05-08 10:16:38,570] INFO werkzeug 10.8.0.6 - - [08/May/2023 10:16:38] "POST /tryton_dev/ HTTP/1.1" 401 -
  78. AUTHORIZATION #########################
  79. Session dGludGluOjc6ZjQ5Mjg1MzNkMjk4ZjVjZmEzOTljZWZhNmRjNzIzNGI1NWJlYzliNTIxOTIzZTQ1ZDMzZTIzMzRiMDZmZDg0Zg==
  80. 402671 140699673929472 [2023-05-08 10:16:38,673] INFO trytond.wsgi <JSONRequest 10.8.0.6 'http://trytondev:8000/tryton_dev/' [POST] model.res.user.get_preferences>
  81. 402671 140699673929472 [2023-05-08 10:16:38,674] DEBUG trytond.wsgi Exception when processing <JSONRequest 10.8.0.6 'http://trytondev:8000/tryton_dev/' [POST] model.res.user.get_preferences>
  82. Traceback (most recent call last):
  83. File "/srv/tryton/6.7/trytond/trytond/wsgi.py", line 109, in dispatch_request
  84. return endpoint(request, **request.view_args)
  85. File "/srv/tryton/6.7/trytond/trytond/protocols/dispatcher.py", line 43, in rpc
  86. return methods.get(request.rpc_method, _dispatch)(
  87. File "/srv/tryton/6.7/trytond/trytond/wsgi.py", line 81, in wrapper
  88. abort(http.client.UNAUTHORIZED, response=response)
  89. File "/home/tryton/.local/lib/python3.9/site-packages/werkzeug/exceptions.py", line 876, in abort
  90. _aborter(status, *args, **kwargs)
  91. File "/home/tryton/.local/lib/python3.9/site-packages/werkzeug/exceptions.py", line 861, in __call__
  92. raise self.mapping[code](*args, **kwargs)
  93. 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.
  94. 402671 140699673929472 [2023-05-08 10:16:38,674] INFO werkzeug 10.8.0.6 - - [08/May/2023 10:16:38] "POST /tryton_dev/ HTTP/1.1" 401 -
  95. AUTHORIZATION #########################
  96. None
  97. None
  98. 402671 140699673929472 [2023-05-08 10:16:38,803] INFO trytond.wsgi <JSONRequest 10.8.0.6 'http://trytondev:8000/tryton_dev/' [POST] common.db.login>
  99. 402671 140699673929472 [2023-05-08 10:16:38,804] 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:16:38.804505\'::timestamp))'
  100. 402671 140699673929472 [2023-05-08 10:16:38,809] 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'
  101. 402671 140699673929472 [2023-05-08 10:16:38,811] 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:16:38.811556\'::timestamp))'
  102. 402671 140699673929472 [2023-05-08 10:16:38,813] DEBUG trytond.wsgi Exception when processing <JSONRequest 10.8.0.6 'http://trytondev:8000/tryton_dev/' [POST] common.db.login>
  103. Traceback (most recent call last):
  104. File "/srv/tryton/6.7/trytond/trytond/wsgi.py", line 109, in dispatch_request
  105. return endpoint(request, **request.view_args)
  106. File "/srv/tryton/6.7/trytond/trytond/protocols/dispatcher.py", line 43, in rpc
  107. return methods.get(request.rpc_method, _dispatch)(
  108. File "/srv/tryton/6.7/trytond/trytond/protocols/dispatcher.py", line 53, in login
  109. session = security.login(
  110. File "/srv/tryton/6.7/trytond/trytond/security.py", line 33, in login
  111. user_id = User.get_login(loginname, parameters)
  112. File "/srv/tryton/6.7/trytond/trytond/res/user.py", line 701, in get_login
  113. user_ids.add(func(login, parameters))
  114. File "/srv/tryton/6.7/trytond/trytond/res/user.py", line 744, in _login_password
  115. raise LoginException('password', msg, type='password')
  116. trytond.exceptions.LoginException: ('LoginException', ('password', 'Password for tintin', 'password'))
  117. 402671 140699673929472 [2023-05-08 10:16:38,814] INFO werkzeug 10.8.0.6 - - [08/May/2023 10:16:38] "POST /tryton_dev/ HTTP/1.1" 200 -
  118.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement