Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You do not have permission to access this pad #6

Open
jhuet opened this issue Dec 27, 2011 · 4 comments
Open

You do not have permission to access this pad #6

jhuet opened this issue Dec 27, 2011 · 4 comments

Comments

@jhuet
Copy link

jhuet commented Dec 27, 2011

Hello,

This is the message i have while viewing a created pad. If it can help, here's the whole dialog logs from the time i refresh the page to the time it's fully loaded :

[2011-12-27 06:09:59.200] [INFO] API - REQUEST, createGroupIfNotExistsFor, {"apikey":"cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8","groupMapper":"35"}
[2011-12-27 06:09:59.200] [INFO] API - RESPONSE, createGroupIfNotExistsFor, {"code":0,"message":"ok","data":{"groupID":"g.JLKrskwrU1VNqoTK"}}
[2011-12-27 06:09:59.201] [INFO] http - 200, GET /api/1/createGroupIfNotExistsFor?apikey=cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8&groupMapper=35
[2011-12-27 06:09:59.203] [INFO] API - REQUEST, createAuthorIfNotExistsFor, {"apikey":"cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8","authorMapper":"jeremy"}
[2011-12-27 06:09:59.204] [INFO] API - RESPONSE, createAuthorIfNotExistsFor, {"code":0,"message":"ok","data":{"authorID":"a.SbN3AJ2JdHhQ23mG"}}
[2011-12-27 06:09:59.204] [INFO] http - 200, GET /api/1/createAuthorIfNotExistsFor?apikey=cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8&authorMapper=jeremy
[2011-12-27 06:09:59.206] [INFO] API - REQUEST, createSession, {"apikey":"cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8","groupID":"g.JLKrskwrU1VNqoTK","authorID":"a.SbN3AJ2JdHhQ23mG","validUntil":"1324995240"}
[2011-12-27 06:09:59.207] [INFO] API - RESPONSE, createSession, {"code":0,"message":"ok","data":{"sessionID":"s.4UWKXvMYtch6s3KY"}}
[2011-12-27 06:09:59.207] [INFO] http - 200, GET /api/1/createSession?apikey=cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8&groupID=g.JLKrskwrU1VNqoTK&authorID=a.SbN3AJ2JdHhQ23mG&validUntil=1324995240
[2011-12-27 06:09:59.216] [INFO] API - REQUEST, createGroupIfNotExistsFor, {"apikey":"cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8","groupMapper":"35"}
[2011-12-27 06:09:59.216] [INFO] API - RESPONSE, createGroupIfNotExistsFor, {"code":0,"message":"ok","data":{"groupID":"g.JLKrskwrU1VNqoTK"}}
[2011-12-27 06:09:59.216] [INFO] http - 200, GET /api/1/createGroupIfNotExistsFor?apikey=cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8&groupMapper=35
[2011-12-27 06:09:59.217] [INFO] API - REQUEST, createAuthorIfNotExistsFor, {"apikey":"cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8","authorMapper":"jeremy"}
[2011-12-27 06:09:59.217] [INFO] API - RESPONSE, createAuthorIfNotExistsFor, {"code":0,"message":"ok","data":{"authorID":"a.SbN3AJ2JdHhQ23mG"}}
[2011-12-27 06:09:59.218] [INFO] http - 200, GET /api/1/createAuthorIfNotExistsFor?apikey=cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8&authorMapper=jeremy
[2011-12-27 06:09:59.219] [INFO] API - REQUEST, createSession, {"apikey":"cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8","groupID":"g.JLKrskwrU1VNqoTK","authorID":"a.SbN3AJ2JdHhQ23mG","validUntil":"1324995240"}
[2011-12-27 06:09:59.220] [INFO] API - RESPONSE, createSession, {"code":0,"message":"ok","data":{"sessionID":"s.IiYQHIZdI5NLdvfz"}}
[2011-12-27 06:09:59.220] [INFO] http - 200, GET /api/1/createSession?apikey=cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8&groupID=g.JLKrskwrU1VNqoTK&authorID=a.SbN3AJ2JdHhQ23mG&validUntil=1324995240
[2011-12-27 06:09:59.783] [INFO] socket.io - handshake authorized '4878189191128227010'
[2011-12-27 06:09:59.914] [WARN] message - Authentication try failed:{"component":"pad","type":"CLIENT_READY","padId":"g.JLKrskwrU1VNqoTK$4eea248197822","sessionID":null,"password":null,"token":"t.vjcO7HRi2VpFTh9mAvY5","protocolVersion":2}
[2011-12-27 06:09:59.916] [INFO] message - to 4878189191128227010: {"accessStatus":"deny"}

And i can use etherpad-lite without any problem by accessing it thru its URL (wich i put in the config options with the API key).

@sembrestels
Copy link
Collaborator

Pad autentication is via a cookie. This message appears when the cookie with the sessionID is not saved.

Make sure you have cookies enabled and pad server is in the same domain than the elgg network (or in a subdomain: pad.network.org the pad and network.org the elgg).

@sembrestels
Copy link
Collaborator

Now, it happens for me in chromium browsers, but not in firefox. I'll investigate a little more...

@titomiguelcosta
Copy link

I'm getting this problem, any solution? When i create my group pad, i create a session and set a cookie. My application and etherpad are on the same domain but different ports, 80 for my app and 9001 for the etherpad.

@titomiguelcosta
Copy link

got it right now, unfortunately, the title of the pad had an #, and that was causing the problem, not really the session id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants