AIR Packaging Fails

Answered

HI,

Using 2017.1.1, AIR SDK 25.0.0.134, JAVA SDK 1.8_111. Packaging AIR fails because of time stamp server: Could not generate timestamp: Connection reset.

Seems to be a problem mentioned on Adobe forum (https://forums.adobe.com/message/9065008#9065008). Tried a few of the suggested options from there with no success.

Any way to fix in IntelliJ IDEA 2017.1.1? Or any way to eliminate need for time stamp. Not sure if temporary airi is the same as air with no time stamp.

Thank you for your help.

 

0
14 comments
Official comment

Is this an AIR desktop app? Looks like something is wrong with the default timestamp server. As a temporary workaround you may set 'none' (without quotes) as a TSA in the AIR Package tab of the corresponding Flash Build Configuration (Project Structure dialog). Or (better) enter a different valid TSA URL like http://sha256timestamp.ws.symantec.com/sha256/timestamp

Under the hood IDE simply calls ADT tool from the AIR SDK. You may read more about '-tsa' option here: http://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7f72.html

Thank you, Alexander.

Yes, desktop AIR app.

That worked!

 

1

Hi, 

 

Same issue, just started happening today. 

However, I don't see a TSA field in the "AIR Package" tab of the Project Structure dialog window (Modules selected in menu on left).

I only see "Application descriptor," "Package file name," "Files and folders to package" and "Use temporary self-signed certificate" sections on this tab.

I'm using IntelliJ 2016.2.5

Also, what are the implications of setting TSA to 'none'? What is the different end result compared to previously when this was working?

Thanks for any further help you can provide!


Best Regards,

Daniel

0

Daniel, click 'More options' at the bottom of the AIR Package tab.

Under the hood IDE simply calls ADT tool from the AIR SDK. You may read about its '-tsa' option here: http://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7f72.html

0

I also just started having this problem today when it was working preivously.

 

If you set the tsa to none, then your application will not be able to be installed after the certificate expires. With the timestamp it can still be installed as long as the certificate was valid at the time of signing. So it's not the best idea to not use a timestamp.

 

Kyle

0

Sure, -tsa none is just a quick temporary workaround. If default TSA doesn't work it's better to use a different valid TSA URL like http://sha256timestamp.ws.symantec.com/sha256/timestamp

0

If I would like to use -tsa and a different TSA URL (time stamp server), how and where would I do this using IntelliJ? Is there a way in IntelliJ when compiling AIR Packages to use a command line for this? Would a command line need all parameters or just this additional one as an over-ride to standard AIR compiling? Where? How to do this?

Thank you for your help.

0

In the AIR packaging options for your application there is a "more" option at the bottom, click that and there is a tsa text input. I've had problems there with sites not working even when they say they are free. I have not tried a paid service though so I'm unsure how to get it to work properly.

 

Kyle

0

Is there a guide/tutorial on what text to add, a walk-through, step-by-step, with syntax?

Is http://sha256timestamp.ws.symantec.com/sha256/timestamp a paid service?

 

0

Stephen, I'm not sure what tutorial you are asking for. All is written in my first comment. You wrote 'That worked', I was sure you had found the option. Ok, here's a screenshot. This URL doesn't seem to be a paid service, it works for me.

0

OK, apologies. I figured it out: in the AIR compiler tab>more options, TSA> type in other timestamp URL, like the one above. It worked.

0

Hi Alexander,

OK,our posts must have crossed in cyberspace. Yes. I found this. Works! Thank you very much.

0

Worked for me. Thanks for that quick response, Alexander!

0

Did you say that http://sha256timestamp.ws.symantec.com/sha256/timestamp worked for you? I get permission denied errors when I try to use it.


Kyle

0

Please sign in to leave a comment.