Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

  

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 
    

0 votes



2 answers

Permanent link
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 

2 votes


Permanent link

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

1 vote

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,014

Question asked: Aug 26 '20, 4:48 p.m.

Question was seen: 2,573 times

Last updated: Oct 09 '20, 7:16 a.m.

Confirmation Cancel Confirm