[RESOLVED] WAPT Console Authentication

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
beryl
Messages: 25
Registration: August 19, 2015 - 1:41 PM

May 15, 2020 - 4:20 PM

Good morning,

I have a WAPT Console version 1.8.1.6756.
The server is running Windows 2012 R2.

When I enter the password (which seems to be the correct one) the window asking for the credentials disappears for 1 second, then reappears asking me to enter the credentials.

- When the password is incorrect, does WAPT display an error message?
- I restarted the services, no change, I restarted the system, no change.

Do you have any idea what I can do?
THANKS

Based on the logs, I think the problem occurred on May 11th.

Code: Select all

2020-03-17 11:21:34,549 [waptws         ] WARNING SocketIO connection refused for uuid , sid a88d959eebca4f6fa897d32dd9ea23d6: Missing source host uuid, instance 
2020-04-20 07:55:48,575 [waptws         ] WARNING Invalid session None
Traceback (most recent call last):
  File "c:\wapt\waptserver\server.py", line 2554, in <module>
    socketio.run(app, host='127.0.0.1', log=logger,  port=port, debug=options.devel, log_output = True, use_reloader=options.devel, max_size=app.conf['max_clients'])
  File "c:\wapt\lib\site-packages\flask_socketio\__init__.py", line 571, in run
    run_server()
  File "c:\wapt\lib\site-packages\flask_socketio\__init__.py", line 566, in run_server
    log_output=log_output, **kwargs)
  File "c:\wapt\lib\site-packages\eventlet\wsgi.py", line 1000, in server
    greenio.shutdown_safe(cs[1])
  File "c:\wapt\lib\site-packages\eventlet\greenio\base.py", line 498, in shutdown_safe
    return sock.shutdown(socket.SHUT_RDWR)
  File "c:\wapt\lib\socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 10054] Une connexion existante a dû être fermée par l’hôte distant
2020-05-11 15:40:02,661 [waptserver     ] CRITICAL add_host failed Exception('register_host: No uuid supplied',)
2020-05-11 15:40:07,723 [waptserver     ] CRITICAL Get_websocket_auth_token failed EWaptAuthenticationFailure('No uuid supplied',)
2020-05-11 15:40:07,832 [waptws         ] WARNING SocketIO connection refused for uuid , sid 55b0d9760cb94a4eb3b8465a9135f420: Missing source host uuid, instance 
2020-05-11 15:40:19,364 [waptserver     ] CRITICAL update_host failed Exception('register_host: No uuid supplied',)
2020-05-11 15:40:20,411 [waptserver     ] CRITICAL add_host failed Exception('register_host: No uuid supplied',)
Last edited by beryl on May 18, 2020 - 4:46 PM, edited 1 time.
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

May 15, 2020 - 6:31 PM

Indeed, the login window doesn't display any specific message when the login credentials are incorrect.

Regarding the logs, Socket.IO is used by the WAPT agents for WebSockets, not by console authentication. The problem must lie elsewhere.

Could you restart your server with debug logs and check for any other error messages?

Sincerely,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
beryl
Messages: 25
Registration: August 19, 2015 - 1:41 PM

May 15, 2020 - 9:37 PM

Thank you for your feedback.
In nginix-access
I have this

Code: Select all

10.0.0.23 - admin [15/May/2020:21:26:59 +0200] "POST /api/v3/login HTTP/1.0" 401 52 "-" "waptconsole/1.8.1.6756"
10.0.0.23 - admin [15/May/2020:21:27:00 +0200] "POST /api/v3/login HTTP/1.0" 401 52 "-" "waptconsole/1.8.1.6756"
-> So, error 401
In nssm_waptserver
I have this

Code: Select all

2020-05-15 21:03:51,273 [waptws         ] WARNING SocketIO connection refused for uuid , sid 6636b0fd2c0b42b5909e082de0644bc1: Missing source host uuid, instance 
2020-05-15 21:05:51,440 [waptserver     ] CRITICAL Get_websocket_auth_token failed EWaptAuthenticationFailure('No uuid supplied',)
To enable logging in debug mode, simply add the line

Code: Select all

