Closed fernandofreitasti closed 5 years ago
In the log attached I see:
Rejecting request due to invalid Referer attribute:http://d7156lx0270:3000
Do you access Grafana via Nginx? What is the Grafana URL you use? Try http://d7156lx0270:8080
the problem is resolved, im using url http://d7156lx0270:3000 and not using nginx.
I made the call via nginx and the problem was solved thanks.
Fernando Freitas Analista de Suporte C +55 21 99691-2806 www.stefanini.comhttp://www.stefanini.com/ [1490971980206_PastedImage]
De: Rafal Szypulka notifications@github.com Enviado: terça-feira, 13 de novembro de 2018 05:33:13 Para: rafal-szypulka/grafana-ibm-apm Cc: Fernando De Paiva Freitas; Author Assunto: Re: [rafal-szypulka/grafana-ibm-apm] Grafana IBM APM (#21)
In the log attached I see: Rejecting request due to invalid Referer attribute:http://d7156lx0270:3000 Do you access Grafana via Nginx? What is the Grafana URL you use? Try http://d7156lx0270:8080
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/rafal-szypulka/grafana-ibm-apm/issues/21#issuecomment-438165293, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aq0XXhx8tmnQjNB5p8NLMhY6sgA5XmFjks5uunW5gaJpZM4YXaYb.
Importante: As informações deste e-mail são confidenciais. O uso não autorizado é proibido por lei. Por favor, considere o ambiente antes de imprimir. Important: The information on this e-mail is confidential. Non-authorized use is prohibited by law. Please Consider the Environment Before Printing.
Please include this information:
I am having problem with teps when using IBM APM in graphfana, I can not clear the referer of the same call using nginx on the same server where grafana is installed. Can you help me?
Error no TEPS(ITM 6.3):
[11/9/18 17:47:39:033 BRST] 00000022 rest E com.ibm.tivoli.rest.RestRequestProcessor service ##### Rejecting request due to invalid Referer attribute:http://d7156lx0270:3000 [11/9/18 17:47:39:034 BRST] 00000022 webapp E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[RestServlet]: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: SRVE0295E: Error reported: 500 at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext.java:626) at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext.java:656) at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:1236) at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:1210) at com.ibm.tivoli.rest.RestRequestProcessor.handleRequest(RestRequestProcessor.java:245) at org.apache.wink.server.internal.servlet.RestServlet.service(RestServlet.java:124) at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:908) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:453) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:515) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:306) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:166) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1691)
Nginx.conf
user nginx; worker_processes 10;
error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid;
events { worker_connections 1024; }
http { include /etc/nginx/mime.types; default_type application/octet-stream;
}
~