Datalux / Osintgram

Osintgram is a OSINT tool on Instagram. It offers an interactive shell to perform analysis on Instagram account of any users by its nickname
GNU General Public License v3.0
9.44k stars 2.06k forks source link

Osintgram error #797

Open Umair-66 opened 1 year ago

Umair-66 commented 1 year ago

Attempt to login... ClientError URLError <urlopen error [Errno -3] Temporary failure in name resolution> (Code: 0, Response: )Traceback (most recent call last): File "/root/Osintgram/main.py", line 121, in api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/Osintgram/src/Osintgram.py", line 47, in init self.login(u, p) File "/root/Osintgram/src/Osintgram.py", line 1129, in login error = json.loads(e.error_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

help me

parthasdey2304 commented 1 year ago

The error message you provided suggests that there is a problem with the name resolution, which could be related to a network issue or DNS (Domain Name System) resolution problem. Here are a few steps you can try to resolve the issue:

Check your internet connection: Make sure you have a stable internet connection and can access other websites or services without any problems. If you're on a restricted network, ensure that the necessary permissions are in place to access the Instagram API.

Test DNS resolution: Try pinging a known website or running a DNS resolution command to check if your system can resolve domain names correctly.

If the DNS resolution fails or there is no response, you may need to troubleshoot your DNS settings or contact your network administrator.

Temporary network issues: The error message you encountered suggests a temporary failure in name resolution. It's possible that there was a temporary issue with the DNS servers or network connectivity. In such cases, waiting for a while and then retrying the operation may resolve the problem.

Verify the Instagram tool configuration: Double-check the configuration settings in your Instagram tool, such as the API endpoint URL or any proxy settings. Ensure that they are correctly configured based on the documentation or instructions provided with the tool.

Firewall or security restrictions: Check if any firewalls or security software on your system or network are blocking the Instagram tool from accessing the internet. Temporarily disabling such software for testing purposes or configuring appropriate exceptions may help.

If the problem persists after trying these steps, it may be helpful to provide more information about the specific Instagram tool you are using, including its version and any relevant configuration files. This additional information can assist in further troubleshooting the issue.

BeChris100 commented 11 months ago

The error message you provided suggests that there is a problem with the name resolution, which could be related to a network issue or DNS (Domain Name System) resolution problem. Here are a few steps you can try to resolve the issue:

Check your internet connection: Make sure you have a stable internet connection and can access other websites or services without any problems. If you're on a restricted network, ensure that the necessary permissions are in place to access the Instagram API.

Test DNS resolution: Try pinging a known website or running a DNS resolution command to check if your system can resolve domain names correctly.

If the DNS resolution fails or there is no response, you may need to troubleshoot your DNS settings or contact your network administrator.

Temporary network issues: The error message you encountered suggests a temporary failure in name resolution. It's possible that there was a temporary issue with the DNS servers or network connectivity. In such cases, waiting for a while and then retrying the operation may resolve the problem.

Verify the Instagram tool configuration: Double-check the configuration settings in your Instagram tool, such as the API endpoint URL or any proxy settings. Ensure that they are correctly configured based on the documentation or instructions provided with the tool.

Firewall or security restrictions: Check if any firewalls or security software on your system or network are blocking the Instagram tool from accessing the internet. Temporarily disabling such software for testing purposes or configuring appropriate exceptions may help.

If the problem persists after trying these steps, it may be helpful to provide more information about the specific Instagram tool you are using, including its version and any relevant configuration files. This additional information can assist in further troubleshooting the issue.

That's straight up out of ChatGPT. I can already tell by the writing that it is ChatGPT.

Also, I decided to ask ChatGPT myself, if he wrote that.

fahed0001 commented 8 months ago

same bro!!!! but it still didn't work ? any solution

abhijeet865 commented 3 months ago

Attempt to login... ClientError URLError <urlopen error [Errno -3] Temporary failure in name resolution> (Code: 0, Response: )Traceback (most recent call last): File "/root/Osintgram/main.py", line 121, in api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/Osintgram/src/Osintgram.py", line 47, in init self.login(u, p) File "/root/Osintgram/src/Osintgram.py", line 1129, in login error = json.loads(e.error_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

help me