ATEN Bordeaux - Erreur de connexion

Bonjour,

j’essaye de connecter le plugin Pronote sur mon compte, mais j’ai des erreurs en utilisant ATEN Bordeaux.
Sur le site suivant : Lien de connexion
On s’identifie via la page en copie :


Cela fonctionne très bien sur le navigateur.

Dans le plugin avec la configuration suivante (et activé bien entendu contrairement à la capture) :

Le log en débug de Pronote

 [2020-10-13 10:40:25][DEBUG] : Fetch result : {"message":"getaddrinfo ENOTFOUND bv.ac-bordeaux.frsso","name":"Error","stack":"Error: getaddrinfo ENOTFOUND bv.ac-bordeaux.frsso
 at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26)","config":{"url":"https://bv.ac-bordeaux.frsso/SSO?SPEntityID=https%3A%2F%2Fmon.lyceeconnecte.fr%2Fauth%2Fsaml%2Fmetadata%2Fidp.xml","method":"get","headers":{"Accept":"application/json, text/plain, */*","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0","Content-Type":"","Cookie":""},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxRedirects":0},"code":"ENOTFOUND"}
 [2020-10-13 10:40:25][ERROR] : getaddrinfo ENOTFOUND bv.ac-bordeaux.frsso
 [2020-10-13 10:40:25][DEBUG] : Token : {"message":"getaddrinfo ENOTFOUND bv.ac-bordeaux.frsso","name":"Error","stack":"Error: getaddrinfo ENOTFOUND bv.ac-bordeaux.frsso
 at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26)","config":{"url":"https:\/\/bv.ac-bordeaux.frsso\/SSO?SPEntityID=https%3A%2F%2Fmon.lyceeconnecte.fr%2Fauth%2Fsaml%2Fmetadata%2Fidp.xml","method":"get","headers":{"Accept":"application\/json, text\/plain, *\/*","User-Agent":"Mozilla\/5.0 (X11; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","Content-Type":"","Cookie":""},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxRedirects":0},"code":"ENOTFOUND"}
 [2020-10-13 10:40:25][DEBUG] : Token :
 [2020-10-13 10:40:25][DEBUG] : SetKeepAlive
 [2020-10-13 10:40:25][DEBUG] : Fetch
 [2020-10-13 10:40:25][DEBUG] : Get Token
 [2020-10-13 10:40:25][DEBUG] : Fetch
 [2020-10-13 10:40:25][DEBUG] : Fetch result : {"message":"getaddrinfo ENOTFOUND bv.ac-bordeaux.frsso","name":"Error","stack":"Error: getaddrinfo ENOTFOUND bv.ac-bordeaux.frsso
 at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26)","config":{"url":"https://bv.ac-bordeaux.frsso/SSO?SPEntityID=https%3A%2F%2Fmon.lyceeconnecte.fr%2Fauth%2Fsaml%2Fmetadata%2Fidp.xml","method":"get","headers":{"Accept":"application/json, text/plain, */*","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0","Content-Type":"","Cookie":""},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxRedirects":0},"code":"ENOTFOUND"}
 [2020-10-13 10:40:25][ERROR] : getaddrinfo ENOTFOUND bv.ac-bordeaux.frsso
 [2020-10-13 10:40:25][DEBUG] : Token : {"message":"getaddrinfo ENOTFOUND bv.ac-bordeaux.frsso","name":"Error","stack":"Error: getaddrinfo ENOTFOUND bv.ac-bordeaux.frsso
 at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26)","config":{"url":"https:\/\/bv.ac-bordeaux.frsso\/SSO?SPEntityID=https%3A%2F%2Fmon.lyceeconnecte.fr%2Fauth%2Fsaml%2Fmetadata%2Fidp.xml","method":"get","headers":{"Accept":"application\/json, text\/plain, *\/*","User-Agent":"Mozilla\/5.0 (X11; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","Content-Type":"","Cookie":""},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxRedirects":0},"code":"ENOTFOUND"}
 [2020-10-13 10:40:25][DEBUG] : Token :
 [2020-10-13 10:40:25][DEBUG] : SetKeepAlive
 [2020-10-13 10:40:25][DEBUG] : Fetch
 [2020-10-13 10:40:25][DEBUG] : Get Token
 [2020-10-13 10:40:25][DEBUG] : Fetch
 [2020-10-13 10:40:25][DEBUG] : Fetch result : {"message":"getaddrinfo ENOTFOUND bv.ac-bordeaux.frsso","name":"Error","stack":"Error: getaddrinfo ENOTFOUND bv.ac-bordeaux.frsso
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26)","config":{"url":"https://bv.ac-bordeaux.frsso/SSO?SPEntityID=https%3A%2F%2Fmon.lyceeconnecte.fr%2Fauth%2Fsaml%2Fmetadata%2Fidp.xml","method":"get","headers":{"Accept":"application/json, text/plain, */*","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0","Content-Type":"","Cookie":""},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxRedirects":0},"code":"ENOTFOUND"}
 [2020-10-13 10:40:25][ERROR] : getaddrinfo ENOTFOUND bv.ac-bordeaux.frsso
 [2020-10-13 10:40:25][DEBUG] : Token : {"message":"getaddrinfo ENOTFOUND bv.ac-bordeaux.frsso","name":"Error","stack":"Error: getaddrinfo ENOTFOUND bv.ac-bordeaux.frsso
 at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26)","config":{"url":"https:\/\/bv.ac-bordeaux.frsso\/SSO?SPEntityID=https%3A%2F%2Fmon.lyceeconnecte.fr%2Fauth%2Fsaml%2Fmetadata%2Fidp.xml","method":"get","headers":{"Accept":"application\/json, text\/plain, *\/*","User-Agent":"Mozilla\/5.0 (X11; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","Content-Type":"","Cookie":""},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxRedirects":0},"code":"ENOTFOUND"}
 [2020-10-13 10:40:25][DEBUG] : Token :
 [2020-10-13 10:40:25][DEBUG] : SetKeepAlive
 [2020-10-13 10:40:25][DEBUG] : Fetch
 [2020-10-13 10:40:25][DEBUG] : Get Token
 [2020-10-13 10:40:25][DEBUG] : Fetch

Log pronote node :

Error during request handling :
Error: getaddrinfo ENOTFOUND bv.ac-bordeaux.frsso
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) {
errno: 'ENOTFOUND',
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'bv.ac-bordeaux.frsso',
config: {
url: 'https://bv.ac-bordeaux.frsso/SSO?SPEntityID=https%3A%2F%2Fmon.lyceeconnecte.fr%2Fauth%2Fsaml%2Fmetadata%2Fidp.xml',
method: 'get',
headers: {
Accept: 'application/json, text/plain, */*',
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0',
'Content-Type': '',
Cookie: ''
},
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
adapter: [Function: httpAdapter],
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
validateStatus: [Function: validateStatus],
maxRedirects: 0,
data: undefined
},
request: ClientRequest {
_events: [Object: null prototype] {
response: [Function],
error: [Function: handleRequestError]
},
_eventsCount: 2,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: TLSSocket {
_tlsOptions: [Object],
_secureEstablished: false,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
_SNICallback: null,
servername: null,
alpnProtocol: null,
authorized: false,
authorizationError: null,
encrypted: true,
_events: [Object: null prototype],
_eventsCount: 10,
connecting: false,
_hadError: true,
_parent: null,
_host: 'bv.ac-bordeaux.frsso',
_readableState: [ReadableState],
readable: false,
_maxListeners: undefined,
_writableState: [WritableState],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: 'GET /SSO?SPEntityID=https%3A%2F%2Fmon.lyceeconnecte.fr%2Fauth%2Fsaml%2Fmetadata%2Fidp.xml HTTP/1.1\r\n' +
'Accept: application/json, text/plain, */*\r\n' +
'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0\r\n' +
'Content-Type: \r\n' +
'Cookie: \r\n' +
'Host: bv.ac-bordeaux.frsso\r\n' +
'Connection: close\r\n' +
'\r\n',
_pendingEncoding: 'latin1',
server: undefined,
_server: null,
ssl: null,
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Circular],
[Symbol(res)]: [TLSWrap],
[Symbol(asyncId)]: 1180790,
[Symbol(kHandle)]: null,
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(kBytesRead)]: 0,
[Symbol(kBytesWritten)]: 0,
[Symbol(connect-options)]: [Object]
},
connection: TLSSocket {
_tlsOptions: [Object],
_secureEstablished: false,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
_SNICallback: null,
servername: null,
alpnProtocol: null,
authorized: false,
authorizationError: null,
encrypted: true,
_events: [Object: null prototype],
_eventsCount: 10,
connecting: false,
_hadError: true,
_parent: null,
_host: 'bv.ac-bordeaux.frsso',
_readableState: [ReadableState],
readable: false,
_maxListeners: undefined,
_writableState: [WritableState],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: 'GET /SSO?SPEntityID=https%3A%2F%2Fmon.lyceeconnecte.fr%2Fauth%2Fsaml%2Fmetadata%2Fidp.xml HTTP/1.1\r\n' +
'Accept: application/json, text/plain, */*\r\n' +
'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0\r\n' +
'Content-Type: \r\n' +
'Cookie: \r\n' +
'Host: bv.ac-bordeaux.frsso\r\n' +
'Connection: close\r\n' +
'\r\n',
_pendingEncoding: 'latin1',
server: undefined,
_server: null,
ssl: null,
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Circular],
[Symbol(res)]: [TLSWrap],
[Symbol(asyncId)]: 1180790,
[Symbol(kHandle)]: null,
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(kBytesRead)]: 0,
[Symbol(kBytesWritten)]: 0,
[Symbol(connect-options)]: [Object]
},
_header: 'GET /SSO?SPEntityID=https%3A%2F%2Fmon.lyceeconnecte.fr%2Fauth%2Fsaml%2Fmetadata%2Fidp.xml HTTP/1.1\r\n' +
'Accept: application/json, text/plain, */*\r\n' +
'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0\r\n' +
'Content-Type: \r\n' +
'Cookie: \r\n' +
'Host: bv.ac-bordeaux.frsso\r\n' +
'Connection: close\r\n' +
'\r\n',
_onPendingData: [Function: noopPendingOutput],
agent: Agent {
_events: [Object: null prototype],
_eventsCount: 1,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object],
requests: {},
sockets: [Object],
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
maxCachedSessions: 100,
_sessionCache: [Object]
},
socketPath: undefined,
method: 'GET',
path: '/SSO?SPEntityID=https%3A%2F%2Fmon.lyceeconnecte.fr%2Fauth%2Fsaml%2Fmetadata%2Fidp.xml',
_ended: false,
res: null,
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
[Symbol(kNeedDrain)]: false,
[Symbol(isCorked)]: false,
[Symbol(kOutHeaders)]: [Object: null prototype] {
accept: [Array],
'user-agent': [Array],
'content-type': [Array],
cookie: [Array],
host: [Array]
}
},
response: undefined,
isAxiosError: true,
toJSON: [Function]
}

