+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 23
Virtual Learning Platforms Thread, Has anyone linked their moodle to google apps using the google authentication plugin? in Technical; I have installed the plugin from moodlerooms but I keep gettings a connection error... Google Apps error: Unable to Connect ...
  1. #1
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30

    Has anyone linked their moodle to google apps using the google authentication plugin?

    I have installed the plugin from moodlerooms but I keep gettings a connection error...
    Google Apps error: Unable to Connect to ssl://www.google.com:443. Error #110: Connection timed out
    My moodle is installed on ubuntu server and goes through the LA firewall so I am wondering if I can do any checks on the ubuntu box to see if it's something I need to change on it?

    Has anyone else used this successfully?

    Thanks

  2. #2

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,821
    Thank Post
    272
    Thanked 1,140 Times in 1,036 Posts
    Rep Power
    351
    run nmap Google

    it will then try to see if it can see that port.

    our lea blocks port 443 by default and you have to use the upstream proxy.

  3. Thanks to glennda from:

    reggiep (5th April 2011)

  4. #3
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    Thanks for that.
    i ran it and got this
    Starting Nmap 4.53 ( Insecure.Org - Nmap Free Security Scanner, Tools & Hacking resources ) at 2011-04-05 12:03 BST
    Warning: Hostname Google resolves to 6 IPs. Using 209.85.147.103.
    Note: Host seems down. If it is really up, but blocking our ping probes, try -PN
    Nmap done: 1 IP address (0 hosts up) scanned in 2.031 seconds
    Not sure what to make of it yet though!

  5. #4

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,821
    Thank Post
    272
    Thanked 1,140 Times in 1,036 Posts
    Rep Power
    351
    It means that server cannot see google.com

    do you have to use an upstream proxy with you la?

    EIDT: try nmanp -PN www.google.com

    it will then scan the ports rather then ping the host and then search.

  6. Thanks to glennda from:

    reggiep (5th April 2011)

  7. #5
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    Yes we have a proxy server that we have to go through!

  8. #6

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,821
    Thank Post
    272
    Thanked 1,140 Times in 1,036 Posts
    Rep Power
    351
    Quote Originally Posted by reggiep View Post
    Yes we have a proxy server that we have to go through!
    I presume you need to either set the system proxy on the ubuntu machine (not sure if the google app will be happy with that though but never used it)

    If not then you need to ask the lea to open up port 443 to that specific ip address i would presume but without know the full setup i'm not sure.

  9. #7
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    When I use nmap -PN Google I get no response, the command line stays blank.
    I'm starting to think now that there is nothing wrong with my moodle install but something else is to blame?
    Last edited by reggiep; 5th April 2011 at 01:35 PM.

  10. #8

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,821
    Thank Post
    272
    Thanked 1,140 Times in 1,036 Posts
    Rep Power
    351
    Quote Originally Posted by reggiep View Post
    When I use nmap -PN Google I get no response, the command line stays blank.
    I'm starting to think now that there is nothing wrong with my moodle install but something further down the line is the problem?
    can you actually ping Google

    also check you default gateway is correct by running ifconfig

  11. #9
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    I'm going to look at this further.

    thanks

  12. #10
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    Quote Originally Posted by glennda View Post
    can you actually ping Google

    also check you default gateway is correct by running ifconfig
    I got a response eventually!
    Starting Nmap 4.53 ( Insecure.Org - Nmap Free Security Scanner, Tools & Hacking resources ) at 2011-04-05 12:12 BST
    Warning: Hostname Google resolves to 6 IPs. Using 209.85.147.147.
    All 1714 scanned ports on bru01m01-in-f147.1e100.net (209.85.147.147) are filtered
    pings seem to be blocked via our LA firewall.

    My gateway seems fine.

  13. #11

    Join Date
    Aug 2007
    Location
    South Yorkshire
    Posts
    72
    Thank Post
    55
    Thanked 10 Times in 10 Posts
    Rep Power
    16
    We had to get the LEA to open up port 443 to Google for traffic from our webserver to get single sign-on to function in Moodle. We tried setting the proxy in Moodle and system wide on the server and neither worked.

  14. Thanks to Hokalus from:

    reggiep (5th April 2011)

  15. #12
    InterwebsGuy's Avatar
    Join Date
    Jan 2011
    Posts
    239
    Thank Post
    64
    Thanked 26 Times in 26 Posts
    Rep Power
    12
    It will almost certainly be a proxy issue. PHP Curl will need this setting otherwise it won't be able to pass through the proxy to authenticate with Google. Either that or as mentioned above, a system proxy may fix the issue - though I am no *nix expert.

  16. #13
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    I can't find anywhere where you can globally set the proxy for cURL in ubuntu. I don't think it is possible.

  17. #14

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,821
    Thank Post
    272
    Thanked 1,140 Times in 1,036 Posts
    Rep Power
    351
    Quote Originally Posted by reggiep View Post
    I can't find anywhere where you can globally set the proxy for cURL in ubuntu. I don't think it is possible.
    try this Ubuntu Manpage: curl_easy_setopt - set options for a curl easy handle

    go down to CURLOPT_PROXY

    Toby

  18. #15
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    Thanks glennda,
    I have found the page but it doesn't really help as I can't work out what it is telling me to edit!



SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Moodle & Google Apps integration by Moodle Rooms - anyone using it?
    By morganw in forum Virtual Learning Platforms
    Replies: 4
    Last Post: 1st April 2011, 01:51 PM
  2. Replies: 0
    Last Post: 14th September 2010, 10:46 PM
  3. Google Earth Browser Plugin
    By DaveP in forum Internet Related/Filtering/Firewall
    Replies: 1
    Last Post: 11th May 2010, 04:40 AM
  4. Google Apps
    By kennysarmy in forum Windows
    Replies: 10
    Last Post: 23rd January 2009, 11:31 AM
  5. google apps
    By alonebfg in forum Virtual Learning Platforms
    Replies: 8
    Last Post: 3rd April 2008, 10:16 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •