i2b2 webclient -SELINUX & PHP version and other config params

63 views
Skip to first unread message

morris...@gmail.com

unread,
May 6, 2024, 12:10:29 PMMay 6
to i2b2 Install Help
Hi,
This question is from Ngan. 
 went into the browser developer tools and I see these errors that I don’t see on my existing installed client:

 

Cookie “hostName” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite webclient:470:37

XML Parsing Error: syntax error Location: https://i2b2-test.mednet.ucla.edu/i2b2/webclient/ Line Number 1, Column 1:


This page indicates SELINIX should be disabled:  https://community.i2b2.org/wiki/pages/viewpage.action?pageId=41746530.  I disabled it.  Please see config below.

What about the php version?  Do I need to upgrade it?

# php --version

PHP 8.1.2-1ubuntu2.17 (cli) (built: May  1 2024 10:10:07) (NTS)

Copyright (c) The PHP Group

Zend Engine v4.1.2, Copyright (c) Zend Technologies

    with Zend OPcache v8.1.2-1ubuntu2.17, Copyright (c), by Zend Technologies

/etc/selinux/config

/etc/selinux# cat config

# This file controls the state of SELinux on the system.

# SELINUX= can take one of these three values:

# enforcing - SELinux security policy is enforced.

# permissive - SELinux prints warnings instead of enforcing.

# disabled - No SELinux policy is loaded.

#SELINUX=permissive

SELINUX=disabled

# SELINUXTYPE= can take one of these two values:

# default - equivalent to the old strict and targeted policies

# mls     - Multi-Level Security (for military and educational use)

# src     - Custom policy built from source

SELINUXTYPE=default

# SETLOCALDEFS= Check local definition changes

SETLOCALDEFS=0

Vaibhav Talap

unread,
May 10, 2024, 12:39:02 AMMay 10
to i2b2 Install Help
Hello Ngan,

I am writing to acknowledge the your query. We appreciate you taking the time to reach out.

Our team is currently reviewing your query and will get back to you as soon as possible with a response.
Thanks,

Persistent Systems Support Team

Mendis, Michael E.

unread,
May 10, 2024, 11:15:39 AMMay 10
to i2b2-ins...@googlegroups.com

This has been resolved.   The issue was Ngan needed to added the ip address of the wildfly (i2b2) in the whitelist in the index.php file.

 

-mike

 

From: i2b2-ins...@googlegroups.com <i2b2-ins...@googlegroups.com> on behalf of Vaibhav Talap <talapv...@gmail.com>
Date: Friday, May 10, 2024 at 12:39 AM
To: i2b2 Install Help <i2b2-ins...@googlegroups.com>
Subject: Re: i2b2 webclient -SELINUX & PHP version and other config params

        External Email - Use Caution        

--
You received this message because you are subscribed to the Google Groups "i2b2 Install Help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to i2b2-install-h...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/i2b2-install-help/14f23b68-53f9-4c55-a8a6-9cb3be32163an%40googlegroups.com.

The information in this e-mail is intended only for the person to whom it is addressed.  If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline .


Please note that this e-mail is not secure (encrypted).  If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately.  Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail. 

Vaibhav Talap

unread,
May 13, 2024, 4:44:57 AMMay 13
to i2b2 Install Help
Hello Mendis,

Thank you for update.


Thanks,

Persistent Systems Support Team

Reply all
Reply to author
Forward
0 new messages