Non-matching IP reported for Shared Servers

Non-matching IP reported for Shared Servers

Ji Ming -
回帖数:9

I have a situation that I need some help with. I've setup Moodle 1.8 on a shared server. I'll call this setup Site A. Site A can register other peer sites without any problems. Site A registers fine on other peers. However, when someone on Site A tries to network to another Moodle registered site this report is shown:

-----

RPC auth/mnet/user_authorise:Payload not signed: faultCode 7017 faultString Your IP address does not match the address we have on record. ERROR 2:2:Payload not signed: faultCode 7017 faultString Your IP address does not match the address we have on record.

-----

Hmmm. Now other peers can network to Site A just fine but Site A can't network to other peers because it's reported that Site A's IP address does not match the recorded address. Other peers network to eachother fine, too! Would this be because Site A is on a shared server? As a check I put the IP address of Site A, recorded in other peers, in my browser and guess what? I get a "Site Under Construction" message! This may be why this error message is showing.

The question is how can this be corrected? How can I make the other peers record Site A's true IP address? Is there a Moodle Network Heaven for sites on shared servers?

J

回复Ji Ming

Svar: Non-matching IP reported for Shared Servers

Alf Martin Johnsen -
I didn't success on first try either. After resetting the keys on both Network-servers all works fine. May be this is a solution or luck?

Alf Martin
回复Alf Martin Johnsen

Re: Svar: Non-matching IP reported for Shared Servers

Ji Ming -

I'll give this a ty Alf. I still think there still are some issues with Shared servers. I'll get back to you on this. Thank Alf.

J

回复Alf Martin Johnsen

Re: Svar: Non-matching IP reported for Shared Servers

Ji Ming -

Hi Alf Martin,

I got this error which maybe the reason why correct registration doesn't happen. I wonder why the key doesn't use the full URL. There is a bite in the program somewhere. The "www" is cut off!  I'll look around to see if there is something in the database causing the wrong information to be passed on.

J

The key is not a valid SSL key.
3: The subject of the certificate:

does not match the host it came from:
.
4: The subject of the certificate:
http://xxxxxxx.com/zzzzzzzz
does not match the host it came from:
http://www.xxxxxxxxxxx.com/zzzzzzzz.

回复Ji Ming

Svar: Re: Svar: Non-matching IP reported for Shared Servers

Alf Martin Johnsen -
Hi,
I'll have a look at it when I'm back from a short week in the mountain, far away from internet. This is interesting problems and I really wonder why none of the development-team take part in this forum?

Alf Martin
回复Ji Ming

Re: Non-matching IP reported for Shared Servers

Mark Schumann -
I'm getting the same error. I tried resetting the keys but there were still issues. I'm hosting both Moodle installations on the same server.

Any ideas?
回复Mark Schumann

Svar: Re: Non-matching IP reported for Shared Servers

Alf Martin Johnsen -
Hi, The Moodle Network documentation was useful for me, and everything works fine when carefully following the directions.

Alf Martin
回复Alf Martin Johnsen

Re: Svar: Re: Non-matching IP reported for Shared Servers

Séverin TERRIER -
Documentation writers的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像
Yes, following the documentation allows to have Moodle network working correctly 微笑

But there's still some small problems : one is that when your course description contains special character (like accentuated characters), they're not displayed correctly on the remote servers (I've this problem from http://www.efaktor.no/nettverk1/ courses for exemple).

Séverin Terrier
回复Séverin TERRIER

Re: Svar: Re: Non-matching IP reported for Shared Servers

Ji Ming -

I see what you mean Terrier. The site we run uses UTF8 at every step. It looks like somewhere along the line our site's true ID is getting lost. The "www" part of our ID in the packet is lost and I don't know why. Nettverk1&2 can connect to our site fine as our site can ID its packet but nettverk 1&2 can't ID our packet and sends back an error message saying that the site and the network packet comes from different sites (the "www" part of out ID is lost). Why ? Not a clue on this end. Maybe the ID problem is comming from within our site but we've checked everywhere and no luck yet.

J

回复Alf Martin Johnsen

Re: Svar: Re: Non-matching IP reported for Shared Servers

Ye Chen -
I have the same problem as Ji Ming's Non-Matching IP. I posted the message in http://moodle.org/mod/forum/discuss.php?d=76812

I did follow the moodle network documentation step by step, I have two moodles on two servers.

Is there any one got the same problem solved, it will be great to share your experience. Right now I don't know what to do with the errors.

Thanks