Skip Navigation

I can’t register Sketch but I’m connected to the internet

Although Sketch doesn’t always require you to be connected to the internet, the Mac app does sometimes need to connect to a network, for example when you register your copy of the app, or when it needs to validate your license.

If the Mac app tries to register/validate your license and can’t connect to our server you’ll probably see the following message:

“Could not reach the server to validate your license. Please check your connection and try again.”

To register the Mac app, the app needs to be able to connect to the following:


Host Port
api.prod.sketch.com 443 (https)

If you’re using a firewall, you will need to change your settings to allow traffic to this host. If you’re using a proxy server, you will need to add our domain to your allowlist, as we don’t allow re-signing of certificates.

Note: The Mac app does not currently support all (authenticated) proxy setups.

If you’re still unable to register after you’ve fixed these settings, we recommend disabling all plugins and restarting the Mac app. Some plugins launch a proxy when you open the app and this can sometimes affect our global network settings.

If you’re struggling to register or validate the Mac app, we’re here to help. To allow us to better understand what issue you might be experiencing, it’s important that you send us the information as detailed below:

Note: These issues are normally caused by local network issues so if you have an IT team / department, they can also analyze the following information to try and determine why you can’t connect to our API server.

Console logs

Console logs can help us identify exactly what’s happening when you try to register the Mac app. Follow these instructions to compile and send us the logs.

  • Launch the Console app (found in Applications > Utilities).
  • In the Search field in the Console’s toolbar, enter Sketch to filter for only Sketch related logs.
  • Launch the Mac app and try to register it with the license key in question.
  • Once the problem occurs again (in the case of a timeout this can take as long as 30 seconds), return to the Console.
  • Select any of the messages listed in the Console window, then press Cmd+A to highlight all of the current logs.
  • Copy and paste the logs from the Console into a TextEdit file and save it.

Terminal results

There are a couple of Terminal commands that you can use to test your connection to our server and what problems there are that could be causing that connection to fail. Follow these instructions to compile and send us your Terminal results.

This first Terminal command will tell you if you can connect to our api server, what certificate is used and if there is a proxy in between.

  • Launch the Terminal app (found in Applications > Utilities).
  • Press Command-N to open a new Terminal window.
  • Type curl -I -v https://api.prod.sketch.com (or copy and paste it from here) and hit enter.
  • Click anywhere in the Terminal window, then press Cmd+A to highlight all of the text.
  • Copy and paste the text from the Terminal into a TextEdit file and save it.

The next terminal command is a tool provided by Apple that we can use to test the connection using different set of ATS (App transport security) configurations.

  • Launch the Terminal.app (found in Applications > Utilities).
  • Press Command-N to open a new Terminal window.
  • Type nscurl --verbose --ats-diagnostics https://api.prod.sketch.com (or copy and paste it from here) and hit enter.
  • Click anywhere in the Terminal window, then press Cmd+A to highlight all of the text.
  • Copy and paste the text from the Terminal into a TextEdit file and save it.

Finally, fill out our support form and attach these three files—two with terminal results and one with your console logs—to your response. Once we have this information we can determine why you can’t connect to our server and try and solve your issue.

Remember, once you’ve registered the Mac app you will be able to use the app while offline, but it does need to connect to a network from time to time, in order to update the local license file and ensure your license is still valid. This will require a valid network connection as outlined above.

Was this article useful?

We’re really sorry about that.
Please let us know what you were looking for:

If you need more help or you’d like to report a bug with this content, please contact support.

Thanks for your feedback.
An error occurred, please try again later.

Can’t find your answer?

Contact us and we’ll get back to you as soon as we can.

Documentation

Documentation

Learn more about how to use the powerful features that Sketch gives you in our documentation.

Manage your Workspace

Manage your Workspace

View your Workspace details, manage your members and more in your Workspace settings.

Changes to licenses

Changes to licenses

Starting April 2021, licenses are changing. Here’s everything you need to know.

Manage your license

Manage your license

Manage or recover Mac-only (SK3) license keys, add or remove devices, and access invoices.