J’ai également essayé en manuel sans plus de succès.

Pouvez vous m’aider ?
Merci d’avance

Hello,

Erreur simple quand on connais,
Il manque un / a ton lien Pronote.

Normalement ton lien a mettre est : Accès aux applications académiques

Cdt
Thibaut

1 « J'aime »

J’ai modifié le lien, mais ce ne change rien, j’ai cette erreur qui revient
getaddrinfo ENOTFOUND bv.ac-bordeaux.frsso

Ha, sa par contre c’est autre chose, avec mon collègues on a changé les façon de travailler avec les cas. et celui la on a du lui laisser sont bug…

Je corrige sa rapidement.
Ps : tu est déjà en beta, donc tu devrais l’avoir de dispo dans 10 ou 15 min.

Cdt
Thibaut

1 « J'aime »

Tu est bien en beta dernière version ?

Cdt
Thibaut

1 « J'aime »

Je ne suis pas en béta, mais je peux attendre :wink:

Ha,
Alors on a peux être trouver ton erreur,
La stable devrais pas tarder, je corrige encore quelque bug :wink:

Cdt
Thibaut

1 « J'aime »

Ok, j’attends.
Mais déjà un grand merci pour la réactivité.

1 « J'aime »

Re bonjour,
j’ai fait la mise a jour et je n’ai plus l’erreur précédente.
Par contre je n’arrive toujours pas à le faire fonctionner.
Ci dessous le log :

