Embedded sagecells not work in Chrome on mac

26 views
Skip to first unread message

Kwankyu Lee

unread,
Jan 22, 2018, 1:04:43 AM1/22/18
to sage-cell
Hi,

Embedded sagecells do not work in the latest Chrome browser on Mac (High Sierra). The same web page works with Safari on the same machine and with Internet Explorer on a Windows machine. I remember the same web page worked with old Chrome browsers, but from some time not any more... I inspected the issue on the Chrome browser, and the error message is:

Request header field X-XSRFToken is not allowed by Access-Control-Allow-Headers in preflight response.

Is this a known issue? Is there a fix for this? The sagecells are embedded in a webpage of a Django website. I wonder if this fact is related with the issue...

Thank you in advance.


Kwankyu

David Farmer

unread,
Jan 22, 2018, 6:12:32 AM1/22/18
to Kwankyu Lee, sage-cell

A sage cell I tried in Chrome on my Mac seemed to work fine,
so can you provide a link to one that is not working for you?

Do sage cells on other sites work for you?
> --
> You received this message because you are subscribed to the Google Groups "sage-cell" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> sage-cell+...@googlegroups.com.
> To view this discussion on the web visithttps://groups.google.com/d/msgid/sage-cell/7be63b96-1439-47f6-a0c7-9f175db45bf8%40googlegroups.co
> m.
> For more options, visit https://groups.google.com/d/optout.
>
>

Kwankyu Lee

unread,
Jan 22, 2018, 9:18:13 PM1/22/18
to sage-cell


On Monday, January 22, 2018 at 8:12:32 PM UTC+9, David Farmer wrote:

A sage cell I tried in Chrome on my Mac seemed to work fine,
so can you provide a link to one that is not working for you?

I set up a test site:


which fails too. So the issue is not related with Django. Does this site work for you?

Do sage cells on other sites work for you?

Yes. The sagecell site of SageMath homepage works fine.


David Farmer

unread,
Jan 22, 2018, 9:44:37 PM1/22/18
to Kwankyu Lee, sage-cell

It works for me in Chrome 63.0.3239.132 , which is the latest
version, on my MacBook Pro running 10.11.6 (which is not the latest OS).

Not sure how else I can help.

David
> --
> You received this message because you are subscribed to the Google Groups "sage-cell" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> sage-cell+...@googlegroups.com.
> To view this discussion on the web visithttps://groups.google.com/d/msgid/sage-cell/7db77ffe-964d-41b3-af42-42025780bf11%40googlegroups.co

Kwankyu Lee

unread,
Jan 22, 2018, 9:51:08 PM1/22/18
to sage-cell


On Tuesday, January 23, 2018 at 11:44:37 AM UTC+9, David Farmer wrote:

It works for me in Chrome  63.0.3239.132 , which is the latest
version, on my MacBook Pro running 10.11.6 (which is not the latest OS).

That is strange. First I suspected my server is misconfigured. But as it works for you, it now seems that the problem lies with my Chrome browser somehow... 
 
Not sure how else I can help.

That was a big help :-)  Thank  you! Now I will try to reinstall Chrome. 


Kwankyu

Rob Beezer

unread,
Jan 23, 2018, 3:11:07 AM1/23/18
to sage...@googlegroups.com, Kwankyu Lee
Shot in the dark: do you have some extensions running within Chrome?

Rob
>> > sage-cell+...@googlegroups.com <javascript:>.

Kwankyu Lee

unread,
Jan 23, 2018, 4:29:52 AM1/23/18
to sage-cell


On Tuesday, January 23, 2018 at 5:11:07 PM UTC+9, Robert Beezer wrote:
Shot in the dark: do you have some extensions running within Chrome?

Yes, several of them. Just now I removed all of them, but still no luck. 

According to my experiments, the latest Chrome on macOS High Sierra (on Mac Pro) seems problematic, unless someone report counter evidence.  There is no issue with the latest Chrome on El Capitan.


Kwankyu
Reply all
Reply to author
Forward
0 new messages