Jump to content

You're browsing the 2004-2023 VATSIM Forums archive. All content is preserved in a read-only fashion.
For the latest forum posts, please visit https://forum.vatsim.net.

Need to find something? Use the Google search below.
PLEASE READ - Webmaster Support Forum
This forum will be retired in the near future. Please direct all queries to our dedicated GitHub support page https://github.com/vatsimnetwork/developer-info/discussions 
Here you can find documentation on our services and we are continuing to migrate pertinent information into the Wiki pages https://github.com/vatsimnetwork/developer-info/wiki

[Resolved] Error code 6


Syam Haque 1161585
 Share

Recommended Posts

Syam Haque 1161585
Posted
Posted

When trying to run the demo client from Bitbucket on my local machine, I get the following error:

 

An error occurred

Error code: 6

Error message: name lookup timed out

 

When running it on our web server, the error is this instead:

 

An error occurred

Error code: 6

Error message: Couldn't resolve host 'api'

 

Any idea on what is causing this error?

VATSIM Middle East

Syam Haque - 1161585

Link to comment
Share on other sites

Kieran Hardern
Posted
Posted

That's a cURL error, it's unable to resolve the domain name of the URL you're calling. As it returns 'api', I presume you haven't specified the URL for the script.

 

Have you filled out all the details in the config file? Details in this post (scroll down to config.php)

Link to comment
Share on other sites

Syam Haque 1161585
Posted
Posted

Aha! It was the config file itself. Thanks! All fixed now

VATSIM Middle East

Syam Haque - 1161585

Link to comment
Share on other sites

 Share