R4dar / InteligenciaColetivaBot

Assistente virtual - na forma de um chatbot, que vem "embutido" ao Radar e é responsável pela configuração dos algorítmos
Other
2 stars 2 forks source link

Open id: falha de requisição em provedor id.org.br #2

Open lunhg opened 6 years ago

lunhg commented 6 years ago

Reprodução

Executar servidor com npm startou npm test

Resultado esperado

nenhum erro do serviço /issuer

Resultado obtido

No momento do boot obtem-se o seguinte erro, depois da exeucução de src/ services/issuer/issuer.class.js:

...
[winston] Attempt to write logs with no transports {"name":"HTTPError","host":"id.org.br","hostname":"id.org.br","method":"GET","path":"/.well-known/oauth-authorization-server","protocol":"https:","url":"https://id.org.br/.well-known/oauth-authorization-server","statusCode":404,"statusMessage":"Not Found","headers":{"server":"nginx/1.10.3 (Ubuntu)","content-type":"text/html; charset=UTF-8","transfer-encoding":"chunked","connection":"close","set-cookie":["PHPSESSID=9dmlkms4slq2a4hlfp3bb76b85; path=/; HttpOnly"],"cache-control":"no-cache","date":"Thu, 02 Aug 2018 23:05:40 GMT","x-content-type-options":"nosniff","x-frame-options":"DENY","content-security-policy-report-only":"default-src 'self'; script-src https://connect.facebook.net/ http://connect.facebook.net/ http://www.google-analytics.com/ https://www.google-analytics.com/ http://browser-update.org/ https://www.google.com/ https://www.gstatic.com/recaptcha/ 'unsafe-inline' 'unsafe-eval' 'self'; object-src 'none'; style-src https://www.google.com/ https://ajax.googleapis.com/ 'unsafe-inline' 'self'; img-src *; frame-src https://s-static.ak.facebook.com http://static.ak.facebook.com https://www.facebook.com; font-src https://themes.googleusercontent.com/ 'self'; report-uri /nelmio/csp/report","x-content-security-policy-report-only":"default-src 'self'; script-src https://connect.facebook.net/ http://connect.facebook.net/ http://www.google-analytics.com/ https://www.google-analytics.com/ http://browser-update.org/ https://www.google.com/ https://www.gstatic.com/recaptcha/ 'unsafe-inline' 'unsafe-eval' 'self'; object-src 'none'; style-src https://www.google.com/ https://ajax.googleapis.com/ 'unsafe-inline' 'self'; img-src *; frame-src https://s-static.ak.facebook.com http://static.ak.facebook.com https://www.facebook.com; font-src https://themes.googleusercontent.com/ 'self'; report-uri /nelmio/csp/report","content-security-policy":"script-src https://connect.facebook.net/ http://connect.facebook.net/ http://www.google-analytics.com/ https://www.google-analytics.com/ http://browser-update.org/ https://www.google.com/ https://www.gstatic.com/recaptcha/ https://ajax.googleapis.com/ 'unsafe-inline' 'unsafe-eval' 'self'; report-uri /nelmio/csp/report","x-content-security-policy":"script-src https://connect.facebook.net/ http://connect.facebook.net/ http://www.google-analytics.com/ https://www.google-analytics.com/ http://browser-update.org/ https://www.google.com/ https://www.gstatic.com/recaptcha/ https://ajax.googleapis.com/ 'unsafe-inline' 'unsafe-eval' 'self'; report-uri /nelmio/csp/report","x-xss-protection":"0","content-encoding":"gzip"},"level":"error"}