Author Topic: dalet no like me no more?  (Read 4636 times)

Offline quixadhal

  • BFF
  • ***
  • Posts: 618
    • View Profile
    • A Waste of Time
dalet no like me no more?
« on: August 09, 2010, 12:30:35 AM »
Hey Crat,

If you're bored, see if you can tell what I'm doing differently now than I was a few days ago before my server's hard drive melted?

I restored a backup and my old trusty Diku is back up and running, but for whatever reason it doesn't want to reconnect to dalet.  I have no clue why, since it's the exact same configuration data that was working 3 days ago.

The only error I get in the logs is:

Code: [Select]
<: 1100809.012336.935 - INFO - (imc.c;imclog,275)
 : IMC: Invalid authentication response received from 1281331416!!
<: 1100809.012336.935 - INFO - (imc.c;imclog,275)
 : IMC: Data received: *@Firefly_Devmud 1281331416 dalet!*dalet is-alive *@WileyMUD

I could probably shove more debug code into place, but at this point I'm wondering if dalet forgot me and no longer likes whatever stuff I'm shoveling at it for passwords?

No hurry, and thanks!

Offline Alecksy

  • Acquaintance
  • *
  • Posts: 21
    • View Profile
    • BucketMUD
Re: dalet no like me no more?
« Reply #1 on: August 09, 2010, 12:42:26 AM »
I'm experiencing the same issue on BucketMUD, which uses the IMC2 Freedom CL-2.2 client connecting through *dalet.

Code: [Select]
Mon Aug  9 00:18:29 2010 :: IMC: Invalid authentication response received from 1281331109!!
Mon Aug  9 00:18:29 2010 :: IMC: Data received: *@Firefly_Devmud 1281331109 dalet!*dalet is-alive *@BucketMUD
Chil@BucketMUD
www.bucketmud.tk

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1020
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: dalet no like me no more?
« Reply #2 on: August 09, 2010, 05:27:51 AM »
Hey guys,

I've got a pretty full morning but hopefully I'll have time to look into it this afternoon.

-Crat

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1020
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: dalet no like me no more?
« Reply #3 on: August 09, 2010, 06:02:26 PM »
ok try now plz

Offline Alecksy

  • Acquaintance
  • *
  • Posts: 21
    • View Profile
    • BucketMUD
Re: dalet no like me no more?
« Reply #4 on: August 09, 2010, 06:37:30 PM »
ok try now plz

No change for me. Still receiving the same invalid auth response error.
Chil@BucketMUD
www.bucketmud.tk

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1020
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: dalet no like me no more?
« Reply #5 on: August 09, 2010, 10:16:43 PM »
ok i'll fire up a test dikurivative tomorrow and test. sorry for the inconvenience!

Offline quixadhal

  • BFF
  • ***
  • Posts: 618
    • View Profile
    • A Waste of Time
Re: dalet no like me no more?
« Reply #6 on: August 09, 2010, 11:50:36 PM »
:sing "Tomorrow's just your future yes-ter-day!"

Still grumpy here too.

And yes, I'm watching the show with that in its theme....

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1020
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: dalet no like me no more?
« Reply #7 on: August 10, 2010, 06:09:30 PM »
Ok, so here's what it looks like. Your mud sent a startup packet at some point with a server pass and a client pass.

Now your client is unhappy about the password the server remembers.

So I reset your muds' info on the server, hoping that would do the trick, but evidently it didn't.

Is there some way to force your mud to connect to dalet as if for the first time?

-Crat
http://lpmuds.net

Offline quixadhal

  • BFF
  • ***
  • Posts: 618
    • View Profile
    • A Waste of Time
Re: dalet no like me no more?
« Reply #8 on: August 11, 2010, 12:40:39 AM »
Hmmm, not sure.

I tried resetting the passwords to nice short words, but I don't get much details of WHY it rejects me.  The whole client/server password thing is a bit wonky anyways.

I'll try to add some debug code and recompile to see what's going over the wire.

Offline quixadhal

  • BFF
  • ***
  • Posts: 618
    • View Profile
    • A Waste of Time
Re: dalet no like me no more?
« Reply #9 on: August 11, 2010, 01:30:17 AM »
Here's what I have for now....

Code: [Select]
<: 1100811.013318.029 - INFO - (imc.c;imclog,275)
 : IMC: Invalid authentication response received from 1281504797!!
<: 1100811.013318.029 - INFO - (imc.c;imclog,275)
 : IMC: Data received: *@*dalet 1281504797 *dalet close-notify *@*
<: 1100811.013318.029 - INFO - (imc.c;imclog,275)
 : IMC: Shutting down network.

The lines correspond to:

Code: [Select]
   imclog( "Invalid authentication response received from %s!!", rname );
   imclog( "Data received: %s %s %s %s %s", command, rname, pw, version, netname );

I'm thinking it's ordering issue.
The values look like

Code: [Select]
command = *@*dalet
rname = 1281504797
pw = *dalet
version = close-notify
netname = *@*

Looking at the values, the big long number might be the pw, *dalet shoudl be either the rname or the netname, close-notify sure sounds like a command to me.

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1020
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: dalet no like me no more?
« Reply #10 on: August 11, 2010, 05:36:19 AM »
That is a good clue.

Sorry for the wait, this is a very very busy week for me, but I'll look into this today and tomorrow as time permits.

-Crat

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1020
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: dalet no like me no more?
« Reply #11 on: August 13, 2010, 08:45:26 PM »
Tricky timing issue, I think. Shoved some code around today.

Try now, Quix, it seems to work for Chil.

-Crat

Offline Alecksy

  • Acquaintance
  • *
  • Posts: 21
    • View Profile
    • BucketMUD
Re: dalet no like me no more?
« Reply #12 on: August 13, 2010, 09:06:46 PM »
Tricky timing issue, I think. Shoved some code around today.

Try now, Quix, it seems to work for Chil.

-Crat

He speaks the truth! Thanks for shorin' up teh intarmudtoobz.
Chil@BucketMUD
www.bucketmud.tk

Offline quixadhal

  • BFF
  • ***
  • Posts: 618
    • View Profile
    • A Waste of Time
Re: dalet no like me no more?
« Reply #13 on: August 15, 2010, 02:17:51 PM »
Well, all was working well yesterday!  However, today (after another reboot), we have another issue.  Authentication works just fine, but no traffic every shows up here and I can't send anything out.  Poking at things a tiny bit, it looks like the channels aren't getting "refreshed", which means imc_recv_iceupdate isn't getting called, which I *guess* means I'm never getting an "ice-update" packet.

Not being an IMC guru, I assume the client expects that after a reconnect to verify that channels still exist?

This "refreshed" bit also gets set in imc_new_channel(), but I would assume that's only for creating a channel on the local end.  This tells me I could probably temporarily fix it by deleting and then re-adding all the channels, but it may break again when the mud itself next reboots.

Again, no hurry.  My Diku being off I3 will just convince me to get my Lp back up faster, but it'd be nice to have them both again. :)

Thanks Crat!

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1020
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: dalet no like me no more?
« Reply #14 on: August 15, 2010, 04:31:20 PM »
Ok that should be taken care of now too...

Boy this IMC2 stuff sure has kinks!

Thanks for the bug reports. I couldn't improve the service without em. Please
keep them coming!

-Crat