Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

self.GetApiEndpoint doesn't work #257

Open
invisyi opened this issue Aug 29, 2016 · 3 comments
Open

self.GetApiEndpoint doesn't work #257

invisyi opened this issue Aug 29, 2016 · 3 comments

Comments

@invisyi
Copy link

invisyi commented Aug 29, 2016

In the self.GetApiEndpoint function (poke.io.js) the req variable :

var req = [new RequestEnvelop.Requests(2), new RequestEnvelop.Requests(126), new RequestEnvelop.Requests(4), new RequestEnvelop.Requests(129), new RequestEnvelop.Requests(5)];

sends:

{ type: 2, message: null },
{ type: 126, message: null },
{ type: 4, message: null },
{ type: 129, message: null },
{ type: 5, message: null } ]

@renatomserra
Copy link

I'm having the same issue, not sure why, it works on my machine but not on an AWS host.

@renatomserra
Copy link

renatomserra commented Aug 31, 2016

So that request actually looks ok, comparing to the one sent from my laptop which is working.

But i found that Niantec is sending this back as the body response:

`

<title>403 Forbidden</title>

403 Forbidden


nginx/1.11.1 `

Are you using AWS by any chance? could be that they banned their IPs

https://www.reddit.com/r/TheSilphRoad/comments/4vjv1j/ive_figured_out_what_niantics_plan_is_with_the/d5zh65t

@invisyi
Copy link
Author

invisyi commented Sep 1, 2016

I use codeAnywhere, i thinks it's all cloud IDE. (#188)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants