Strvm / meta-ai-api

Llama 3 API (MetaAI Reverse Engineered)
223 stars 41 forks source link

Exception: Unable to obtain a valid response from Meta AI. Try again later. #26

Open Dawgmastah opened 1 month ago

Dawgmastah commented 1 month ago

It seems that facebook login may now be mandatory? Im getting this error even in the example code.

Dawgmastah commented 1 month ago

Never mind, it seems it is related to VPN usage.

Dawgmastah commented 1 month ago

Actually it seems only SOME countries allow for inference without login.

Strvm commented 1 month ago

Try accessing https://www.meta.ai/ with your connection. Usually most times the website will require to log into a Meta account if it detects you are using a VPN. Also I believe European countries can't access it.

Strvm commented 1 month ago

As an example:

With NordVPN on (USA):

Screenshot 2024-07-27 at 16 11 34

Without any VPN (USA Connection):

Screenshot 2024-07-27 at 16 11 49
AnxiousAnt commented 1 month ago

@Strvm I am able to access https://www.meta.ai/ without needing to login, but i still get the same error: Exception: Unable to obtain a valid response from Meta AI. Try again later.

omkarxpatel commented 1 month ago

@Strvm

I currently have tested creating a MetaAI() session in both France and India. In france, neither the link or the api works. In India, the link works but the api does not. I get the error: Exception: Unable to obtain a valid response from Meta AI. Try again later. for both.

Therefore, I have attempted to connect to a US proxy via the MetaAI argument

meta_client = MetaAI(proxy={
    'http': 'http://...',
    'https': 'http://...'
})

This does not work either.

Strvm commented 1 month ago

@Strvm

I currently have tested creating a MetaAI() session in both France and India. In france, neither the link or the api works. In India, the link works but the api does not. I get the error: Exception: Unable to obtain a valid response from Meta AI. Try again later. for both.

Therefore, I have attempted to connect to a US proxy via the MetaAI argument

meta_client = MetaAI(proxy={
    'http': 'http://...',
    'https': 'http://...'
})

This does not work either.

Hi like I said above, France being in the European Union, https://meta.ai is not available there.

omkarxpatel commented 1 month ago

@Strvm I currently have tested creating a MetaAI() session in both France and India. In france, neither the link or the api works. In India, the link works but the api does not. I get the error: Exception: Unable to obtain a valid response from Meta AI. Try again later. for both. Therefore, I have attempted to connect to a US proxy via the MetaAI argument

meta_client = MetaAI(proxy={
    'http': 'http://...',
    'https': 'http://...'
})

This does not work either.

Hi like I said above, France being in the European Union, https://meta.ai is not available there.

Right, what about India? the link works but the api does not. also, the proxy does not seem to work even tho it connects fine.

Strvm commented 1 month ago

@Strvm I currently have tested creating a MetaAI() session in both France and India. In france, neither the link or the api works. In India, the link works but the api does not. I get the error: Exception: Unable to obtain a valid response from Meta AI. Try again later. for both. Therefore, I have attempted to connect to a US proxy via the MetaAI argument

meta_client = MetaAI(proxy={
    'http': 'http://...',
    'https': 'http://...'
})

This does not work either.

Hi like I said above, France being in the European Union, https://meta.ai is not available there.

Right, what about India? the link works but the api does not. also, the proxy does not seem to work even tho it connects fine.

How are you connecting with India, via VPN/Proxy? If thats the case, https://meta.ai/ might be flagging it as a VPN/Proxy.

omkarxpatel commented 1 month ago

@Strvm I currently have tested creating a MetaAI() session in both France and India. In france, neither the link or the api works. In India, the link works but the api does not. I get the error: Exception: Unable to obtain a valid response from Meta AI. Try again later. for both. Therefore, I have attempted to connect to a US proxy via the MetaAI argument

meta_client = MetaAI(proxy={
    'http': 'http://...',
    'https': 'http://...'
})

This does not work either.

Hi like I said above, France being in the European Union, https://meta.ai is not available there.

Right, what about India? the link works but the api does not. also, the proxy does not seem to work even tho it connects fine.

How are you connecting with India, via VPN/Proxy? If thats the case, https://meta.ai/ might be flagging it as a VPN/Proxy.

The server itself is based in india

Strvm commented 1 month ago

@Strvm I currently have tested creating a MetaAI() session in both France and India. In france, neither the link or the api works. In India, the link works but the api does not. I get the error: Exception: Unable to obtain a valid response from Meta AI. Try again later. for both. Therefore, I have attempted to connect to a US proxy via the MetaAI argument

meta_client = MetaAI(proxy={
    'http': 'http://...',
    'https': 'http://...'
})

This does not work either.

Hi like I said above, France being in the European Union, https://meta.ai is not available there.

Right, what about India? the link works but the api does not. also, the proxy does not seem to work even tho it connects fine.

How are you connecting with India, via VPN/Proxy? If thats the case, https://meta.ai/ might be flagging it as a VPN/Proxy.

The server itself is based in india

When connecting through india to https://meta.ai/, are you able to prompt the AI without logging into an account?

omkarxpatel commented 1 month ago

@Strvm I currently have tested creating a MetaAI() session in both France and India. In france, neither the link or the api works. In India, the link works but the api does not. I get the error: Exception: Unable to obtain a valid response from Meta AI. Try again later. for both. Therefore, I have attempted to connect to a US proxy via the MetaAI argument

meta_client = MetaAI(proxy={
    'http': 'http://...',
    'https': 'http://...'
})

This does not work either.

Hi like I said above, France being in the European Union, https://meta.ai is not available there.

Right, what about India? the link works but the api does not. also, the proxy does not seem to work even tho it connects fine.

How are you connecting with India, via VPN/Proxy? If thats the case, https://meta.ai/ might be flagging it as a VPN/Proxy.

The server itself is based in india

When connecting through india to https://meta.ai/, are you able to prompt the AI without logging into an account?

image This is what i see. able to prompt but after that i need to select age and then finish. maybe this is where the api is struggling?

klakho0400 commented 1 month ago

Hi @Strvm I developed the Meta AI in a Google Cloud function but when it tries to call Meta AI it gives an error Was unable to obtain a valid response from Meta AI. Retrying... Attempt 1/3. Can I fix this anyway? The region of my GCP is us-central

image

How can I determine the kind of error.