loglevel = debug
at the end of the file C:\wapt\conf\waptserver.ini?
Last edited by beryl on May 16, 2020 - 5:30 PM, edited 1 time.
beryl
Messages: 25
Registration: August 19, 2015 - 1:41 PM

May 15, 2020 - 9:57 PM

Code: Select all

2020-05-15 21:58:18,490 [waptserver     ] INFO Using config file c:\wapt\conf\waptserver.ini
2020-05-15 21:58:19,315 [waptws         ] INFO Server initialized for eventlet.
2020-05-15 21:58:19,316 [waptserver     ] INFO Load database configuration
2020-05-15 21:58:19,316 [waptdb         ] INFO Initializing a DB connection pool for db host None:5432 db_name:wapt. Size:90
2020-05-15 21:58:19,318 [waptdb         ] INFO Connecting to waptdb explicitely. Count: 0
2020-05-15 21:58:19,318 [peewee.pool    ] DEBUG No connection available in pool.
2020-05-15 21:58:19,374 [peewee.pool    ] DEBUG Created new connection 44181024.
2020-05-15 21:58:19,434 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,460 [waptdb         ] INFO Current DB: {'host': None, 'password': None, 'port': 5432, 'user': 'wapt'} version: 1.8.1.0
2020-05-15 21:58:19,460 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,463 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,466 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,469 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribas" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,470 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,473 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,476 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,477 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,480 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,483 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,486 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,487 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,490 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,493 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,494 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,496 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,499 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,500 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,503 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,505 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,506 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,509 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,510 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,513 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,515 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,517 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,519 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,522 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,523 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,526 [peewee         ] DEBUG ('SELECT "t1"."key", "t1"."value" FROM "serverattribs" AS "t1" WHERE ("t1"."key" = %s) LIMIT %s OFFSET %s', [u'db_version', 1, 0])
2020-05-15 21:58:19,529 [peewee         ] DEBUG ('SELECT "t1"."id", "t1"."created_on", "t1"."created_by", "t1"."updated_on", "t1"."updated_by", "t1"."name", "t1"."auth_method", "t1"."description", "t1"."user_certificate", "t1"."user_fingerprint_sha1", "t1"."user_fingerprint_sha256" FROM "waptusers" AS "t1" WHERE ("t1"."name" = %s) LIMIT %s OFFSET %s', [u'admin', 1, 0])
2020-05-15 21:58:19,561 [peewee         ] DEBUG ('UPDATE "waptusers" SET "created_on" = %s, "created_by" = %s, "updated_on" = %s, "updated_by" = %s, "name" = %s, "auth_method" = %s, "description" = %s, "user_certificate" = %s, "user_fingerprint_sha1" = %s, "user_fingerprint_sha256" = %s WHERE ("waptusers"."id" = %s)', [datetime.datetime(2020, 3, 11, 10, 15, 54, 253000), None, datetime.datetime(2020, 5, 15, 19, 58, 19, 560000), None, u'admin', None, None, None, None, None, 1])
2020-05-15 21:58:19,575 [waptdb         ] DEBUG Disconnecting from waptdb explicitely. Count: 1
2020-05-15 21:58:19,575 [peewee.pool    ] DEBUG Returning 44181024 to pool.
2020-05-15 21:58:19,575 [waptserver     ] INFO Waptserver starting...
2020-05-15 21:58:19,575 [waptdb         ] INFO Connecting to waptdb explicitely. Count: 0
2020-05-15 21:58:19,576 [waptserver     ] INFO Reset connections SID for former hosts on this server
2020-05-15 21:58:19,579 [peewee         ] DEBUG ('UPDATE "hosts" SET "reachable" = %s, "listening_protocol" = %s, "listening_address" = %s WHERE (("hosts"."listening_protocol" = %s) AND ("hosts"."server_uuid" = %s))', [u'DISCONNECTED', None, None, u'websockets', u'00000000-0000-0000-18d8-730300000000'])
2020-05-15 21:58:19,743 [waptdb         ] DEBUG Disconnecting from waptdb explicitely. Count: 1
2020-05-15 21:58:19,743 [peewee.pool    ] DEBUG Returning 44181024 to pool.
2020-05-15 21:58:19,743 [waptserver     ] INFO Starting socketio/wsgi server on port 8080
2020-05-15 21:58:19,744 [waptserver     ] INFO (3332) wsgi starting up on http://127.0.0.1:8080
2020-05-15 21:58:26,394 [waptserver     ] DEBUG (3332) accepted ('127.0.0.1', 54665)
2020-05-15 21:58:26,476 [waptserver     ] DEBUG wapt admin passwd verification failed
2020-05-15 21:58:26,480 [waptserver     ] INFO 10.0.0.23,127.0.0.1 - - [15/May/2020 21:58:26] "POST /api/v3/login HTTP/1.0" 401 324 0.086000
2020-05-15 21:58:29,493 [waptserver     ] DEBUG (3332) accepted ('127.0.0.1', 54667)
2020-05-15 21:58:29,575 [waptserver     ] DEBUG wapt admin passwd verification failed
2020-05-15 21:58:29,578 [waptserver     ] INFO 10.0.0.23,127.0.0.1 - - [15/May/2020 21:58:29] "POST /api/v3/login HTTP/1.0" 401 324 0.085000
2020-05-15 21:58:32,461 [waptserver     ] DEBUG (3332) accepted ('127.0.0.1', 54670)
2020-05-15 21:58:32,542 [waptserver     ] DEBUG wapt admin passwd verification failed
2020-05-15 21:58:32,546 [waptserver     ] INFO 10.0.0.23,127.0.0.1 - - [15/May/2020 21:58:32] "POST /api/v3/login HTTP/1.0" 401 324 0.084000
2020-05-15 21:58:54,526 [waptserver     ] DEBUG (3332) accepted ('127.0.0.1', 54673)
2020-05-15 21:58:54,536 [waptserver     ] DEBUG (3332) accepted ('127.0.0.1', 54674)
2020-05-15 21:58:54,538 [waptws         ] INFO a2dd6ecfdb3f4b98b3eaf83a11b0a218: Sending packet OPEN data {'pingInterval': 25000, 'pingTimeout': 60000, 'upgrades': ['websocket'], 'sid': 'a2dd6ecfdb3f4b98b3eaf83a11b0a218'}
2020-05-15 21:58:54,539 [waptws         ] INFO Unauthenticated Socket.IO connection from wapt client sid a2dd6ecfdb3f4b98b3eaf83a11b0a218 (uuid: 07FD1C18-35A8-4E04-8DE7-1D45AD58D929)
2020-05-15 21:58:54,539 [waptdb         ] INFO Connecting to waptdb explicitely. Count: 0
2020-05-15 21:58:54,540 [peewee         ] DEBUG ('UPDATE "hosts" SET "server_uuid" = %s, "listening_protocol" = %s, "listening_address" = %s, "listening_timestamp" = %s, "last_seen_on" = %s WHERE ("hosts"."uuid" = %s)', [u'00000000-0000-0000-18d8-730300000000', u'websockets', u'a2dd6ecfdb3f4b98b3eaf83a11b0a218', u'2020-05-15T21:58:54.540000', u'2020-05-15T21:58:54.540000', u'07FD1C18-35A8-4E04-8DE7-1D45AD58D929'])
2020-05-15 21:58:54,542 [waptws         ] INFO 44e558a037934e14addd70e413a9e385: Sending packet OPEN data {'pingInterval': 25000, 'pingTimeout': 60000, 'upgrades': ['websocket'], 'sid': '44e558a037934e14addd70e413a9e385'}
2020-05-15 21:58:54,542 [waptws         ] INFO Unauthenticated Socket.IO connection from wapt client sid 44e558a037934e14addd70e413a9e385 (uuid: 1538058D-B393-D013-D0C3-5FD23A93AFBB)
2020-05-15 21:58:54,543 [waptdb         ] INFO Connecting to waptdb explicitely. Count: 1
2020-05-15 21:58:54,543 [peewee.pool    ] DEBUG No connection available in pool.
2020-05-15 21:58:54,569 [waptdb         ] DEBUG Disconnecting from waptdb explicitely. Count: 1
2020-05-15 21:58:54,575 [peewee.pool    ] DEBUG Created new connection 44182240.
2020-05-15 21:58:54,576 [peewee         ] DEBUG ('UPDATE "hosts" SET "server_uuid" = %s, "listening_protocol" = %s, "listening_address" = %s, "listening_timestamp" = %s, "last_seen_on" = %s WHERE ("hosts"."uuid" = %s)', [u'00000000-0000-0000-18d8-730300000000', u'websockets', u'44e558a037934e14addd70e413a9e385', u'2020-05-15T21:58:54.576000', u'2020-05-15T21:58:54.576000', u'1538058D-B393-D013-D0C3-5FD23A93AFBB'])
2020-05-15 21:58:54,578 [peewee.pool    ] DEBUG Returning 44181024 to pool.
2020-05-15 21:58:54,578 [waptws         ] INFO a2dd6ecfdb3f4b98b3eaf83a11b0a218: Sending packet MESSAGE data 0
2020-05-15 21:58:54,578 [waptserver     ] INFO 127.0.0.1 - - [15/May/2020 21:58:54] "GET /socket.io/?token=eyJhbGciOiJIUzUxMiIsImV4cCI6MTU4OTYxNTQ1MiwiaWF0IjoxNTg5NTcyMjUyfQ.eyJ1dWlkIjoiMDdGRDFDMTgtMzVBOC00RTA0LThERTctMUQ0NUFENThEOTI5Iiwic2VydmVyX3V1aWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMThkOC03MzAzMDAwMDAwMDAifQ.d3YTkczLP_0TkubO4qRkK3DaHpufzs837sHg7IEd-asqH8h_7S7nhoXUI4JYku3CvfTuvlmxL9ca-JmTS3M-Ww&uuid=07FD1C18-35A8-4E04-8DE7-1D45AD58D929&EIO=3&transport=polling&t=1589572734429-0 HTTP/1.1" 200 325 0.043000
2020-05-15 21:58:54,582 [waptserver     ] DEBUG (3332) accepted ('127.0.0.1', 54676)
2020-05-15 21:58:54,592 [waptws         ] INFO 912d5137ee1b4502a0f997fa741a9ba5: Sending packet OPEN data {'pingInterval': 25000, 'pingTimeout': 60000, 'upgrades': ['websocket'], 'sid': '912d5137ee1b4502a0f997fa741a9ba5'}
2020-05-15 21:58:54,594 [waptws         ] INFO Unauthenticated Socket.IO connection from wapt client sid 912d5137ee1b4502a0f997fa741a9ba5 (uuid: 4C4C4544-0042-4710-8033-CAC04F303332)
2020-05-15 21:58:54,594 [waptdb         ] INFO Connecting to waptdb explicitely. Count: 1
2020-05-15 21:58:54,595 [peewee         ] DEBUG ('UPDATE "hosts" SET "server_uuid" = %s, "listening_protocol" = %s, "listening_address" = %s, "listening_timestamp" = %s, "last_seen_on" = %s WHERE ("hosts"."uuid" = %s)', [u'00000000-0000-0000-18d8-730300000000', u'websockets', u'912d5137ee1b4502a0f997fa741a9ba5', u'2020-05-15T21:58:54.595000', u'2020-05-15T21:58:54.595000', u'4C4C4544-0042-4710-8033-CAC04F303332'])
2020-05-15 21:58:54,604 [waptdb         ] DEBUG Disconnecting from waptdb explicitely. Count: 2
2020-05-15 21:58:54,605 [peewee.pool    ] DEBUG Returning 44182240 to pool.
2020-05-15 21:58:54,605 [waptws         ] INFO 44e558a037934e14addd70e413a9e385: Sending packet MESSAGE data 0
2020-05-15 21:58:54,605 [waptserver     ] INFO 127.0.0.1 - - [15/May/2020 21:58:54] "GET /socket.io/?token=eyJhbGciOiJIUzUxMiIsImV4cCI6MTU4OTYxNTQ1MiwiaWF0IjoxNTg5NTcyMjUyfQ.eyJ1dWlkIjoiMTUzODA1OEQtQjM5My1EMDEzLUQwQzMtNUZEMjNBOTNBRkJCIiwic2VydmVyX3V1aWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMThkOC03MzAzMDAwMDAwMDAifQ.l9cJxDuweJl0iw3hRmou7DFszQnpTYWZ-AuIWNNkIgngbw_K5cF8aCiCGxtAp99zXYBbW1aoXRQWF7m3VtYLTg&uuid=1538058D-B393-D013-D0C3-5FD23A93AFBB&EIO=3&transport=polling&t=1589572734422-0 HTTP/1.1" 200 325 0.064000
2020-05-15 21:58:54,619 [waptdb         ] DEBUG Disconnecting from waptdb explicitely. Count: 1
2020-05-15 21:58:54,619 [peewee.pool    ] DEBUG Returning 44181024 to pool.
2020-05-15 21:58:54,621 [waptws         ] INFO 912d5137ee1b4502a0f997fa741a9ba5: Sending packet MESSAGE data 0
2020-05-15 21:58:54,621 [waptserver     ] INFO 127.0.0.1 - - [15/May/2020 21:58:54] "GET /socket.io/?token=eyJhbGciOiJIUzUxMiIsImV4cCI6MTU4OTYxNTQ1MiwiaWF0IjoxNTg5NTcyMjUyfQ.eyJ1dWlkIjoiNEM0QzQ1NDQtMDA0Mi00NzEwLTgwMzMtQ0FDMDRGMzAzMzMyIiwic2VydmVyX3V1aWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMThkOC03MzAzMDAwMDAwMDAifQ.8DESXqSU1eO3E-A83jol1xCJbYtxhvu16pQ3W1kUTQMRkP1zuqPcGx7D-Ng9QJkkfEb-6YyCD-TD0EDAFQq4zA&uuid=4C4C4544-0042-4710-8033-CAC04F303332&EIO=3&transport=polling&t=1589572734381-0 HTTP/1.1" 200 325 0.029000
2020-05-15 21:58:54,641 [waptserver     ] DEBUG (3332) accepted ('127.0.0.1', 54677)
2020-05-15 21:58:54,641 [waptserver     ] DEBUG (3332) accepted ('127.0.0.1', 54678)
2020-05-15 21:58:54,642 [waptws         ] INFO 966cb7ee35144e09b6c414611d8c468b: Sending packet OPEN data {'pingInterval': 25000, 'pingTimeout': 60000, 'upgrades': ['websocket'], 'sid': '966cb7ee35144e09b6c414611d8c468b'}
2020-05-15 21:58:54,644 [waptws         ] INFO Unauthenticated Socket.IO connection from wapt client sid 966cb7ee35144e09b6c414611d8c468b (uuid: 3ECE3423-7C37-E611-8160-4CCC6A341464)
2020-05-15 21:58:54,644 [waptdb         ] INFO Connecting to waptdb explicitely. Count: 0
2020-05-15 21:58:54,645 [peewee         ] DEBUG ('UPDATE "hosts" SET "server_uuid" = %s, "listening_protocol" = %s, "listening_address" = %s, "listening_timestamp" = %s, "last_seen_on" = %s WHERE ("hosts"."uuid" = %s)', [u'00000000-0000-0000-18d8-730300000000', u'websockets', u'966cb7ee35144e09b6c414611d8c468b', u'2020-05-15T21:58:54.645000', u'2020-05-15T21:58:54.645000', u'3ECE3423-7C37-E611-8160-4CCC6A341464'])
2020-05-15 21:58:54,647 [waptws         ] INFO 746c197c3a9d4f51a0cb3a6f2decbce6: Sending packet OPEN data {'pingInterval': 25000, 'pingTimeout': 60000, 'upgrades': ['websocket'], 'sid': '746c197c3a9d4f51a0cb3a6f2decbce6'}
2020-05-15 21:58:54,648 [waptws         ] INFO Unauthenticated Socket.IO connection from wapt client sid 746c197c3a9d4f51a0cb3a6f2decbce6 (uuid: 4C4C4544-004C-4A10-8030-C6C04F594B32)
2020-05-15 21:58:54,648 [waptdb         ] INFO Connecting to waptdb explicitely. Count: 1
2020-05-15 21:58:54,650 [peewee         ] DEBUG ('UPDATE "hosts" SET "server_uuid" = %s, "listening_protocol" = %s, "listening_address" = %s, "listening_timestamp" = %s, "last_seen_on" = %s WHERE ("hosts"."uuid" = %s)', [u'00000000-0000-0000-18d8-730300000000', u'websockets', u'746c197c3a9d4f51a0cb3a6f2decbce6', u'2020-05-15T21:58:54.649000', u'2020-05-15T21:58:54.649000', u'4C4C4544-004C-4A10-8030-C6C04F594B32'])
2020-05-15 21:58:54,651 [waptserver     ] DEBUG (3332) accepted ('127.0.0.1', 54679)
2020-05-15 21:58:54,661 [waptws         ] INFO a2dd6ecfdb3f4b98b3eaf83a11b0a218: Received request to upgrade to websocket
2020-05-15 21:58:54,677 [waptdb         ] DEBUG Disconnecting from waptdb explicitely. Count: 2
2020-05-15 21:58:54,677 [peewee.pool    ] DEBUG Returning 44181024 to pool.
2020-05-15 21:58:54,677 [waptws         ] INFO 966cb7ee35144e09b6c414611d8c468b: Sending packet MESSAGE data 0
2020-05-15 21:58:54,677 [waptserver     ] INFO 127.0.0.1 - - [15/May/2020 21:58:54] "GET /socket.io/?token=eyJhbGciOiJIUzUxMiIsImV4cCI6MTU4OTYxNTQ1MiwiaWF0IjoxNTg5NTcyMjUyfQ.eyJ1dWlkIjoiM0VDRTM0MjMtN0MzNy1FNjExLTgxNjAtNENDQzZBMzQxNDY0Iiwic2VydmVyX3V1aWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMThkOC03MzAzMDAwMDAwMDAifQ.3tDitg6yRP-jFDsaaP71rykBu8J0pnykz24kMLT8M5Bsh4HVajV30s-86HF6MejvAtVNz9RPCM384xMkZ59l8A&uuid=3ECE3423-7C37-E611-8160-4CCC6A341464&EIO=3&transport=polling&t=1589572734593-0 HTTP/1.1" 200 325 0.036000
2020-05-15 21:58:54,686 [waptdb         ] DEBUG Disconnecting from waptdb explicitely. Count: 1
2020-05-15 21:58:54,686 [peewee.pool    ] DEBUG Returning 44182240 to pool.
2020-05-15 21:58:54,686 [waptws         ] INFO 746c197c3a9d4f51a0cb3a6f2decbce6: Sending packet MESSAGE data 0
2020-05-15 21:58:54,687 [waptserver     ] INFO 127.0.0.1 - - [15/May/2020 21:58:54] "GET /socket.io/?token=eyJhbGciOiJIUzUxMiIsImV4cCI6MTU4OTYxNTM5MSwiaWF0IjoxNTg5NTcyMTkxfQ.eyJ1dWlkIjoiNEM0QzQ1NDQtMDA0Qy00QTEwLTgwMzAtQzZDMDRGNTk0QjMyIiwic2VydmVyX3V1aWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMThkOC03MzAzMDAwMDAwMDAifQ.Y8CkuXcDuIskqOMMbyIkEM_rvPpHfjMFpCiXBamU1tgwPSFKu4eL3G0hukfzG-26bsytqlyCY5zFGVOtEg0KIA&uuid=4C4C4544-004C-4A10-8030-C6C04F594B32&EIO=3&transport=polling&t=1589572734586-0 HTTP/1.1" 200 325 0.040000
2020-05-15 21:58:54,785 [waptserver     ] DEBUG (3332) accepted ('127.0.0.1', 54680)
2020-05-15 21:58:54,832 [waptserver     ] DEBUG (3332) accepted ('127.0.0.1', 54681)
2020-05-15 21:58:54,834 [waptws         ] INFO 44e558a037934e14addd70e413a9e385: Received request to upgrade to websocket
2020-05-15 21:58:54,835 [waptws         ] INFO 912d5137ee1b4502a0f997fa741a9ba5: Received request to upgrade to websocket
2020-05-15 21:58:54,835 [waptws         ] INFO a2dd6ecfdb3f4b98b3eaf83a11b0a218: Upgrade to websocket successful
2020-05-15 21:58:54,835 [waptserver     ] DEBUG (3332) accepted ('127.0.0.1', 54682)
2020-05-15 21:58:54,836 [waptws         ] INFO 966cb7ee35144e09b6c414611d8c468b: Received request to upgrade to websocket
2020-05-15 21:58:54,839 [waptserver     ] DEBUG (3332) accepted ('127.0.0.1', 54683)
2020-05-15 21:58:54,851 [waptws         ] INFO 746c197c3a9d4f51a0cb3a6f2decbce6: Received request to upgrade to websocket
2020-05-15 21:58:54,855 [waptws         ] INFO 44e558a037934e14addd70e413a9e385: Upgrade to websocket successful
2020-05-15 21:58:54,857 [waptws         ] INFO 966cb7ee35144e09b6c414611d8c468b: Upgrade to websocket successful
2020-05-15 21:58:54,858 [waptws         ] INFO 746c197c3a9d4f51a0cb3a6f2decbce6: Upgrade to websocket successful
2020-05-15 21:58:54,858 [waptws         ] INFO 746c197c3a9d4f51a0cb3a6f2decbce6: Received packet PING data None
2020-05-15 21:58:54,858 [waptws         ] INFO 746c197c3a9d4f51a0cb3a6f2decbce6: Sending packet PONG data None
2020-05-15 21:58:54,858 [waptws         ] INFO 746c197c3a9d4f51a0cb3a6f2decbce6: Received packet PING data None
2020-05-15 21:58:54,858 [waptws         ] INFO 746c197c3a9d4f51a0cb3a6f2decbce6: Sending packet PONG data None
2020-05-15 21:58:54,859 [waptws         ] INFO 912d5137ee1b4502a0f997fa741a9ba5: Upgrade to websocket successful
2020-05-15 21:58:55,316 [waptserver     ] DEBUG (3332) accepted ('127.0.0.1', 54684)
2020-05-15 21:58:55,319 [waptws         ] INFO 74a1bc2a3f2c4f178299032f3360b5d7: Sending packet OPEN data {'pingInterval': 25000, 'pingTimeout': 60000, 'upgrades': ['websocket'], 'sid': '74a1bc2a3f2c4f178299032f3360b5d7'}
2020-05-15 21:58:55,319 [waptws         ] INFO Unauthenticated Socket.IO connection from wapt client sid 74a1bc2a3f2c4f178299032f3360b5d7 (uuid: 5B047FC3-076E-4871-86BB-992CB958F6CC)
2020-05-15 21:58:55,321 [waptdb         ] INFO Connecting to waptdb explicitely. Count: 0
2020-05-15 21:58:55,322 [peewee         ] DEBUG ('UPDATE "hosts" SET "server_uuid" = %s, "listening_protocol" = %s, "listening_address" = %s, "listening_timestamp" = %s, "last_seen_on" = %s WHERE ("hosts"."uuid" = %s)', [u'00000000-0000-0000-18d8-730300000000', u'websockets', u'74a1bc2a3f2c4f178299032f3360b5d7', u'2020-05-15T21:58:55.321000', u'2020-05-15T21:58:55.321000', u'5B047FC3-076E-4871-86BB-992CB958F6CC'])
2020-05-15 21:58:55,338 [waptdb         ] DEBUG Disconnecting from waptdb explicitely. Count: 1
2020-05-15 21:58:55,338 [peewee.pool    ] DEBUG Returning 44181024 to pool.
2020-05-15 21:58:55,339 [waptws         ] INFO 74a1bc2a3f2c4f178299032f3360b5d7: Sending packet MESSAGE data 0
2020-05-15 21:58:55,339 [waptserver     ] INFO 127.0.0.1 - - [15/May/2020 21:58:55] "GET /socket.io/?uuid=5B047FC3-076E-4871-86BB-992CB958F6CC&EIO=3&transport=polling&t=1589572735313-0 HTTP/1.1" 200 325 0.021000
2020-05-15 21:58:56,299 [waptserver     ] DEBUG (3332) accepted ('127.0.0.1', 54687)
2020-05-15 21:58:56,388 [waptserver     ] DEBUG wapt admin passwd verification failed
2020-05-15 21:58:56,392 [waptserver     ] INFO 10.0.0.23,127.0.0.1 - - [15/May/2020 21:58:56] "POST /api/v3/login HTTP/1.0" 401 324 0.090000
2020-05-15 21:58:56,395 [waptserver     ] DEBUG (3332) accepted ('127.0.0.1', 54689)
2020-05-15 21:58:56,397 [waptws         ] INFO 74a1bc2a3f2c4f178299032f3360b5d7: Received request to upgrade to websocket
2020-05-15 21:58:56,403 [waptws         ] INFO 74a1bc2a3f2c4f178299032f3360b5d7: Upgrade to websocket successful
2020-05-15 21:59:08,849 [waptws         ] INFO 966cb7ee35144e09b6c414611d8c468b: Received packet PING data None
2020-05-15 21:59:08,849 [waptws         ] INFO 966cb7ee35144e09b6c414611d8c468b: Sending packet PONG data None
2020-05-15 21:59:08,911 [waptws         ] INFO 966cb7ee35144e09b6c414611d8c468b: Received packet MESSAGE data 2["wapt_pong"]
2020-05-15 21:59:08,911 [waptws         ] INFO received event "wapt_pong" from 966cb7ee35144e09b6c414611d8c468b [/]
2020-05-15 21:59:08,911 [waptws         ] DEBUG Socket.IO pong from wapt client sid 966cb7ee35144e09b6c414611d8c468b (uuid: 3ECE3423-7C37-E611-8160-4CCC6A341464)
2020-05-15 21:59:08,911 [waptdb         ] INFO Connecting to waptdb explicitely. Count: 0
2020-05-15 21:59:08,911 [peewee         ] DEBUG ('UPDATE "hosts" SET "reachable" = %s, "server_uuid" = %s, "listening_protocol" = %s, "listening_address" = %s, "listening_timestamp" = %s WHERE ("hosts"."uuid" = %s)', [u'OK', u'00000000-0000-0000-18d8-730300000000', u'websockets', u'966cb7ee35144e09b6c414611d8c468b', u'2020-05-15T21:59:08.912000', u'3ECE3423-7C37-E611-8160-4CCC6A341464'])
2020-05-15 21:59:08,927 [waptdb         ] DEBUG Disconnecting from waptdb explicitely. Count: 1
2020-05-15 21:59:08,944 [peewee.pool    ] DEBUG Returning 44181024 to pool.
2020-05-15 21:59:08,944 [waptws         ] INFO 966cb7ee35144e09b6c414611d8c468b: Received packet PING data None
2020-05-15 21:59:08,944 [waptws         ] INFO 966cb7ee35144e09b6c414611d8c468b: Sending packet PONG data None
Um, either my password is wrong or it doesn't recognize it... I'm really skeptical.