[2020-10-16 15:16:02][DEBUG] : getData
[2020-10-16 15:16:02][DEBUG] : Fetch
[2020-10-16 15:16:02][DEBUG] : Get Token
[2020-10-16 15:16:02][DEBUG] : Fetch
[2020-10-16 15:16:05][DEBUG] : Fetch result : {"code":3,"message":"Wrong user credentials"}
[2020-10-16 15:16:05][ERROR] : Wrong user credentials: xxxxxxxxxxxxx
[2020-10-16 15:16:05][DEBUG] : Get Token ERROR
[2020-10-16 15:16:05][DEBUG] : Fetch result : {"message":"Missing 'Token' header"}
[2020-10-16 15:16:05][DEBUG] : Get Token
[2020-10-16 15:16:05][DEBUG] : Fetch
[2020-10-16 15:16:07][DEBUG] : Fetch result : {"code":3,"message":"Wrong user credentials"}
[2020-10-16 15:16:07][ERROR] : Wrong user credentials: xxxxxxxxxxxxx
[2020-10-16 15:16:07][DEBUG] : Get Token ERROR
[2020-10-16 15:16:07][DEBUG] : getData : false
[2020-10-16 15:16:07][DEBUG] : getPeriods
[2020-10-16 15:16:07][DEBUG] : Fetch
[2020-10-16 15:16:07][DEBUG] : Get Token
[2020-10-16 15:16:07][DEBUG] : Fetch
[2020-10-16 15:16:10][DEBUG] : Fetch result : {"code":3,"message":"Wrong user credentials"}
[2020-10-16 15:16:10][ERROR] : Wrong user credentials: xxxxxxxxxxxxx
[2020-10-16 15:16:10][DEBUG] : Get Token ERROR
[2020-10-16 15:16:10][DEBUG] : Fetch result : {"message":"Missing 'Token' header"}
[2020-10-16 15:16:10][DEBUG] : Get Token
[2020-10-16 15:16:10][DEBUG] : Fetch
[2020-10-16 15:16:12][DEBUG] : Fetch result : {"code":3,"message":"Wrong user credentials"}
[2020-10-16 15:16:12][ERROR] : Wrong user credentials: xxxxxxxxxxxxx
[2020-10-16 15:16:12][DEBUG] : Get Token ERROR
[2020-10-16 15:16:12][DEBUG] : getPeriods : false
[2020-10-16 15:16:12][DEBUG] : getchildren
[2020-10-16 15:16:12][DEBUG] : Fetch
[2020-10-16 15:16:12][DEBUG] : Get Token
[2020-10-16 15:16:12][DEBUG] : Fetch
[2020-10-16 15:16:14][DEBUG] : Fetch result : {"code":3,"message":"Wrong user credentials"}
[2020-10-16 15:16:14][ERROR] : Wrong user credentials: xxxxxxxxxxxxx
[2020-10-16 15:16:14][DEBUG] : Get Token ERROR
[2020-10-16 15:16:14][DEBUG] : Fetch result : {"message":"Missing 'Token' header"}
[2020-10-16 15:16:14][DEBUG] : Get Token
[2020-10-16 15:16:14][DEBUG] : Fetch
[2020-10-16 15:16:16][DEBUG] : Fetch result : {"code":3,"message":"Wrong user credentials"}
[2020-10-16 15:16:16][ERROR] : Wrong user credentials: xxxxxxxxxxxxx
[2020-10-16 15:16:16][DEBUG] : Get Token ERROR
[2020-10-16 15:16:16][DEBUG] : getchildren : false

Je crois comprendre que c’est un problème d’identifiants, qui pourtant sont les bons. J’ai supprimé les équipements et le plugins et tous réinstallé comme les captures précédentes. (j’ai corrigé « / » dans le lien), mais toujours le même résultat.

Cordialement
Vincent

Hello,

Nouvelle Stable ou Beta a l’instant, normalement sa devrais ajouter ton académie… qui est pas la même que l’autre bordeaux.

Ta nouvelle académie devrais être ac-Bordeau 2.

cdt
Thibaut

Cdt
Thibaut

1 « J'aime »

Merci beaucoup, ca fonctionne désormais.

1 « J'aime »

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.