Hello did you know this bug? auth is not working ...
# troubleshoot
d
Hello did you know this bug? auth is not working version
Copy code
helm upgrade --install datahub datahub/datahub --values charts/datahub/values.yaml  --version 0.2.128
Copy code
LogIn.tsx:85          POST <http://datahub.bdp-prod/logIn> 500 (Internal Server Error)
b
Hey @flat-painter-78331, Could you please check the logs on the frontend pod?
d
No logs
b
can you see the requests on the api-gateway. Is it going through?
d
i don’t have pods api-gateway
b
if you send a post to
Copy code
<http://datahub.bdp-prod/logIn>
using curl is it going through
curl -X POST -i <http://datahub.bdp-prod/login>
what is the response?
d
Copy code
(base) ➜  ~ curl --insecure -I -X POST -i <https://datahub.bdp-prod.detmir-infra.ru/>
HTTP/2 404 
server: nginx/1.15.5
date: Mon, 30 Jan 2023 15:35:21 GMT
content-type: text/plain; charset=utf-8
content-length: 21
where can i see logs for frontend?
b
if you use kubernetes, in the frontend pod in the deployed namespace
kubernetes -n <ns> logs <frontendpod>
Could you try it the curl with
Copy code
<https://datahub.bdp-prod.detmir-infra.ru/logIn>
also FYI this url is exposed to the internet and anyone can access it
try using internal ingress
d
thanks it is internal don’t worry
Copy code
curl --insecure -I -X POST -i <http://datahub.bdp-prod.detmir-infra.ru/logIn> 
HTTP/1.1 500 Internal Server Error
Server: nginx/1.15.5
Date: Mon, 30 Jan 2023 15:46:28 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 1190
Connection: keep-alive
Copy code
datahub-acryl-datahub-actions-85bc97d4bc-p82ck      1/1     Running     0          94m
datahub-datahub-frontend-64cb484d76-f2sz2           1/1     Running     0          94m
datahub-datahub-gms-f7ccddf85-95dks                 1/1     Running     0          94m
datahub-datahub-upgrade-job-mxw88                   0/1     Completed   0          34m
datahub-elasticsearch-setup-job-mfzkn               0/1     Completed   0          35m
datahub-kafka-setup-job-2qp2b                       0/1     Completed   0          35m
datahub-mysql-setup-job-86t8v                       0/1     Completed   0          34m
Copy code
logs datahub-datahub-frontend-64cb484d76-f2sz2 
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See <http://www.slf4j.org/codes.html#StaticLoggerBinder> for further details.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/datahub-frontend/lib/com.google.inject-guice-4.2.2.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
SLF4J: Failed to load class "org.slf4j.impl.StaticMDCBinder".
SLF4J: Defaulting to no-operation MDCAdapter implementation.
SLF4J: See <http://www.slf4j.org/codes.html#no_static_mdc_binder> for further details.
ANTLR Tool version 4.5 used for code generation does not match the current runtime version 4.7.2ANTLR Runtime version 4.5 used for parser compilation does not match the current runtime version 4.7.2ANTLR Tool version 4.5 used for code generation does not match the current runtime version 4.7.2ANTLR Runtime version 4.5 used for parser compilation does not match the current runtime version 4.7.2ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
b
we usually return with some kind of payload or and log it on console. Can you check the nginx ingress controller logs, maybe that failed to route the traffic
d
nginx controller it is out of my team(( i should do special request for my colleagues
why don’t i see log in pod?
b
probably because the request doesn't reach it
also the url is different here:
Copy code
<http://datahub.bdp-prod/logIn> 500
different than the other urls you posted
d
Copy code
helm upgrade --install datahub datahub/datahub --values charts/datahub/values.dev.yaml --version 0.2.143
b
Which url is it trying to reach? and what's the site hosted on?