echelon icon indicating copy to clipboard operation
echelon copied to clipboard

Failed to open TCP connection to dparks.uiemedia.net:80 (Connection refused - connect(2) for "dparks.uiemedia.net" port 80)

Open tizonsoft opened this issue 8 years ago • 6 comments

Hi,

with all the park for Disneland I am having this issue [CaliforniaAdventure|Disneyland]

tizonsoft avatar Sep 26 '16 00:09 tizonsoft

Try my PR. There was an API change at some point.

rambleraptor avatar Sep 28 '16 17:09 rambleraptor

Thank you Alex

After reading the issue #4 and issue #5 I moved to your fork, but still I can have any Disney waiting time

tizonsoft avatar Sep 28 '16 17:09 tizonsoft

Can you post a stacktrace or some further information about the error that you're seeing?

Get Outlook for iOS

On Wed, Sep 28, 2016 at 10:38 AM -0700, "tizonsoft" [email protected] wrote:

Thank you Alex

After reading the issue #4 and issue #5 I moved to your fork, but still I can have any Disney waiting time

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

rambleraptor avatar Sep 28 '16 17:09 rambleraptor

$wdw = Echelon::DisneyWorld.new $wdw.animal_kingdom.inspect

#<Echelon::DisneyWorld::AnimalKingdom:0x007fe01efa8c18 @json_data={"errors"=>[{"typeId"=>"UNAUTHORIZED", "message"=>"Unauthorized Request", "systemErrorCode"=>"401"}]}>

tizonsoft avatar Sep 28 '16 17:09 tizonsoft

Disney must have changed the way they handle authentication. It'll require some digging to figure out how it works.  You can use a man-in-the-middle proxy (I recommend MITMProxy) to understand exactly how the Disney app gets its wait times and how that differs from this implementation. If you have specific questions on how to do that, I can help. 

Get Outlook for iOS

On Wed, Sep 28, 2016 at 10:46 AM -0700, "tizonsoft" [email protected] wrote:

$wdw = Echelon::DisneyWorld.new

$wdw.animal_kingdom.inspect

#[{"typeId"=>"UNAUTHORIZED", "message"=>"Unauthorized Request", "systemErrorCode"=>"401"}]}>

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

rambleraptor avatar Sep 28 '16 17:09 rambleraptor

Thank you Alex, I will dig more with MITMProxy

tizonsoft avatar Sep 28 '16 18:09 tizonsoft