rezarahiminia / free-api-worldcup2022

Grab your football API data for FIFA World Cup 2022 competition!
240 stars 34 forks source link

Error Message: "Failed host lookup: 'api.cup2022.ir'" #62

Closed bakteribaik closed 1 year ago

bakteribaik commented 1 year ago

(Os error: No address associated with hostname)

image

ymerdrengene commented 1 year ago

same here

daffy-dev commented 1 year ago

Same here

AntinotyY commented 1 year ago

same here

avivbarniv commented 1 year ago

Same

LloydNicholson commented 1 year ago

Same

rezarahiminia commented 1 year ago

curl --location --request POST 'api.cup2022.ir/api/v1/user/login' \ --header 'Content-Type: application/json' \ --data-raw '{

"email": "", "password": ""

}'

first Register

mrchoke commented 1 year ago

I found this case is the DNS issue. if fix ip in /etc/hosts it still work.

mrchoke commented 1 year ago

some DNS server can reply.

Screenshot 2022-11-21 at 00 10 34

bakteribaik commented 1 year ago

curl --location --request POST 'api.cup2022.ir/api/v1/user/login' --header 'Content-Type: application/json' --data-raw '{

"email": "", "password": ""

}'

first Register

i have already registered before

chuteuk commented 1 year ago

It's down it seems. Probably not the best timing haha

bakteribaik commented 1 year ago

I found this case is the DNS issue. if fix ip in /etc/hosts it still work.

ok, so I've tried setting up static dns like 1.1.1.1, 8.8.8.8 and others but it keeps me from reaching the API from those urls. so i changed my dns to default following the dns of the internet provider i used and it worked for a while after that the api url was unreachable again.

even though before I made this post, all things could be accessed properly.

mrchoke commented 1 year ago

ok, so I've tried setting up static dns like 1.1.1.1, 8.8.8.8 and others but it keeps me from reaching the API from those urls. so i changed my dns to default following the dns of the internet provider i used and it worked for a while after that the api url was unreachable again.

I fixed ip in /etc/hosts

diegortx commented 1 year ago

In Brazil the api offline any other place offline too?

rezarahiminia commented 1 year ago

This problem has arisen due to the European sanctions against Iran (Arvancloud). The problem will be solved in the next 2 hours

bakteribaik commented 1 year ago

This problem has arisen due to the European sanctions against Iran (Arvancloud). The problem will be solved in the next 2 hours

Thanks for the information, glad to hear that 😁

diegortx commented 1 year ago

This problem has arisen due to the European sanctions against Iran (Arvancloud). The problem will be solved in the next 2 hours

Great i'm wait for =)

AntinotyY commented 1 year ago

This problem has arisen due to the European sanctions against Iran (Arvancloud). The problem will be solved in the next 2 hours

great news

diegortx commented 1 year ago

Here return !!! :+1:

Moritzjenny commented 1 year ago

I solved this on linux like this:

in /etc/resolv.conf set the value of nameserver to 1.1.1.1 -> This will use cloudflare as nameserver and it solved the problem for me.