-
Notifications
You must be signed in to change notification settings - Fork 26
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
Connection refused #60
Comments
Hi Guido, there might be a problem with the cookie domain you have set in the plugin settings. Best regards |
Now i get the Message: Could not get api version |
Sorry, it's still connection refused. Here my settings in Moodle: |
Hi Guido, are you sure you only changed the cookie domain and not the Etherpad url? The error "Could not get api version" has nothing to do with your cookie setting. Please check this url again and also your API key. Andreas |
Connection refused means, your Moodle server can't connect the Etherpad server. |
The API Key is checked and it is exactly the same like in APIkey.txt without any blanks. And the error message is not longer Could not get api version
|
What ip address does your Moodle server try to connect? |
Where can i find this information?
|
I don't know how your Moodle server is set up. Maybe you start a shell on your Moodle server and try to connect the Etherpad server by using curl and the Etherpad url. That should tell you the ip and also whether or not your Moodle server can connect the Etherpad server. |
301 Moved Permanentlynginx * Connection #0 to host pad.igmetall-moodle.de left intact What does it means? |
My Firefox reports For your protection, pad.igmetall-moodle.de does not allow Firefox to display this page if it is embedded in another page. To view the page, it must be opened in a new tab. |
I suspect it's the URL. I installed the Etherpad on a different server, like my Moodle installation. Pads installed by the plugin can be accessed at https://pad.igmetall-moodle.de/p/g.C8ldjICim6Y40BxE$igm but not at https://etherpad.uber.space/p/g.C8ldjICim6Y40BxE%24igm How can I set the domain so that the pads can also be accessed via etherpad.uber.space? |
It is not easy to understand your problem without knowing your setup. |
I tried a lot of things today. From my moodleserver I was able to ping the IP 185.26.156.49 today. wget and curl were also successful. And still the etherpad is not displayed inside the pugin. The etherpad itself is on a different server, is that a problem? My firefox sees a security problem with the embedded page: "For your protection, pad.igmetall-moodle.de does not allow Firefox to display this page if it is embedded in another page. To view the page, it must be opened in a new tab." If I then open the iframe in a new page there are no problems. Many greetings |
Can i setup up anything in settings.json of Etherpad to allow embedding? What information do you need to be able to help? |
I've added Content-Security-Policy and now i can display the embedded Etherpads on other Webseite without Problems, but on Moodle i get es error Message like: An error occurred Do you know what it means? Best |
Hi Andreas, the problem has been solved. In order to be able to embed etherpads, my hoster had to set the X-Frame Options to allowed. After that, the Etherpad could be embedded everywhere, even via the Moodle plugin. Many greetings |
Hi Andreas,
my Moodle is at https://igmetall-moodle.de my Etherpad is at https://pad.igmetall-moodle.de. The pads are created, so I assume a connection is made and it's not the API.
However, I can't access the pads in Moodle, only directly via the link. I don't know where the error is. I have set up .igmetall-moodle.com as the cookie domain. The server URL is https://pad.igmetall-moodle.de/.
What am I doing wrong?
Beste Guido
The text was updated successfully, but these errors were encountered: