On Wed, Jan 29, 2020 at 1:12 PM Andrey Novoseltsev <[email protected]> wrote:
>
> Hi William,
>
> I've had a few issues with CORS in the past, including a bug in 
> sockjs-tornado that I fixed, but the problem was always on our side, i.e. 
> something had to be done in SageMathCell code to make things work. I am not 
> aware of any specific CORS configuration that has to be done on the client 
> side and it seems from common sense that there should not be any. Is there a 
> way to make things work in your situation by doing server-side changes?


I'm not sure.  If you want to replicate the problem:

1. Make a file foo.html in a CoCalc project that embeds a cell.
2. In the file listing, click the checkbox next to the file, then the
download button, and click on the raw link that appears.
3. Observe an error in your console.log.

NOTE: I just investigated further and I see the CORS error when using
Google Chrome Version 79.0.3945.130, but NOT when using Firefox
72.0.1.  So this could easily be one of those problems that only
happens due to Google Chrome turning the security screws.

> As for error messages - we never intend to fail silently, so when it does 
> happen there is definitely a possibility to improve some code.
>
> Thank you!
> Andrey
>
> --
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-cell/c30eee2c-f6fa-481a-a424-346c2cb17203%40googlegroups.com.



-- 
William (http://wstein.org)

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/CACLE5GCPMAL20KgGgxCeoCLPBhGfRJNT3vZh%2BS-D4572tBk-PA%40mail.gmail.com.

Reply via email to