I'm using Instagram API by mgp25. When my network settings change (connect to different Wifi network) login function throws cURL error 6. I guess, It's because of sessions and cookies stored during previous sessions but I'm not so sure. I tried to find something on how to reset these sessions or cookies but I was not able to. Any help on how I can achieve that?
cURL error 6: Could not resolve host. Mgp25/InstagramAPI
1.2k views Asked by user10329096 At
3
There are 3 answers
0
flyjoe12
On
I think the problem is with IG spam system, they start blocking you or challenging your users. When you sign up with one IP but later switch to another IP their system will lock your requests for security and send your request challenge_request. Cookies should be fine, as they do not depend on your IP. Create your users on a server that does not change its IP and you can use them for long time.
Related Questions in PHP
- php Variable name must change in for loop
- register_shutdown_function is not getting called
- Query returning zero rows despite entries existing
- Retrieving *number* pages by page id
- Automatically closing tags in form input?
- How to resize images with PHP PARSE SDK
- how to send email from localhost using codeigniter?
- Mariadb max Error while sending QUERY packet PID
- Multiusers login redirect different page in php
- Imaginary folder when I use "DirectoryIterator" in PHP?
- CodeIgniter + XDebug: debug only working in the main controller, index() function
- PHP script timeout when I use sleep()
- posting javascript populated form to another php page
- AJAX PHP - Reload div after submit
- PHP : How can I check Array in array?
Related Questions in CURL
- No responses from google places text search api
- compare python requests with curl
- file_get_contents not working on my server but works fine anywhere else?
- Converting curl command to iOS
- cURL PHP code redirect after success
- curl command cannot get contents from api.github, but the network is fine
- PHP cURL Request for Web Service Returning Error
- How to convert CURL command to Swift
- curl command don't work in some cases
- Silence output curl_setopt_array
- Validating a login using PHP
- Curl return 0 but doesn't not work
- Pg backups curl latest dump from Heroku
- Unable to install RabbitMQ using puppet due to curl error
- cleaning a post URL from an Array
Related Questions in COOKIES
- Scrapy encountered http status <521>
- NodeJS not getting cookie
- How to accept cookies when using a webservice - Android?
- I Want to get the page count using cookie
- Superagent share session / cookie info with actual browser
- CookieContainer does not store cookies for internationalized domain names
- Setting a cookie in Wordpress functions.php - cant echo it using an other function
- JavaScript's document.cookie does not replace cookie in the subdomain
- How to assign cookie expiry date?
- How to read a JavaScript cookie?
- How can I redirect to an error page in my Play app?
- Python - Cookies & BeautifulSoup
- Express.js CookieParser does not get Angular.js $cookies
- Check Cookies AND Session in Same IF Statement
- How do I read the value of a cookie that comes with a cross domain image?
Related Questions in SESSION-STORAGE
- What are the alternatives to html5 session storage?(not local storage)
- Mocking sessionStorage when using jestjs
- HTML5 storage methods are not working in iPad private mode
- sessionStorage doesn't clear after clear() (localhost)
- SyntaxError: Unexpected token m in JSON at position 0 using sessionStorage
- How to Edit and Remove item from sessionStorage
- How to clear sessionStorage when navigating to another page but not on refresh?
- All window need to close while user session expire How?
- sessionStorage content not getting removed
- Save user object in Session Storage
- Multiple JQuery Accordions On Page load collapsed but remember last active when link on page is clicked
- browser sessionStorage. share between tabs?
- Is it still possible to use cookies or sessionStorage if sessions has been disabled on the server
- Different Session Cookie for Different Paths
- Not able to detect actual page reload
Related Questions in INSTAGRAMAPI-MGP25
- Posting to Instagram through Graph API in PHP
- mgp 25 "Consent required"
- Instagram private InstagramAPI\Instagram::_setUser() error
- Filter media of followers list using private Instagram API in PHP
- Some questions after Instagram API restriction and Instagram private api?
- Solving challenge required in instagram private api
- Instagram API with PHP
- I want to use instagram api for getting username from instagram for my android project
- cURL error 6: Could not resolve host. Mgp25/InstagramAPI
- Is there any way of retrieving a list of poll voters from Instagram stories?
- Instagram api endpoint for saved collections
- How to get a user public information by Instagram User ID?
- PHP Instagram-API: Caption text does not exist
- I want to make android application to send picture, message to instagram users using instagram API
- I can't upload a live video on instagram with api mgp25 in php
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The error message you receive has nothing to do with cookies or session except if you are not taking URL where your request goes from the session or cookies. I highly doubt that.
The error you receive is an indication of a network problem and unreachable host.
All should be fine if you are sure all network and URLs are correct.