!zrilZOytIyEbrjlpSa:matrix.org

Asqatasun

8 Members
Asqatasun https://asqatasun.org/1 Servers

Load older messages


SenderMessageTime
7 Apr 2021
@mfaure:matrix.orgMatthieu (2T) FAUREarg, on a une issue ouverte sur le sujet https://gitlab.com/asqatasun/Asqatasun/-/issues/55813:41:51
@mfaure:matrix.orgMatthieu (2T) FAURE .koj: un avis ? 13:42:58
8 Apr 2021
@yaacov:matrix.org@yaacov:matrix.org left the room.09:56:42
11 Apr 2021
@fabrice_dzc:matrix.orgFabrice 2G ✊Redacted or Malformed Event19:22:08
@fabrice_dzc:matrix.orgFabrice 2G ✊

Bonjourpierre.boudrie,

Pour l'utilisation d'un proxy avec Asqatasun, ce n'est actuellement plus possible. Un correctif est en cours de préparation, mais il n'est pas très simple à tester.

  • Ticket : https://gitlab.com/asqatasun/Asqatasun/-/issues/558
  • PR : https://gitlab.com/asqatasun/Asqatasun/-/merge_requests/530

Dès que j'ai un moment, je vais essayer de finaliser ce correctif.


Pour la version de MySQL, comme l'as indiqué Matthieu (2T) FAURE, nous utilisons actuellement une version 5.7 de MySQL et nous n'avons pas encore poussé nos tests sur les autres versions. J'ai comme projet de créer d'autres machines Vagrant pour tester Ubuntu 20.04 et pourquoi pas CentOS. Dans ce dernier cas, je suis très intéressé par les lignes de commandes utilisés pour installer les pre-requis (Java, ...).

En regardant les logs :

INFO  org.asqatasun.webapp.orchestrator.AsqatasunOrchestrator - Launching audit Page on http://www.google.fr
WARN  org.asqatasun.util.http.HttpRequestHandler - UnknownHostException on http://www.google.fr
WARN  org.asqatasun.util.http.HttpRequestHandler - UnknownHostException on http://www.google.fr
WARN  org.hibernate.engine.jdbc.spi.SqlExceptionHelper - SQL Error: 1064, SQLState: 42000
ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Rank, Url, DTYPE) values (7, null, null, 0, 'http://www.google.fr', 'PageImpl')' at line 1
INFO  org.asqatasun.webapp.orchestrator.AsqatasunOrchestrator - AUDIT CRASHED:org.asqatasun.entity.audit.AuditImpl@7083e882,http://www.google.fr,1617697677
org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute statement; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not execute statement
        at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:281)

Je note comme @ma

19:40:45
@fabrice_dzc:matrix.orgFabrice 2G ✊ *

Bonjourpierre.boudrie,

Pour l'utilisation d'un proxy avec Asqatasun, ce n'est actuellement plus possible. Un correctif est en cours de préparation, mais il n'est pas très simple à tester.

  • Ticket : https://gitlab.com/asqatasun/Asqatasun/-/issues/558
  • PR : https://gitlab.com/asqatasun/Asqatasun/-/merge_requests/530

Dès que j'ai un moment, je vais essayer de finaliser ce correctif.


Pour la version de MySQL, comme l'as indiqué Matthieu (2T) FAURE, nous utilisons actuellement une version 5.7 de MySQL et nous n'avons pas encore poussé nos tests sur les autres versions. J'ai comme projet de créer d'autres machines Vagrant pour tester Ubuntu 20.04 et pourquoi pas CentOS. Dans ce dernier cas, je suis très intéressé par les lignes de commandes utilisés pour installer les pre-requis (Java, ...).

En regardant les logs :

INFO  org.asqatasun.webapp.orchestrator.AsqatasunOrchestrator - Launching audit Page on http://www.google.fr
WARN  org.asqatasun.util.http.HttpRequestHandler - UnknownHostException on http://www.google.fr
WARN  org.asqatasun.util.http.HttpRequestHandler - UnknownHostException on http://www.google.fr
WARN  org.hibernate.engine.jdbc.spi.SqlExceptionHelper - SQL Error: 1064, SQLState: 42000
ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Rank, Url, DTYPE) values (7, null, null, 0, 'http://www.google.fr', 'PageImpl')' at line 1
INFO  org.asqatasun.webapp.orchestrator.AsqatasunOrchestrator - AUDIT CRASHED:org.asqatasun.entity.audit.AuditImpl@7083e882,http://www.google.fr,1617697677
org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute statement; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not execute statement
        at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:281)

