CORS Problem

123 views
Skip to first unread message

Scott Johnson

unread,
Jul 3, 2021, 10:53:33 AM7/3/21
to taigaio
Hello:

I'm running Taiga in a docker container on a server that then uses an nginx proxy so I can access it from the outside world. I _believe_ I just updated the docker images to the latest version (although, I'm having difficulty knowing exactly which version of Taiga I'm running... is there a way in the UI to check the version?) Whenever I move something in the backlog (either to a sprint or reorder it in the backlog itself), I am taken to the "Something happened..." view, and the following error messages are in the console:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://taiga.foamfactory.io:9000/api/v1/userstories/218. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

It _does_ actually perform the move, however, so while this is a little annoying, it is workable for the time being. My suspicion is that something is messed up in my configuration. Could someone give me a bit of help on how to troubleshoot this?

Thank you!

~Scott

P.S. For those of you in the United States, I hope you have a happy and safe Independence day!

David Barragán

unread,
Jul 5, 2021, 11:43:34 AM7/5/21
to Scott Johnson, taigaio
Hi Scott,

I will try to answer your questions

- About the taiga version:

there is no way in the UI to check the version, you only find the version number in the source code. Using the latest docker version is a good method to be updated.

- About the error:

I don't have enough information to know where is the problems. The first message (the 404) is not an error, in fact it's an expected answer, and the second one is very generic and probably has nothing to do with the actual error. You have to share with us your settings (taiga and nginx settings) to try to find out where the problem may be. You can check (and share with us) the network tab in the browser development tools and check the logs of the docker images (specially taiga-back).

Sorry for not being able to offer the solution, I need more info to discover the cause of your error.


Best Regards


PD: I don't live in USA, but I hope you enjoyed the Independence day!


--
Please help us keep the Taiga.io Community open and inclusive, follow our Code of Conduct:
https://github.com/taigaio/code-of-conduct/blob/master/CODE_OF_CONDUCT.md
---
You received this message because you are subscribed to the Google Groups "taigaio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taigaio+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/taigaio/CAEFop40rjyxwcaQTsb1RYY-oMBDb5rvEDH93RtjUWsQWL-g%3DGQ%40mail.gmail.com.


--
Logo Kaleidos David Barragán Merino
Engineer & Co-founder 
kaleidos.net/FFF8E7
 


Este mensaje y sus archivos adjuntos van dirigidos exclusivamente a su destinatario, y pudiendo contener información confidencial sometida a secreto profesional, o cuya divulgación esté legalmente prohibida. Cualquier opinión en él contenida es exclusiva de su autor y no representa necesariamente la opinión de la empresa. Si ha recibido este mensaje por error, le rogamos nos lo comunique de forma inmediata por esta misma vía y proceda a su eliminación, así como a la de cualquier documento adjunto al mismo. El correo electrónico vía Internet no es seguro y no se puede garantizar que no haya errores ya que puede ser interceptado, modificado, perdido o destruido, o contener virus. Cualquier persona que se ponga en contacto con nosotros por correo electrónico se considerará que asume estos riesgos.

KALEIDOS OPEN SOURCE se reserva las acciones legales que le correspondan contra todo tercero que acceda de forma ilegítima al contenido de cualquier mensaje externo procedente del mismo.

INFORMACIÓN PROTECCIÓN DE DATOS. Responsable: KALEIDOS OPEN SOURCE (B86241973)

Le informamos que sus datos identificativos y los contenidos en los correos electrónicos y ficheros adjuntos pueden ser incorporados a nuestras bases de datos con la finalidad de mantener relaciones profesionales y/o comerciales y, que serán conservados mientras se mantenga la relación. Si lo desea, puede ejercer su derecho a acceder, rectificar y suprimir sus datos y demás reconocidos normativamente dirigiéndose al correo emisor o en los datos del responsable. Para información y consultas visite nuestra web  https://kaleidos.net

Scott Johnson

unread,
Jul 7, 2021, 11:31:01 AM7/7/21
to David Barragán, taigaio
Thank you David.

The issue I was having was, as I suspected, related to an nginx configuration. I had to set the headers manually in the nginx configuration for the proxy.

Thank you for your help!

~Scott

David Barragán

unread,
Jul 8, 2021, 2:48:59 AM7/8/21
to Scott Johnson, taigaio
Oh, I'm glad you were able to solve the problem.


Best regards.

Bruck T

unread,
Oct 4, 2021, 11:18:11 AM10/4/21
to taigaio
Hi Scott,
I seem to be having a simiar issue. Can you please tell me what proxy settings in nginx configuration I need to set manually and what that means?

- Bruck
Reply all
Reply to author
Forward
0 new messages