Release #16533

Release #13168: gCube Release 4.14.0

Release #16195: org.gcube.portlets-user.4-14-0

org.gcube.portlets-user.network-graphs-visualization-portlet.0-1-0

Added by Nikos Larios about 1 month ago. Updated 17 days ago.

Status:Under IntegrationStart date:Apr 15, 2019
Priority:NormalDue date:
Assignee:Nikos Larios
Category:portlets-user
Sprint:Release 4.14.0
Wiki Updates: Type:Community Apps
Milestones:
Duration:

History

#1 Updated by Nikos Larios about 1 month ago

Dear @massimiliano.assante@isti.cnr.it ,

Because the portlet that we deployed yesterday has problem with a request that is not working, is it possible to send me some of it's logs, especially if there is an error?
Thank you.

#2 Updated by Massimiliano Assante about 1 month ago

here when I open the portlet

86597509 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Is liferay request: true
86597509 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.endpoint.EndpointManager - Discovering service endpoints for scope /d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev
2019-04-16 15:07:10,006 INFO  o.g.r.d.i.Helper [ajp-bio-8009-exec-12,queryAddAuthenticationControl:200][PORTAL] 87346385 [ajp-bio-8009-exec-12] INFO  org.gcube.resources.discovery.icclient.Helper - submitting filtered query: declare namespace ic = 'http://gcube-system.org/namespaces/informationsystem/registry'; declare namespace functx = "http://www.functx.com"; declare function functx:is-value-in-sequence   ( $value as xs:anyAtomicType? , $seq as xs:anyAtomicType* )  as xs:boolean { $value = $seq } ;  for  $entry0ValueAuth in  collection('/db/Profiles/RunningInstance')//Document/Data/ic:Profile/Resource/Scopes   where  (functx:is-value-in-sequence('/d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev',$entry0ValueAuth/child::*[local-name()='Scope']/text()) or functx:is-value-in-sequence('/d4science.research-infrastructures.eu/D4Research',$entry0ValueAuth/child::*[local-name()='Scope']/text()))  and ( ($entry0ValueAuth/../Profile/ServiceClass/text() eq 'DataAnalysis') and ($entry0ValueAuth/../Profile/ServiceName/text() eq 'data-analytics-visualization')  ) return $entry0ValueAuth/..
86599916 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.service.ServiceDiscovery - Discovered endpoint: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/
86599916 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.endpoint.EndpointManager - Discovered 1 service endpoints for scope /d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev
86599916 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.endpoint.EndpointManager - Returned 1 service endpoint(s)
86599916 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Trying to contact endpoint: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/
86599920 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - ResourceUrl no parameters: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/graph/graphs?
86599920 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - ResourceUrl with parameters: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/graph/graphs?
86599920 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header host - aginfra.d4science.org
86599920 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header gcube-vreid - 143595793
86599920 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header accept-language - en-us
86599920 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header accept-encoding - br, gzip, deflate
86599920 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header cookie - COMPANY_ID=20154; ID=2f4c58716355734c526655644e6e68624163426851413d3d; _ga=GA1.2.1519670122.1400940654; _gid=GA1.2.1618887582.1555318851; GUEST_LANGUAGE_ID=en_US; JSESSIONID=E8BEEFACF72E0E42AA569EFECD2DF56E.infra-gateway1; USER_UUID=58314865462f6854536771554a557149637764676654364e766a7434776b546c63694f4b387874554c53493d; LFR_SESSION_STATE_20158=1555427228053; _gat=1; __utma=191561855.1519670122.1400940654.1554295911.1554822319.539; __utmz=191561855.1550503619.533.25.utmcsr=support.d4science.org|utmccn=(referral)|utmcmd=referral|utmcct=/; DisplayDivasCookiesBanner=yes; SCREEN_NAME=2b4a69376333592b6d784371433355717a66776d56595557336d742f52392f563562414f4b4a642b736c453d; COOKIE_SUPPORT=true
86599920 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header accept - application/json, text/plain, */*
86599920 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header user-agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15
86599920 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header gcube-request-url - https://aginfra.d4science.org/group/aginfraplusdev/network-graph
86599921 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header gcube-userId - 26552
86599921 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header referer - https://aginfra.d4science.org/group/aginfraplusdev/network-graph
86599921 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header X-Forwarded-Proto - https
86599921 [ajp-bio-8009-exec-12] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header connection - close

here I selected the only graph and visualised it fine (5 green dots)

86677799 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Is liferay request: true
86677799 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.endpoint.EndpointManager - Discovering service endpoints for scope /d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev
86677799 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Serving resource for scope: /d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev
86677799 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Is liferay request: true
2019-04-16 15:08:30,297 INFO  o.g.r.d.i.Helper [ajp-bio-8009-exec-10,queryAddAuthenticationControl:200][PORTAL] 87426676 [ajp-bio-8009-exec-10] INFO  org.gcube.resources.discovery.icclient.Helper - submitting filtered query: declare namespace ic = 'http://gcube-system.org/namespaces/informationsystem/registry'; declare namespace functx = "http://www.functx.com"; declare function functx:is-value-in-sequence   ( $value as xs:anyAtomicType? , $seq as xs:anyAtomicType* )  as xs:boolean { $value = $seq } ;  for  $entry0ValueAuth in  collection('/db/Profiles/RunningInstance')//Document/Data/ic:Profile/Resource/Scopes   where  (functx:is-value-in-sequence('/d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev',$entry0ValueAuth/child::*[local-name()='Scope']/text()) or functx:is-value-in-sequence('/d4science.research-infrastructures.eu/D4Research',$entry0ValueAuth/child::*[local-name()='Scope']/text()))  and ( ($entry0ValueAuth/../Profile/ServiceClass/text() eq 'DataAnalysis') and ($entry0ValueAuth/../Profile/ServiceName/text() eq 'data-analytics-visualization')  ) return $entry0ValueAuth/..
86678044 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.service.ServiceDiscovery - Discovered endpoint: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/
86678044 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.endpoint.EndpointManager - Discovered 1 service endpoints for scope /d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev
86678044 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.endpoint.EndpointManager - Returned 1 service endpoint(s)
86678044 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Trying to contact endpoint: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/
86678044 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.endpoint.EndpointManager - Discovering service endpoints for scope /d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev
86678051 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - ResourceUrl no parameters: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/graph/graphs/5f738d2c-33b5-46cc-bfac-864272a8ff95?number=5
I'm simple request
86678051 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - ResourceUrl with parameters: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/graph/graphs/5f738d2c-33b5-46cc-bfac-864272a8ff95?number=5
86678051 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header host - aginfra.d4science.org
86678051 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header gcube-vreid - 143595793
86678051 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header accept-language - en-us
86678051 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header accept-encoding - br, gzip, deflate
86678051 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header cookie - _ga=GA1.2.1519670122.1400940654; _gat=1; _gid=GA1.2.1618887582.1555318851; LFR_SESSION_STATE_26552=1555427299500; COMPANY_ID=20154; ID=2f4c58716355734c526655644e6e68624163426851413d3d; GUEST_LANGUAGE_ID=en_US; JSESSIONID=E8BEEFACF72E0E42AA569EFECD2DF56E.infra-gateway1; USER_UUID=58314865462f6854536771554a557149637764676654364e766a7434776b546c63694f4b387874554c53493d; LFR_SESSION_STATE_20158=1555427228053; __utma=191561855.1519670122.1400940654.1554295911.1554822319.539; __utmz=191561855.1550503619.533.25.utmcsr=support.d4science.org|utmccn=(referral)|utmcmd=referral|utmcct=/; DisplayDivasCookiesBanner=yes; SCREEN_NAME=2b4a69376333592b6d784371433355717a66776d56595557336d742f52392f563562414f4b4a642b736c453d; COOKIE_SUPPORT=true
86678051 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header accept - application/json, text/plain, */*
86678051 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header user-agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15
86678051 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header gcube-request-url - https://aginfra.d4science.org/group/aginfraplusdev/network-graph
86678051 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header gcube-userId - 26552
86678052 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header referer - https://aginfra.d4science.org/group/aginfraplusdev/network-graph
86678052 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header X-Forwarded-Proto - https
86678052 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header connection - close
2019-04-16 15:08:30,542 INFO  o.g.r.d.i.Helper [ajp-bio-8009-exec-7,queryAddAuthenticationControl:200][PORTAL] 87426921 [ajp-bio-8009-exec-7] INFO  org.gcube.resources.discovery.icclient.Helper - submitting filtered query: declare namespace ic = 'http://gcube-system.org/namespaces/informationsystem/registry'; declare namespace functx = "http://www.functx.com"; declare function functx:is-value-in-sequence   ( $value as xs:anyAtomicType? , $seq as xs:anyAtomicType* )  as xs:boolean { $value = $seq } ;  for  $entry0ValueAuth in  collection('/db/Profiles/RunningInstance')//Document/Data/ic:Profile/Resource/Scopes   where  (functx:is-value-in-sequence('/d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev',$entry0ValueAuth/child::*[local-name()='Scope']/text()) or functx:is-value-in-sequence('/d4science.research-infrastructures.eu/D4Research',$entry0ValueAuth/child::*[local-name()='Scope']/text()))  and ( ($entry0ValueAuth/../Profile/ServiceClass/text() eq 'DataAnalysis') and ($entry0ValueAuth/../Profile/ServiceName/text() eq 'data-analytics-visualization')  ) return $entry0ValueAuth/..
86678239 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.service.ServiceDiscovery - Discovered endpoint: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/
86678239 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.endpoint.EndpointManager - Discovered 1 service endpoints for scope /d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev
86678239 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.endpoint.EndpointManager - Returned 1 service endpoint(s)
86678239 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Trying to contact endpoint: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/
86678243 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - ResourceUrl no parameters: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/graph/timestamps/5f738d2c-33b5-46cc-bfac-864272a8ff95?
86678243 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - ResourceUrl with parameters: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/graph/timestamps/5f738d2c-33b5-46cc-bfac-864272a8ff95?
86678243 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header host - aginfra.d4science.org
86678243 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header gcube-vreid - 143595793
86678243 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header accept-language - en-us
86678243 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header accept-encoding - br, gzip, deflate
86678243 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header cookie - _ga=GA1.2.1519670122.1400940654; _gat=1; _gid=GA1.2.1618887582.1555318851; LFR_SESSION_STATE_26552=1555427299500; COMPANY_ID=20154; ID=2f4c58716355734c526655644e6e68624163426851413d3d; GUEST_LANGUAGE_ID=en_US; JSESSIONID=E8BEEFACF72E0E42AA569EFECD2DF56E.infra-gateway1; USER_UUID=58314865462f6854536771554a557149637764676654364e766a7434776b546c63694f4b387874554c53493d; LFR_SESSION_STATE_20158=1555427228053; __utma=191561855.1519670122.1400940654.1554295911.1554822319.539; __utmz=191561855.1550503619.533.25.utmcsr=support.d4science.org|utmccn=(referral)|utmcmd=referral|utmcct=/; DisplayDivasCookiesBanner=yes; SCREEN_NAME=2b4a69376333592b6d784371433355717a66776d56595557336d742f52392f563562414f4b4a642b736c453d; COOKIE_SUPPORT=true
86678243 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header accept - application/json, text/plain, */*
86678243 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header user-agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15
86678243 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header gcube-request-url - https://aginfra.d4science.org/group/aginfraplusdev/network-graph
86678243 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header gcube-userId - 26552
86678243 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header referer - https://aginfra.d4science.org/group/aginfraplusdev/network-graph
86678243 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header X-Forwarded-Proto - https
86678244 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header connection - close

#3 Updated by Nikos Larios about 1 month ago

Thank you @massimiliano.assante@isti.cnr.it for your response, can you select the play button or the next (>) button and send me again the logs? (You get a bad request alert in the Ui).

#4 Updated by Massimiliano Assante about 1 month ago

here's the log when I click play as you requested, the browser instead alerts: Error: "Request failed with status code 400":

149941354 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Serving resource for scope: /d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev
149941354 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Is liferay request: true
149941354 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.endpoint.EndpointManager - Discovering service endpoints for scope /d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev
2019-04-17 08:42:53,854 INFO  o.g.r.d.i.Helper [ajp-bio-8009-exec-7,queryAddAuthenticationControl:200][PORTAL] 150690233 [ajp-bio-8009-exec-7] INFO  org.gcube.resources.discovery.icclient.Helper - submitting filtered query: declare namespace ic = 'http://gcube-system.org/namespaces/informationsystem/registry'; declare namespace functx = "http://www.functx.com"; declare function functx:is-value-in-sequence   ( $value as xs:anyAtomicType? , $seq as xs:anyAtomicType* )  as xs:boolean { $value = $seq } ;  for  $entry0ValueAuth in  collection('/db/Profiles/RunningInstance')//Document/Data/ic:Profile/Resource/Scopes   where  (functx:is-value-in-sequence('/d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev',$entry0ValueAuth/child::*[local-name()='Scope']/text()) or functx:is-value-in-sequence('/d4science.research-infrastructures.eu/D4Research',$entry0ValueAuth/child::*[local-name()='Scope']/text()))  and ( ($entry0ValueAuth/../Profile/ServiceClass/text() eq 'DataAnalysis') and ($entry0ValueAuth/../Profile/ServiceName/text() eq 'data-analytics-visualization')  ) return $entry0ValueAuth/..
149941501 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.service.ServiceDiscovery - Discovered endpoint: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/
149941502 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.endpoint.EndpointManager - Discovered 1 service endpoints for scope /d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev
149941502 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.endpoint.EndpointManager - Returned 1 service endpoint(s)
149941502 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Trying to contact endpoint: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/
149941508 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - ResourceUrl no parameters: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/graph/dates/5f738d2c-33b5-46cc-bfac-864272a8ff95?{"nodes":["614067","2687418","472016","4549004","8947110"],"date":"2012.01"}
149941508 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - ResourceUrl with parameters: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/graph/dates/5f738d2c-33b5-46cc-bfac-864272a8ff95?&nodes[]=614067&nodes[]=2687418&nodes[]=472016&nodes[]=4549004&nodes[]=8947110&date=2012.01
149941508 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header host - aginfra.d4science.org
149941508 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header gcube-vreid - 143595793
149941508 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header accept-language - en-us
149941508 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header accept-encoding - br, gzip, deflate
149941508 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header cookie - LFR_SESSION_STATE_26552=1555490544956; _ga=GA1.2.1519670122.1400940654; _gid=GA1.2.1618887582.1555318851; GUEST_LANGUAGE_ID=en_US; COMPANY_ID=20154; ID=2f4c58716355734c526655644e6e68624163426851413d3d; USER_UUID=3777744b3058694f4d4e69426854516d3465726f6f4a3946487678316f4367514f39554c6675444a48586b3d; LFR_SESSION_STATE_20158=1555490210191; JSESSIONID=C46327716D756AE9520B1129E018EF42.infra-gateway1; __utma=191561855.1519670122.1400940654.1554295911.1554822319.539; __utmz=191561855.1550503619.533.25.utmcsr=support.d4science.org|utmccn=(referral)|utmcmd=referral|utmcct=/; DisplayDivasCookiesBanner=yes; SCREEN_NAME=2b4a69376333592b6d784371433355717a66776d56595557336d742f52392f563562414f4b4a642b736c453d; COOKIE_SUPPORT=true
149941508 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header accept - application/json, text/plain, */*
149941508 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header user-agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15
149941508 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header gcube-request-url - https://aginfra.d4science.org/group/aginfraplusdev/network-graph
149941508 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header gcube-userId - 26552
149941508 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header referer - https://aginfra.d4science.org/group/aginfraplusdev/network-graph
149941508 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header X-Forwarded-Proto - https
149941508 [ajp-bio-8009-exec-7] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header connection - close
149943934 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Serving resource for scope: /d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev
149943934 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Is liferay request: true
149943934 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.endpoint.EndpointManager - Discovering service endpoints for scope /d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev
2019-04-17 08:42:56,432 INFO  o.g.r.d.i.Helper [ajp-bio-8009-exec-10,queryAddAuthenticationControl:200][PORTAL] 150692811 [ajp-bio-8009-exec-10] INFO  org.gcube.resources.discovery.icclient.Helper - submitting filtered query: declare namespace ic = 'http://gcube-system.org/namespaces/informationsystem/registry'; declare namespace functx = "http://www.functx.com"; declare function functx:is-value-in-sequence   ( $value as xs:anyAtomicType? , $seq as xs:anyAtomicType* )  as xs:boolean { $value = $seq } ;  for  $entry0ValueAuth in  collection('/db/Profiles/RunningInstance')//Document/Data/ic:Profile/Resource/Scopes   where  (functx:is-value-in-sequence('/d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev',$entry0ValueAuth/child::*[local-name()='Scope']/text()) or functx:is-value-in-sequence('/d4science.research-infrastructures.eu/D4Research',$entry0ValueAuth/child::*[local-name()='Scope']/text()))  and ( ($entry0ValueAuth/../Profile/ServiceClass/text() eq 'DataAnalysis') and ($entry0ValueAuth/../Profile/ServiceName/text() eq 'data-analytics-visualization')  ) return $entry0ValueAuth/..
149944024 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.service.ServiceDiscovery - Discovered endpoint: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/
149944024 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.endpoint.EndpointManager - Discovered 1 service endpoints for scope /d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev
149944024 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.endpoint.EndpointManager - Returned 1 service endpoint(s)
149944024 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Trying to contact endpoint: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/
149944028 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - ResourceUrl no parameters: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/graph/dates/5f738d2c-33b5-46cc-bfac-864272a8ff95?{"nodes":["614067","2687418","472016","4549004","8947110"],"date":"2012.02"}
149944028 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - ResourceUrl with parameters: http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/graph/dates/5f738d2c-33b5-46cc-bfac-864272a8ff95?&nodes[]=614067&nodes[]=2687418&nodes[]=472016&nodes[]=4549004&nodes[]=8947110&date=2012.02
149944028 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header host - aginfra.d4science.org
149944028 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header gcube-vreid - 143595793
149944029 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header accept-language - en-us
149944029 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header accept-encoding - br, gzip, deflate
149944029 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header cookie - LFR_SESSION_STATE_26552=1555490544956; _ga=GA1.2.1519670122.1400940654; _gid=GA1.2.1618887582.1555318851; GUEST_LANGUAGE_ID=en_US; COMPANY_ID=20154; ID=2f4c58716355734c526655644e6e68624163426851413d3d; USER_UUID=3777744b3058694f4d4e69426854516d3465726f6f4a3946487678316f4367514f39554c6675444a48586b3d; LFR_SESSION_STATE_20158=1555490210191; JSESSIONID=C46327716D756AE9520B1129E018EF42.infra-gateway1; __utma=191561855.1519670122.1400940654.1554295911.1554822319.539; __utmz=191561855.1550503619.533.25.utmcsr=support.d4science.org|utmccn=(referral)|utmcmd=referral|utmcct=/; DisplayDivasCookiesBanner=yes; SCREEN_NAME=2b4a69376333592b6d784371433355717a66776d56595557336d742f52392f563562414f4b4a642b736c453d; COOKIE_SUPPORT=true
149944029 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header accept - application/json, text/plain, */*
149944029 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header user-agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15
149944029 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header gcube-request-url - https://aginfra.d4science.org/group/aginfraplusdev/network-graph
149944029 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header gcube-userId - 26552
149944029 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header referer - https://aginfra.d4science.org/group/aginfraplusdev/network-graph
149944029 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header X-Forwarded-Proto - https
149944029 [ajp-bio-8009-exec-10] INFO gr.uoa.di.madgik.visualization.portlet.VisualizationPortlet - Header connection - close

#5 Updated by Panagiota Koltsida about 1 month ago

Dear @massimiliano.assante@isti.cnr.it , we have developed this application that runs outside the portlet as expected. We have bundled into a portlet and tested in our development portal (an olde version) and is working fine. But when we deploy this in the pre-production and production portals we are experiencing problems with the http GET requests.
Since these portals are customised by you, could you give us any information that may be related to issues in GET requests with multiple parameters that seems not be working?

Do you have any idea what can affect this issue?

#6 Updated by Panagiota Koltsida about 1 month ago

  • Parent task changed from #13168 to #16553

#7 Updated by Massimiliano Assante about 1 month ago

what you report (experiencing problems with multiple http GET requests) may ring a bell to me, it may be related to some changes occurred in the network here at CNR.

However before going that way I think you could try the portlet on our brand new "debugging portal" linked to the production: https://shadow.d4science.org

You are going to find the aginfradev VRE there (https://shadow.d4science.org/group/aginfraplusdev/) but the logs level are lower than INFO and you can deploy your portlet there. I've setup 2 accounts for both you Giota and Nikos (same credentials you use in pre.d4science.org). Giota you have ssh access as ssh life@shadow-gateway.d4science.org

#8 Updated by Panagiota Koltsida about 1 month ago

Thank you Massi, I have deployed the latest version in the shadow portal and I had the same problem. I'm pasting the logs here so that Nikos can have a look.
http://paste.d4science.org/index.php?id=20190417180810_30982

#9 Updated by Massimiliano Assante about 1 month ago

Panagiota Koltsida wrote:

Thank you Massi, I have deployed the latest version in the shadow portal and I had the same problem. I'm pasting the logs here so that Nikos can have a look.
http://paste.d4science.org/index.php?id=20190417180810_30982

Ok, please describe the behaviour of this portlet, in particular the series of http GETs you do and to where, I'm involving @andrea.dellamico@isti.cnr.it to please check if this might be the problem we had with IIT new Switch (although these are not incoming (but out coming) http connections now that I'm thinking of it ...)

#10 Updated by Massimiliano Assante about 1 month ago

had to remove the network-graphs-visualization-portlet/ (from shadow ) as it went in some kind of loop filling up the catalina.out, just so you know. @p.koltsida@di.uoa.gr

16:19:32,057 INFO  [ContainerBackgroundProcessor[StandardEngine[Catalina]]][HotDeployEvent:145] Plugin network-graphs-visualization-portlet requires marketplace-portlet
16:19:32,057 INFO  [ContainerBackgroundProcessor[StandardEngine[Catalina]]][PortletHotDeployListener:525] Unregistering portlets for network-graphs-visualization-portlet
16:19:32,058 INFO  [ContainerBackgroundProcessor[StandardEngine[Catalina]]][PortletHotDeployListener:560] 1 portlet for network-graphs-visualization-portlet was unregistered

#11 Updated by Andrea Dell'Amico about 1 month ago

Massimiliano Assante wrote:

Panagiota Koltsida wrote:

Thank you Massi, I have deployed the latest version in the shadow portal and I had the same problem. I'm pasting the logs here so that Nikos can have a look.
http://paste.d4science.org/index.php?id=20190417180810_30982

Ok, please describe the behaviour of this portlet, in particular the series of http GETs you do and to where, I'm involving andrea.dellamico@isti.cnr.it to please check if this might be the problem we had with IIT new Switch (although these are not incoming (but out coming) http connections now that I'm thinking of it ...)

Our firewall blocks incoming connections that come from different ports from the same IP address in a small time interval. But the connections are not blocked immediately and you should receive timeouts errors: it seems not to be the case here, also if I try to access the remote host from the command line it answers:

andrea.dellamico@shadow-gateway:~$ curl http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/
Error (401) : this resource cannot process this request because it needs authorization
Stacktrace:
org.gcube.smartgears.handlers.application.request.RequestException: data-analytics-visualization: authorization required

[...]

#12 Updated by Nikos Larios about 1 month ago

Dear @andrea.dellamico@isti.cnr.it ,

Thank you for investigating the issue. The backend service accepts request only from portlets with the right header, that's why you got an authorization error.

The GET requests that are failing are those with multiple parameters including one list of variables.
An example of such a request is:

http://dl029.madgik.di.uoa.gr:8080/data-analytics-visualization-service/graph/dates/5f738d2c-33b5-46cc-bfac-864272a8ff95?nodes[]=472016&nodes[]=614067&nodes[]=2687418&nodes[]=4447010&nodes[]=4549004&nodes[]=5075034&nodes[]=8947110&date=2012.01

For the above request the backend service receives a GET request with parameters / null null.

All others GET requests that contain only one parameter work fine.
I also don't think that the multiple requests is the case here, because even sending just one of the above requests won't work.

#13 Updated by Andrea Dell'Amico about 1 month ago

@nlarios@di.uoa.gr I know about the authorization, my check was only aimed at verifying that the firewall did not block the requests. The block is at the IP level, so the every attempt should time out. It's not the case, so I can exclude any network problems.

#14 Updated by Panagiota Koltsida 21 days ago

  • Parent task changed from #16553 to #16195

#15 Updated by Panagiota Koltsida 21 days ago

  • Type changed from Enabling to Community Apps

#16 Updated by Massimiliano Assante 17 days ago

  • Status changed from Available to Under Integration

Also available in: Atom PDF