Je note comme Matthieu, un problème réseau peut-être lié à l'utilisation nécessaire d'un proxy. Par contre l'erreur SQL ne devrait pas se produire. Idéalement, il faudrait lancer Asqatasun avec une option complémentaire pour afficher la requête SQL qui plante. Je regarde comment faire...

19:48:38
18 Apr 2021
@mfaure:matrix.orgMatthieu (2T) FAURE Yo! Pour info j'ai mis à jour https://gitlab.com/asqatasun-private/exploitation-network-inventory Je suis en train de restaurer la sauvegarde de app.asqatasun.org, mais ça ne va pas fonctionner tout de suite. Je dois faire un détour par la remise en place du serveur Puppet qui gère une bonne partie de l'infra. Work in progress, je vous tiens au jus 🙂 12:04:26
19 Apr 2021
@pierre.boudrie:matrix.orgpierre.boudrieMerci de vos retours ! 06:18:08
22 Apr 2021
@mfaure:matrix.orgMatthieu (2T) FAURE Hello, l'instance de démo https://app.Asqatasun.org/ est à nouveau sur pied ! Sortie des cendres de Strasbourg, Puppet à largement aidé à rétablir assez vite cette partie de l'infrastructure \o/ 🙂 Prochaine étape le forum. 11:27:50
19 May 2021
@doryan:matrix.orgdoryan joined the room.09:50:00
@doryan:matrix.orgdoryanBonjour, je suis en train d'essayer de mettre en place asqatasun dans mon service. Je dois faire passer un proxy pour accéder à mes différents projets. J'ai voulu essayer avec la version sur la branche allow-to-use-proxy, que j'ai réussi a compiler et démarrer. Sauf que, quand j'essaie de faire passer mes audits, je n'ai que des timeout qui suggèrent que le proxy n'est pas appliqué. Aussi, j'ai pu voir qu'il y avait des loggers sensés afficher ces infos, mais je ne les vois jamais passer. J'ai essayé de mettre le proxy a la fois dans le application.yml et en arguments java pour le lancement. Est-ce que vous continuez de travailler sur cette fonctionnalité ? Si oui, est-ce que vous pensez avoir une date de release, ou au moins en beta ? Merci d'avance de votre réponse.12:44:49
@mfaure:matrix.orgMatthieu (2T) FAURE

Bonjour doryan et bienvenue ! Oui cette fonctionnalité figure bien ne première ligne ! Elle nous taquine un peu à vrai dire ; et merci beaucoup pour tes retours, il nous sont précieux !

Saurais-tu nous dire :

  • quel est le proxy ? (un "simple" Squid ? Si non, quoi ?)
  • y a t'il une authentification sur le proxy ? Si oui de quel type / en s'appuyant sur quelle base de compte ? (genre un LDAP ? un Active Directory ? ...)

/cc @.koj

13:42:53
@mfaure:matrix.orgMatthieu (2T) FAURE *

Bonjour doryan et bienvenue ! Oui cette fonctionnalité figure bien en première ligne ! Elle nous taquine un peu à vrai dire ; et merci beaucoup pour tes retours, il nous sont précieux !

Saurais-tu nous dire :

  • quel est le proxy ? (un "simple" Squid ? Si non, quoi ?)
  • y a t'il une authentification sur le proxy ? Si oui de quel type / en s'appuyant sur quelle base de compte ? (genre un LDAP ? un Active Directory ? ...)

/cc @.koj

13:43:39
@doryan:matrix.orgdoryanAh super 😀 Il s'agit d'un bien d'un squid et sans authentification13:45:41
@mfaure:matrix.orgMatthieu (2T) FAUREOK merci, ça veut donc dire qu'il y a une cagade quelque part 😕 (côté code j'entends...)14:03:26
@mfaure:matrix.orgMatthieu (2T) FAURE Pour les logs, as-tu pris connaissance de la doc Debugging Asqatasun ? (doc v4 mais toujours valide) 14:06:41
@doryan:matrix.orgdoryanNon, je n'avait pas trouvé ça, j'avais juste changé avec logging.level.root, j'essaie et je reviens vers toi au plus vite14:17:07
@fabrice_dzc:matrix.orgFabrice 2G ✊

