Results 1 to 8 of 8

Thread: Problem with multiple IPs

  1. #1
    Fresh Spawn
    Join Date
    Apr 2017
    Location
    Brazil
    Posts
    7

    Problem with multiple IPs

    Apparently my site host service does the API request of several different IPs 31.170.161.XXX, being XXX the difference, in all are more than 5 IPs, so I can not add all when creating the key. How do I solve this problem?
    you can see here psicowar.ga/teste (F5 repeatedly to view)
    sorry for the english
    Last edited by Gumbx; April 14th, 2018 at 12:20 AM.

  2. #2
    The Meaning of Life, The Universe, and Everything
    Join Date
    Dec 2012
    Posts
    42
    Hi,

    My webservice is on google app script, so I'm really annoyed with that too. My solution is to record the error message from the API to get all the IP your server use.

    Then, create several token, 5 IPs per token. Then, in your app, try a request for one token. If it fail, get the IP from the error message, and use the corresponding token to do an other request.

    That's what I do, in a loop (with a max number of loop to avoid too much request).
    Last edited by Stefan0; April 14th, 2018 at 03:22 PM.

  3. #3
    Fresh Spawn
    Join Date
    Apr 2017
    Location
    Brazil
    Posts
    7
    I was disgusted with this problem that I had not even thought about it and had already contacted my hosting service. But I did what you said and apparently worked. My site generated about 20 IPs, it took 4 keys, this was very annoying. But thank you very much, s2
    Sorry for the English, translator.

  4. #4
    Junior Member
    Join Date
    Apr 2017
    Location
    Kerala, India
    Posts
    71
    They should have allowed Host URLs

  5. #5
    Fresh Spawn
    Join Date
    Apr 2017
    Location
    Brazil
    Posts
    7
    Sorry for reliving this topic, but my problem continues. I did what Stefan0 said, but whenever I loop a request with a new key using the ip response, the ip changes, so it turns into a lucky game with ips and keys.
    Does anyone have any solutions to my problem? could increase the number of ips per key, would help a lot

  6. #6
    Centennial Club
    Join Date
    Feb 2016
    Posts
    189
    Hi! You service is probably not a VPS, with these kind of services you don't get a fixed IP. This mean you can get any IP your hosting company has, and this can be well over 10 000, so don't even try to map everything!
    You can try something like DigitalOcean, they provide fix ips: https://www.digitalocean.com/
    Last edited by AdrienBaron; July 24th, 2018 at 07:30 AM.
    Hey Chief!
    Checkout Clash of Stats! Free Live Clan Page, Historical Data, Clans Rankings and Players Rankings.
    Awesome feature you would like to see? Critics? Tell me here!

  7. #7
    Fresh Spawn
    Join Date
    Apr 2017
    Location
    Brazil
    Posts
    7
    Quote Originally Posted by AdrienBaron View Post
    Hi! You service is probably not a VPS, with these kind of services you don't get a fixed IP. This mean you can get any IP your hosting company has, and this can be well over 10 000, so don't even try to map everything!
    You can try something like DigitalOcean, they provide fix ips: https://www.digitalocean.com/
    thanks for your reply, but it's just a site for the clan, I didn't want to spend money on it. haha

  8. #8
    Trainee
    Join Date
    Jul 2017
    Location
    Inside my town hall
    Posts
    19
    Use Heroku for your hosting, they offer free plans and come with various static IP add-ons which you can configure to your app. These three add-ons are available, you can choose which one you prefer.

    Fixie: https://elements.heroku.com/addons/fixie
    Quotaguard Static: https://elements.heroku.com/addons/quotaguardstatic
    Proximo: https://elements.heroku.com/addons/proximo

    They will ask you to verify a credit card, but neither the add-ons (except Proximo) nor running the app itself on a free plan will cost you anything.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •