A timestamp was expected but was not found

Apple Recommended

Replies

Hi Quinn,

May I have an update please? we are blocked from July 18 2022 because of this issue. Or could you please let me know the escalation channel?

regards

Prema Kumar

I don’t think this is an apple issue that you are encountering. We have had no issues from any of our networks or build machines since the original issue was resolved over a year ago.

As Quinn mentioned, this appears to be a networking issue on your own network.

I would suggest reaching out to your IT and security teams and see what changes they made on July 18th to determine if there may be new firewall rules that they recently put into place that are preventing access to the time stamp service.

I know that many organizations will try to “lock down” their networks - particularly those networks that have access to source code - and this can cause problems with the time stamping and notarization services. In fact, just a few months ago, my own organization did a firewall rule review, updated some rules, and broke our access for timestamping and notarization. we had to re-request our firewall exemptions to our internal security team to allow the signing and notarization to work again.

But the most important thing is, this is doesn’t look like an apple issue, and there is nothing that can be done from apples side to resolve it. I would suggest working with your company help desk, IT, and/or security teams to resolve this issue. The document at https://support.apple.com/en-us/HT210060 is likely a good place to start for what endpoints need to be available from your network (there may be additional endpoints - for example, I don’t see timestamp.apple.com on that list - we just ensure that we can access everything on 17.0.0.0/8 and have had no problems).

If, after working and ruling out your own organizations networking issues, there continues to be a problem, I suggest you open a developer support incident with apple - this thread is for a completely separate issue from over a year ago that has been resolved - and there are MANY people on this thread who do not need to be getting notifications of your corporate firewall issues.

  • Hi,

    I am sorry for the inconvenience caused to others. I will start a new thread for this.

    I felt that this is the only place where I get replies to my queries. Raising issue Feedback assist did not help.

    Raising a "Technical Support Incident" did not help for the issue likes notarization.

    can you confirm the following?

    "Apple servers are not rate-limiting our traffic coming from our IP block 103.36.149.0/24"

    regards

    Prema Kumar

Add a Comment

How is it that this is still so unreliable? I get the "unavailable" message like 60% of the time when building in the middle of the night. My CI jobs have to run codesign in a delay retry loop until it succeeds for this reason. I don't have to do this for my windows builds which use another timestamp service. My outbound network is unrestricted and not problematic for anything else.

Apple, if you're going to position yourself as the only way to sign apps, you need to actually make your service work reliably!

I've been getting this on multiple machines the last few days. Seems kinda random. Am I the only one?

I do have ping access to timestamp.apple.com.

This is the command we are using:

codesign -vvv -s ... --ignore-resources --timestamp foo.dylib
  • So, it appears that --ignore-resources along with --timestamp is the cause. When I remove the former it works for me.

    This just started failing a few days ago, though. VERY disconcerting.

    The --ignore-resources was added 7 or so years ago to workaround a problem with codesigning. That was before we used notarization, so I think I'll remove it.

    @eskimo is this a new, known issue?

  • Spoke too soon. It just seems random and it randomly worked when I removed --ignore-resources. Now it just failed without it.

    @eskimo this is a huge issue for me. What can I do to provide you info to help solve this?

  • This is on macOS 10.15.7. I have a suspicion that it has something to do with older macOS versions.

For others reading this thread, it was IPv6 connections to timestamp.apple.com were unreliable. If you don't need IPv6, then you can set it to "link-local only", which will force codesign to use IPv4.

Thanks to @eskimo for the assist.

  • So, yeah, I'm also getting this, here in Ireland. I filed FB13706261 about it, because it does seem to be some rather bad behaviour on the part of codesign.

Add a Comment