Bonjour doryan

En fait, il y a une erreur sur cette branche :
https://gitlab.com/asqatasun/Asqatasun/-/merge_requests/530#note_472988472

je corrige dès que j'ai 5 mn

17:46:03
@fabrice_dzc:matrix.orgFabrice 2G ✊ *

Bonjour doryan

En fait, il y a une erreur facile à corriger sur cette branche :
https://gitlab.com/asqatasun/Asqatasun/-/merge_requests/530#note_472988472

je corrige dès que j'ai 5 mn

17:48:05
20 May 2021
@doryan:matrix.orgdoryan Bonjour Fabrice 2G
Je viens de tester en appliquant cette modif mais ça ne change rien, mon proxy n'a pas d'authentification
11:33:20
@doryan:matrix.orgdoryan Matthieu (2T) FAURE, j'ai essayé de modifier les niveaux de log comme dans la procédure, mais je ne pas trouver de log4j.properties (j'imagine propre à la v4). Du coup j'ai mis dans le application.yml :
log4j:
logger:
org.asqatasun.scenarioloader: DEBUG
et j'ai changé le root level dans le logback-spring.xml en DEBUG
Mais je ne parvient pas à trouver les logs qui correspondent au passage ou le proxy doit s'appliquer pour selenium
15:12:50
25 May 2021
@mfaure:matrix.orgMatthieu (2T) FAURE MErci doryan pour le retour. Je suis chagrin que ça ne fonctionne pas. Je suis quasi certain de l'avoir fait avec le v5. Je vais creuser. Fabrice 2G @.koj une idée de commetn activer les logs en v5 ? 07:22:13
28 May 2021
@pinage404:matrix.orgpinage404 joined the room.10:36:04
3 Jun 2021
@.koj:matrix.org.kojhttps://github.com/yasserg/crawler4j/blob/master/crawler4j/src/main/java/edu/uci/ics/crawler4j/crawler/CrawlConfig.java15:50:33
@mfaure:matrix.orgMatthieu (2T) FAURE
In reply to @.koj:matrix.org
https://github.com/yasserg/crawler4j/blob/master/crawler4j/src/main/java/edu/uci/ics/crawler4j/crawler/CrawlConfig.java
J'ai tout lu, les valeurs par défaut me semblent bonnes
15:56:36
5 Jun 2021
@mfaure:matrix.orgMatthieu (2T) FAURE

Hey folks, the Asqatasun forum is back online !!!

Brought back from the (OVH) ashes, this was the last part to re-build. I'm suite happy this looks to work. For now, it seems quite slow, maybe some indexes are being made. We'll see this in the weekend. In the meantime, enjoy asking and answering ! :D

06:46:57
@mfaure:matrix.orgMatthieu (2T) FAURE *

Hey folks, the Asqatasun forum is back online !!!

Brought back from the (OVH) ashes, this was the last part to re-build. I'm quite happy this looks to work. For now, it seems quite slow, maybe some indexes are being made. We'll see this in the weekend. In the meantime, enjoy asking and answering ! :D

06:47:23
3 Jul 2021
@mfaure:matrix.orgMatthieu (2T) FAURE

Hi folks,

I'm presently working on site.asqatasun.ovh to 1) place it on a (greener) hosting 2) have it automatically deployed with Gitlab-CI. Whish me luck and chocolate 😀

08:58:28
6 Jul 2021
@mfaure:matrix.orgMatthieu (2T) FAURE
In reply to @mfaure:matrix.org

Hi folks,

I'm presently working on site.asqatasun.ovh to 1) place it on a (greener) hosting 2) have it automatically deployed with Gitlab-CI. Whish me luck and chocolate 😀

OK site.asqatasun.ovh is migrated, up and running. (FWIW it is on the greener shared hosting I found: Infomaniak)
17:13:33
@mfaure:matrix.orgMatthieu (2T) FAURE

Hi folks,

I'm currently working on site-sitemap.asqatasun.ovh to 1) place it on our new green shared hosting and 2) have it automatically deployed with Gitlab-CI. Whish me cool copy/paste :joyful:

17:40:55

Show newer messages


Back to Room ListRoom Version: 1