Do you recommend that I change my password ?
Or is the problem elsewhere?
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

May 18, 2020 - 2:15 PM

Could you have an accented character in your password? There's an encoding bug with accented characters. If so, you'll need to reset your password. See viewtopic.php?t=2014.

Regards,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
beryl
Messages: 25
Registration: August 19, 2015 - 1:41 PM

May 18, 2020 - 4:46 PM

Thank you so much @dcardon, I managed to reopen my WAPT console.

There were no accented characters, but there were special characters.

I'm still quite perplexed by the problem (I use a password manager, so the password was randomly generated by the manager, and apart from copy/paste, the password was very complex).
I just put in something silly; I'll see how it goes, because this whole thing scared me a bit!
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

May 18, 2020 - 5:50 PM

Hello again,

okay, it's a known but rather convoluted bug related to a UTF-8 compatibility issue in the Python4Lazarus library, which we use to connect the Lazarus code for the graphical interface and the Python code for the backend.

The problem will likely disappear on its own when we switch to Python 3, which should happen by early summer with WAPT version 2.0.

In the meantime, I'll look into adding a filter when the password is changed to prevent this issue.

Best regards,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
beryl
Messages: 25
Registration: August 19, 2015 - 1:41 PM

May 18, 2020 - 5:55 PM

Thank you so much!
Locked