teamreflex / ChallongePHP

Package for interfacing with the Challonge API.
MIT License
23 stars 9 forks source link

Timeouts? #7

Closed interludic closed 3 years ago

interludic commented 3 years ago

Hi,

My dev site is working fine, however having network level issue on production, timeout permanent error.

anyone else having issues with connecting to api?

yes i have contacted support a few months back

kylekz commented 3 years ago

What's the specific request? I'm running a couple tests against real API GET requests and they seem fine.

interludic commented 3 years ago

Yeah it works from my local environment but not the production host

On Mon, 29 Mar 2021, 12:22 pm Kyle, @.***> wrote:

What's the specific request? I'm running a couple tests against real API GET requests and they seem fine.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/teamreflex/ChallongePHP/issues/7#issuecomment-809004634, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQIXXIT5SN5UMKEJ5AGUILTF7I4LANCNFSM4Z44P6XQ .

kylekz commented 3 years ago

Weird. Are you able to SSH into your server and ping/connect to Challonge manually? My first thought would be an SSL thing as verification is disabled.

interludic commented 3 years ago

Cannot ping no.

hmmmm ssl may be something to look into.

how do you mean verification is disabled?

On Tue, 30 Mar 2021 at 16:12, Kyle @.***> wrote:

Weird. Are you able to SSH into your server and ping/connect to Challonge manually? My first thought would be an SSL thing as verification is disabled.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/teamreflex/ChallongePHP/issues/7#issuecomment-809914346, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQIXXLECBFTJNP76S47SIDTGFMTDANCNFSM4Z44P6XQ .

-- Interludic 0478 067 271

http://interludic.com.au

PO BOX 519 Prahran 3181 Victoria

kylekz commented 3 years ago

SSL verification is disabled in the HTTP client: https://github.com/teamreflex/ChallongePHP/blob/master/src/Challonge/ClientWrapper.php#L60 Last I knew, it had to be disabled or else it wouldn't work, maybe I need to revisit it sometime.

If your server is unable to ping Challonge then that's a little concerning. Unless you mean you can't run ping (ie; shared hosting). Can you share the specific request and tournament slug/ID (incl. organization slug if necessary)? You can email if you don't want to post anything publicly: kairu at team-reflex.com