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