"Permission denied" when entering a project

88 views
Skip to first unread message

Kay Lamerigts

unread,
Apr 7, 2015, 1:51:03 PM4/7/15
to tai...@googlegroups.com
Hello,

I am able to create a user. This error occurs both for the newly created as for the seeded admin.

Every time I open an project it directs me to the a 403 error. I think it has more to do with these errors from the console log:























I did do the collectstatic for django. 

I don't know where to look.

Greetings

Alejandro Alonso

unread,
Apr 8, 2015, 2:18:33 AM4/8/15
to Kay Lamerigts, tai...@googlegroups.com
Hello Kay,

The web app isn't related to collectstatic for django. What repo are you using for it taiga-front or taiga-front-dist?. 

If it's redirecting you to the home is because any of the API calls haven't enough permissions, could you check your network tab in the console and see what's happening?

Regards,

--
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 post to this group, send email to tai...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/taigaio/c7b5abab-9f78-4548-a432-e46d8c3adf2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

  
Alejandro Alonso Fernández  
CIO & Co-founder

www.kaleidos.net/FC8EAC/

Kay Lamerigts

unread,
Apr 8, 2015, 2:01:57 PM4/8/15
to tai...@googlegroups.com, k.lam...@gmail.com
Hi Alejandro,

I don't think it has anything to do with the webapi. I had some troubles with that but solved those. The api responds with a response just fine. I compared the responses with a test project on www.taiga.io and they are similiar.

No errors on the server.

Thanks for taking the time to read this.

Greetings.

Kay Lamerigts

unread,
Apr 8, 2015, 4:13:02 PM4/8/15
to tai...@googlegroups.com, k.lam...@gmail.com
While comparing with the 'real' site (www.taiga.io) I noticed some differences.

The 'responseUrl' in the XMLHttpRequest is different.

Opening project my website:
http://sub.domain.com/project/<user>-<project>/api/v1/projects/by_slug?slug=<user>-<project>
This returns some html

Opening project taiga.io:
"https://api.taiga.io/api/v1/projects/by_slug?slug=<user>-<project>"
This returns json with project information

So it seems the wrong url gets called.

Op woensdag 8 april 2015 08:18:33 UTC+2 schreef Alejandro Alonso:

Alejandro Alonso

unread,
Apr 9, 2015, 1:53:31 AM4/9/15
to Kay Lamerigts, tai...@googlegroups.com
Hello Kay, 

If the web app is calling to http://sub.domain.com/project/<user>-<project>/api/v1/projects/by_slug?slug=<user>-<project> then it seems like a configuration problem for taiga-front, could you paste here your dist/js/conf.json please?
 
Regards,

Kay Lamerigts

unread,
Apr 9, 2015, 3:31:23 AM4/9/15
to tai...@googlegroups.com, k.lam...@gmail.com
I feel so stupid.

Changed the api url. Now it works. I really thought I changed it! Guess I didnt save.

Thanks for helping Alejandro.

Op donderdag 9 april 2015 07:53:31 UTC+2 schreef Alejandro Alonso:

Alejandro Alonso

unread,
Apr 9, 2015, 3:53:33 AM4/9/15
to Kay Lamerigts, tai...@googlegroups.com
You are welcome Kay!,

And don't worry,  if I received a dollar for every time I have a mistake in a configuration file I would be very rich! :)

--
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 post to this group, send email to tai...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages