-
Bug
-
Status:
New
-
Major
-
Resolution:
Unresolved
-
None
-
None
-
None
-
-
operating system: macOS, database: postgres, web server: apache. Tested Firefox and Chrome browsers with same login error after initial i2b2 install.
i2b2 webclient error: failed login; message, "The PM Cell is down or the address in the properties file is incorrect"
# To reproduce:
- on macOS:
- install i2b2 database (postgres)
- install i2b2 demo data (sql)
- install core i2b2 server (jboss)
- install i2b2 webclient (php)
- login to local i2b2 webclient (error below)
# Trace to debug
Error: Undefined array key \"query\" in <b>/opt/local/www/apache2/html/proxy.php</b> on line <b>115</b>
# Bug location
// /opt/local/www/apache2/html/proxy.php
$sec_fix = parse_url($proxyURL);
// $sec_fix = [scheme: http, host: localhost, port: 9090, path: /i2b2/services/PMService/getServices]
if ($sec_fix['query'] != null) { // 115
}
# identify issue
// output $sec_fix
foreach ($sec_fix as $key => $value) {
echo "$key: $value; ";
}
/*
[scheme: http, host: localhost, port: 9090, path: /i2b2/services/PMService/getServices]
*/
# apply fix
// fix: option 1
//if (isset($sec_fix['query']) && $sec_fix['query'] != null) {
// $proxyURL = $proxyURL . "?" . $sec_fix['query'];
//}
// fix: option 2
if (array_key_exists('query', $sec_fix)) {
if ($sec_fix['query'] != null) {
$proxyURL = $proxyURL . "?" . $sec_fix['query'];
}
}
After fix is applied to proxy.php, the i2b2 webclient login works.
There are no comments yet on this issue.
{"report":{"fcp":855.3999996185303,"ttfb":240.89999961853027,"pageVisibility":"visible","entityId":13160,"key":"jira.project.issue.nav-detail","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"512de49c-1689-4658-9935-e3e89dbdda80","navigationType":0,"readyForUser":1536.2999997138977,"redirectCount":0,"resourceLoadedEnd":1072.6999998092651,"resourceLoadedStart":254.19999980926514,"resourceTiming":[{"duration":121.19999980926514,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/7fd763ecdf5ed1f47fc4d22fa8382e97-CDN/-elaeo6/820011/16zrvj4/49fa3aa3d35a2cc689cbf274e66cc41a/_/download/contextbatch/css/_super/batch.css","startTime":254.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":254.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":375.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":121.09999990463257,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/82f2fb30b5633c684844a0d68ad88dc3-CDN/-elaeo6/820011/16zrvj4/7155e23ca74fc11d9d92532ccfab76fb/_/download/contextbatch/css/project.issue.navigator,atl.general,atl.global,jira.view.issue,jira.global,-_super/batch.css?jira.create.linked.issue=true&richediton=true&whisper-enabled=true","startTime":254.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":254.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":375.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":278.5,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/781ab6b393dc602ff71cc36d4d8c1113-CDN/-elaeo6/820011/16zrvj4/49fa3aa3d35a2cc689cbf274e66cc41a/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":254.69999980926514,"connectEnd":405.8999996185303,"connectStart":375.59999990463257,"domainLookupEnd":375.59999990463257,"domainLookupStart":375.59999990463257,"fetchStart":254.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":406,"responseEnd":533.1999998092651,"responseStart":474.5,"secureConnectionStart":393.8999996185303},{"duration":289.7999997138977,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/dd973057e68d891a3527336301218ca4-CDN/-elaeo6/820011/16zrvj4/7155e23ca74fc11d9d92532ccfab76fb/_/download/contextbatch/js/project.issue.navigator,atl.general,atl.global,jira.view.issue,jira.global,-_super/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true&whisper-enabled=true","startTime":255,"connectEnd":406.3999996185303,"connectStart":377.3999996185303,"domainLookupEnd":377.3999996185303,"domainLookupStart":377.3999996185303,"fetchStart":255,"redirectEnd":0,"redirectStart":0,"requestStart":406.5,"responseEnd":544.7999997138977,"responseStart":469.2999997138977,"secureConnectionStart":394.5},{"duration":175.90000009536743,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-elaeo6/820011/16zrvj4/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":255.19999980926514,"connectEnd":407,"connectStart":379.3999996185303,"domainLookupEnd":379.3999996185303,"domainLookupStart":379.3999996185303,"fetchStart":255.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":407,"responseEnd":431.09999990463257,"responseStart":426.19999980926514,"secureConnectionStart":395},{"duration":220,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-elaeo6/820011/16zrvj4/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":255.2999997138977,"connectEnd":407.3999996185303,"connectStart":376.2999997138977,"domainLookupEnd":376.2999997138977,"domainLookupStart":376.2999997138977,"fetchStart":255.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":407.3999996185303,"responseEnd":475.2999997138977,"responseStart":430.5,"secureConnectionStart":394.19999980926514},{"duration":121.89999961853027,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/30748292e4ca68be6947d7969829384b-CDN/-elaeo6/820011/16zrvj4/4f66da484ef7d95a2a604d3ab014374c/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":255.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":255.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":377.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":221.09999990463257,"initiatorType":"script","name":"https://community.i2b2.org/jira/rest/api/1.0/shortcuts/820011/6e923b53f106eb58ccbc528d8fc61f4a/shortcuts.js?context=issuenavigation&context=issueaction","startTime":255.59999990463257,"connectEnd":407.7999997138977,"connectStart":377.09999990463257,"domainLookupEnd":377.09999990463257,"domainLookupStart":377.09999990463257,"fetchStart":255.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":407.8999996185303,"responseEnd":476.69999980926514,"responseStart":452.59999990463257,"secureConnectionStart":394.69999980926514},{"duration":110.40000009536743,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/-elaeo6/820011/16zrvj4/efa42a25652b26dfd802540c024826b3/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":267.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":267.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":377.5,"responseStart":0,"secureConnectionStart":0},{"duration":215.80000019073486,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/f14169fffa5f44f0d2568634b30ee425-CDN/-elaeo6/820011/16zrvj4/efa42a25652b26dfd802540c024826b3/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":267.3999996185303,"connectEnd":408,"connectStart":377.5,"domainLookupEnd":377.5,"domainLookupStart":377.5,"fetchStart":267.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":408,"responseEnd":483.19999980926514,"responseStart":431.3999996185303,"secureConnectionStart":394.7999997138977},{"duration":249.90000009536743,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-elaeo6/820011/16zrvj4/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":268.7999997138977,"connectEnd":502,"connectStart":476.3999996185303,"domainLookupEnd":476.3999996185303,"domainLookupStart":476.3999996185303,"fetchStart":268.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":502.09999990463257,"responseEnd":518.6999998092651,"responseStart":516.3999996185303,"secureConnectionStart":488.8999996185303},{"duration":800.1999998092651,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-elaeo6/820011/16zrvj4/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":272.5,"connectEnd":1049.2999997138977,"connectStart":1023.8999996185303,"domainLookupEnd":1023.8999996185303,"domainLookupStart":1023.8999996185303,"fetchStart":272.5,"redirectEnd":0,"redirectStart":0,"requestStart":1053,"responseEnd":1072.6999998092651,"responseStart":1069.5999999046326,"secureConnectionStart":1035.3999996185303},{"duration":548.0999999046326,"initiatorType":"xmlhttprequest","name":"https://community.i2b2.org/jira/rest/webResources/1.0/resources","startTime":760.6999998092651,"connectEnd":1289.8999996185303,"connectStart":1266.5999999046326,"domainLookupEnd":1266.5999999046326,"domainLookupStart":1266.5999999046326,"fetchStart":760.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1290.0999999046326,"responseEnd":1308.7999997138977,"responseStart":1307.2999997138977,"secureConnectionStart":1278},{"duration":473.59999990463257,"initiatorType":"xmlhttprequest","name":"https://community.i2b2.org/jira/rest/orderbycomponent/latest/orderByOptions/primary","startTime":889,"connectEnd":1347.5999999046326,"connectStart":1323.2999997138977,"domainLookupEnd":1323.2999997138977,"domainLookupStart":1323.2999997138977,"fetchStart":889,"redirectEnd":0,"redirectStart":0,"requestStart":1347.6999998092651,"responseEnd":1362.5999999046326,"responseStart":1361.5999999046326,"secureConnectionStart":1335.2999997138977},{"duration":504.6000003814697,"initiatorType":"xmlhttprequest","name":"https://community.i2b2.org/jira/secure/AjaxIssueAction!default.jspa?issueKey=WEBCLIENT-368&decorator=none&prefetch=false&shouldUpdateCurrentProject=false&loadFields=false&_=1742002418838","startTime":997.3999996185303,"connectEnd":1408.8999996185303,"connectStart":1381.3999996185303,"domainLookupEnd":1381.3999996185303,"domainLookupStart":1381.3999996185303,"fetchStart":997.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1409,"responseEnd":1502,"responseStart":1501.1999998092651,"secureConnectionStart":1394.1999998092651},{"duration":383.5,"initiatorType":"xmlhttprequest","name":"https://community.i2b2.org/jira/rest/api/2/mypermissions?_=1742002418839","startTime":1116.8999996185303,"connectEnd":1485,"connectStart":1459.0999999046326,"domainLookupEnd":1459.0999999046326,"domainLookupStart":1459.0999999046326,"fetchStart":1116.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1485.0999999046326,"responseEnd":1500.3999996185303,"responseStart":1499.5999999046326,"secureConnectionStart":1471.8999996185303},{"duration":382.7000002861023,"initiatorType":"xmlhttprequest","name":"https://community.i2b2.org/jira/rest/menu/latest/appswitcher?_=1742002418840","startTime":1121.3999996185303,"connectEnd":1490.0999999046326,"connectStart":1465.8999996185303,"domainLookupEnd":1465.8999996185303,"domainLookupStart":1465.7999997138977,"fetchStart":1121.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1490.3999996185303,"responseEnd":1504.0999999046326,"responseStart":1503.3999996185303,"secureConnectionStart":1478}],"fetchStart":0,"domainLookupStart":82,"domainLookupEnd":176,"connectStart":176,"connectEnd":213,"secureConnectionStart":187,"requestStart":213,"responseStart":241,"responseEnd":272,"domLoading":253,"domInteractive":1097,"domContentLoadedEventStart":1097,"domContentLoadedEventEnd":1139,"domComplete":1835,"loadEventStart":1835,"loadEventEnd":1836,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1083.1999998092651},{"name":"bigPipe.sidebar-id.end","time":1084.0999999046326},{"name":"activityTabFullyLoaded","time":1529.6999998092651}],"measures":[],"correlationId":"807a0ff1accae4","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":45,"dbReadsTimeInMs":0,"dbConnsTimeInMs":4,"applicationHash":"0629dd8d260e3954ece49053e565d01dabe11609","experiments":[]}}