ParamSpider icon indicating copy to clipboard operation
ParamSpider copied to clipboard

Can not connect to server. Check your internet connection

Open lijinta1984 opened this issue 4 years ago • 7 comments

I have installed the tool and found the following prompt while running it:

"Cannot connect to server. Check your internet connection"

Please find below the snapshot:

pip3 install -r requirements.txt
Collecting certifi==2020.4.5.1 Using cached certifi-2020.4.5.1-py2.py3-none-any.whl (157 kB) Requirement already satisfied: chardet==3.0.4 in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 2)) (3.0.4) Collecting idna==2.9 Using cached idna-2.9-py2.py3-none-any.whl (58 kB) Collecting requests==2.23.0 Using cached requests-2.23.0-py2.py3-none-any.whl (58 kB) Collecting urllib3==1.25.8 Using cached urllib3-1.25.8-py2.py3-none-any.whl (125 kB) Installing collected packages: urllib3, idna, certifi, requests Attempting uninstall: urllib3 Found existing installation: urllib3 1.24.3 Uninstalling urllib3-1.24.3: Successfully uninstalled urllib3-1.24.3 Attempting uninstall: idna Found existing installation: idna 2.8 Uninstalling idna-2.8: Successfully uninstalled idna-2.8 Attempting uninstall: certifi Found existing installation: certifi 2021.5.30 Uninstalling certifi-2021.5.30: Successfully uninstalled certifi-2021.5.30 Attempting uninstall: requests Found existing installation: requests 2.21.0 Uninstalling requests-2.21.0: Successfully uninstalled requests-2.21.0 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. search-that-hash 0.2.8 requires click<8.0.0,>=7.1.2, but you have click 8.0.1 which is incompatible. search-that-hash 0.2.8 requires requests<3.0.0,>=2.25.1, but you have requests 2.23.0 which is incompatible. metafinder 1.1 requires beautifulsoup4>=4.9.3, but you have beautifulsoup4 4.6.3 which is incompatible.
metafinder 1.1 requires requests>=2.25.1, but you have requests 2.23.0 which is incompatible.
metafinder 1.1 requires urllib3>=1.26.4, but you have urllib3 1.25.8 which is incompatible.
emailfinder 0.2.3b0 requires beautifulsoup4>=4.9.3, but you have beautifulsoup4 4.6.3 which is incompatible.
emailfinder 0.2.3b0 requires requests>=2.25.1, but you have requests 2.23.0 which is incompatible.
emailfinder 0.2.3b0 requires urllib3>=1.26.4, but you have urllib3 1.25.8 which is incompatible.
censys 2.0.0 requires requests>=2.25.1, but you have requests 2.23.0 which is incompatible.
Successfully installed certifi-2020.4.5.1 idna-2.9 requests-2.23.0 urllib3-1.25.8 WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv

┌──(root💀kali)-[~/ParamSpider] └─# python3 paramspider.py --domain target.com --exclude woff,png,svg,php,jpg --output ~/target.com/DOMAINS/params_result.txt

     ___                               _    __                                                                                                                                                                                           
    / _ \___ ________ ___ _  ___ ___  (_)__/ /__ ____                                                                                                                                                                                    
   / ___/ _ `/ __/ _ `/  ' \(_-</ _ \/ / _  / -_) __/                                                                                                                                                                                    
  /_/   \_,_/_/  \_,_/_/_/_/___/ .__/_/\_,_/\__/_/                                                                                                                                                                                       
                              /_/                                                                                                                                                                                                        
                        
                        - coded with <3 by Devansh Batham 

Can not connect to server. Check your internet connection.

lijinta1984 avatar Jun 28 '21 09:06 lijinta1984

Hello,

Sorry for delayed response! Paramspider uses web archive API to fetch results, so maybe it is a possibility that web archive API is not reachable from your end (Geo restriction maybe?) I would suggest you to use a VPN and then try using Paramspider again,

Have a great day ahead!

devanshbatham avatar Jul 03 '21 14:07 devanshbatham

Hi Devansh,

Tried to run the tool using a VPN.But the response were same.

Dont know what is going on.

lijinta1984 avatar Jul 04 '21 04:07 lijinta1984

Hi Devansh,

Found a solution to this problem.The wayback URI given in paramspider.py should be changed to http instead of https ,inorder for this program to work.

Found this github page helpful to sort out the issue.

https://github.com/internetarchive/wayback/blob/master/wayback-cdx-server/README.md

Regards

lijinta1984 avatar Jul 22 '21 05:07 lijinta1984

I also have this problem and I can't find a solution for it

alibinmohamed avatar Aug 03 '21 16:08 alibinmohamed

i have same error yesterday working fine but not today why also wayback not working same time

7ealvivek avatar Aug 21 '21 12:08 7ealvivek

Add proxies = { "http": "http://your.proxy.ip:port", "https": "http://your.proxy.ip:port" } to core/requester.py under headers to fix this problem.

Xifeng2009 avatar Sep 03 '21 07:09 Xifeng2009

i have same error yesterday working fine but not today why also wayback not working same time

I use OpenVPN and It's working fine.

SalemNabeelSalem avatar Aug 16 '22 17:08 SalemNabeelSalem

i had the same problem, i just removed paramspider and installed again and its working

igorrns avatar Jan 25 '23 19:01 igorrns

i had the same problem, i just removed paramspider and installed again and its working

I tried and it didn't work, could you put the command you used to delete?

Dri-i avatar Jan 25 '23 19:01 Dri-i

Closing this issue as I have revamped this whole project. Check it out.

devanshbatham avatar Aug 13 '23 18:08 devanshbatham