Oooh boy.... Incorrect Portal Key w/ Proxy
@nilly @JustAnoobROTMG @IziLife @FainTMako
I've been making a C# proxy for release here, and all has been going mostly well except for the fact that it can't connect to dungeons!
Using any dungeon portal gets you disconnected with "Incorrect Portal Key", all others work fine. This happens with no plugins or anything running.
It seems im not the only one with this issue.
@flyrocket had this issue at one point with his proxy
@Alde. has it with some of his bots
@ossimc82 had it with his C# proxy, although, he managed to fix it on his end by disabling parsing of HELLO, but it doesn't work on anyone else machines for unknown reasons.
As far as I know, RR does not have this error.
What I've tried to fix the issue:
- Ensure that packet definitions for Hello and Reconnect match RR, Private server, etc
- Disable parsing of hello - just forward on the raw data.
- Disable parsing of useportal
- Only modify Name, Host, Port of reconnect and keep the rest of the raw data that was given to me at the end
- Ensure Key and KeyTime of hello match that of Reconnect
- Ensure hello is actually being properly sent before I get DCed with the error
- Bug everyone I know for help
- Cry
Some extra info:
I handle reconnects by changing the remote port and address of my proxy to that of the reconnect packet, and then change the reconnect packet host and port to localhost:2050.
I have been debugging this for a couple of days now, so now I made this thread...
Has anyone had this issue? How did you fix it?
Send help! Thanks :O
I've been making a C# proxy for release here, and all has been going mostly well except for the fact that it can't connect to dungeons!

Using any dungeon portal gets you disconnected with "Incorrect Portal Key", all others work fine. This happens with no plugins or anything running.
It seems im not the only one with this issue.
@flyrocket had this issue at one point with his proxy
@Alde. has it with some of his bots
@ossimc82 had it with his C# proxy, although, he managed to fix it on his end by disabling parsing of HELLO, but it doesn't work on anyone else machines for unknown reasons.
As far as I know, RR does not have this error.
What I've tried to fix the issue:
- Ensure that packet definitions for Hello and Reconnect match RR, Private server, etc
- Disable parsing of hello - just forward on the raw data.
- Disable parsing of useportal
- Only modify Name, Host, Port of reconnect and keep the rest of the raw data that was given to me at the end
- Ensure Key and KeyTime of hello match that of Reconnect
- Ensure hello is actually being properly sent before I get DCed with the error
- Bug everyone I know for help
- Cry
Some extra info:
I handle reconnects by changing the remote port and address of my proxy to that of the reconnect packet, and then change the reconnect packet host and port to localhost:2050.
I have been debugging this for a couple of days now, so now I made this thread...
Has anyone had this issue? How did you fix it?
Send help! Thanks :O
