It's all about the answers!

Ask a question

How to resolve the issue of preview attachment failure (*.PNG format) when using Chrome?


jane zhou (1061068) | asked Aug 26 '20, 4:48 p.m.

  

Hi Someone who may concern,

RTC server version: 6.0.6.1 (iFix011)
Chrome version: 85.0.4183.83 (Official Build) (64-bit)

         Our users complained they can not use preview feature for attachment to check .png format file in Chrome directly. They can do it before, but they can not do it now.
         I enabled developer tools of chrome to check the reason, when I click the attachment (.png format), which will make a new window prompt up, but the picture can not show up, but the message I got on console is 

Cross-Origin Read Blocking (CORB) blocked cross-origin response https://[rtc address]:9443/ccm/auth/authrequired with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.

         At the same time, I found I can make the picture show up properly in IE for the same item.
        
         So we are not sure anything we can do to resolve this issue? or IBM have any fix on this issue?

         Thanks!

Best Regards,
Jane Z 
    

2 answers



permanent link
Natarajan Thirumeni (2981131) | answered Oct 09 '20, 7:16 a.m.
A workaround is available at the browser level in v6061:

Launch new tab type> chrome://flags
Search for "SameSite by default cookies"
Set SameSite to Disabled (by default cookies)

Relaunch Chrome.

Try to to preview the image on Chrome.

Starting ELM v7.0.1 there is a possibility to control samesite setting at Liberty server level. Example on how to set server.xml please see https://openliberty.io/blog/2020/03/25/set-samesite-attribute-cookies-liberty.html 


permanent link
Luis Peregrina (18114) | answered Aug 28 '20, 4:42 p.m.
JAZZ DEVELOPER

Hello Jane, turns out we noticed that too, there's a new defect for it: https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/500965

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.