Error creating AIR file: failed to create timestamp: remote connection to remote connection host during handshake

I try to export the release build from Flash Builder, and I get an error message:

enter image description here

Error message:

Error creating AIR file: failed to create timestamp: remote host closed connection during handshake

Update:
I found this post and it says it uses https://timestamp.geotrust.com/tsa to get the timestamp. I visited this URL in a browser and got a 404 page that was not found.

Update 2:
It looks like the site’s timestamp has been disabled for several days.

Update 3:
It seems that geotrust has switched to TLS 1.2, which breaks Flash Builder. Here is the answer from Adobe here :

Thanks for reporting the problem. We investigated and found that timestamp.geotrust.com has recently disabled TLS 1.0 (see comments on http://downornotworking.com/timestamp.geotrust.com/ ), and therefore please try switching to Java 1.8 on your computer, where is ADT (a component in the Java-based AIR SDK).

OK I read here that there were compatibility issues with Flash Builder and Java 1.8. Am I installing Java 1.8? How can I do this with Flash Builder?

I am running Flash Builder 4.7 on Mac OS X 10.11

+7
flex actionscript-3 air flash-builder
source share
4 answers

There is a good article on how to configure Flash Builder for Java 7/8

Running Adobe Flash Builder on Mac with Java 7/8

I am recreating the steps here just in case the link goes offline

Steps to follow

Set your JAVA_HOME to Java 7 or Java 8 as per the correct paths on your machine. export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home Open JVM's Info.plist at $JAVA_HOME/../Info.plist and add the highlighted lines to JVMCapabilities array:arrays Create a symlink for libjvm.dylib as follows: sudo mkdir –p /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bundle/Libraries sudo ln -s /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/server/libjvm.dylib 

/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bundle/Libraries/libserver.dylib

 Note: Correct the version number (in jdk1.7.0_79.jdk) path in the above example to make it point to the correct path on your machine. Set java.library.path by adding the following lines at the end of "/Applications/Adobe Flash Builder 4.7/Adobe Flash Builder 

4.7.app/Contents/MacOS/Adobe Flash Builder 4.7.ini. "

-Djava.library.path = .. / .. / .. / eclipse / plugins / com.adobe.flexide.nativelibs_4.7.0.349722 / OS / MacOSX /:../../../ eclipse / plugins / com.adobe.flexide.amt_4.7.0.349722 / os / macosx /:../../../ eclipse / plugins / com.adobe.flexbuilder.utils.osnative_4.7.0.349722 / os / macosx /

Restart your computer and launch Flash Builder. Possible error

If you try to run Flash Builder on Mac OS 10.12 and you see an error, for example:

java.lang.RuntimeException: The application "com.adobe.flexbuilder.standalone.FlashBuilderApplication" could not be found in the registry. The following applications are available: org.eclipse.ant.core.antRunner, org.eclipse.ant.ui.antRunner, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox. p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equox. publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equactox.2. repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher.e org.ecloxsepox publisher.CategoryPublisher, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool , org.eclipse.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.ui.ide.workbench, org.eclipse.update.core.standaloneUpdate, org.eclipse.update.core .siteOptimizer. in org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp (EclipseAppContainer.java:248) in org.eclipse.equinox.internal.app.MainApplicationLauncher.run.MainApplicationLauncher.javantime.me .internal.adaptor.EclipseAppLauncher.runApplication (EclipseAppLauncher.java:110) in org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start (EclipseAppLauncher.java:79) in org.ecl .run (EclipseStarter.javahaps44) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) in sun.reflect.NativeMethodAccess (NativeMethodAccessorImpl.java:39) in sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) in java.lang.reflect.Method.invoke (Method.javaβˆ—97) in org.eclipse.equinox.launcher.Main. invokeFramework (Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun (Main.java=77) at org .eclipse.equinox.launcher.Main.run (Main.java:1410)

Locate the directory named "p2" in / Applications / Adobe Flash Builder 4.7 / and delete it. Flash Builder should now start.

+2
source share

This fix worked for me with FlashBuilder 4.7 on windows.

Make sure JDK 1.8 is installed properly.

Delete (rename) the JDK1.6 folder shipped with FlashBuilder:

 C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\jre 

I renamed it to jre-removed-to-force-java1.8 , but whatever.

+1
source share

For me, this solution worked from Phendrax on this page: https://forums.adobe.com/thread/2218793

After installing Java 1.8, go to "C: \ Program Files \ Adobe \ Adobe Flash Builder 4.7 (64 bit)" (or the Flash Builder installation directory) and rename the "jre" folder to something else (for example, "_jre") Then go to your Java 1.8 installation directory (for me it's "C: \ Program Files \ Java \ jdk1.8.0_101"), Copy the jre folder from the Java 1.8 directory to the Flash Builder directory

+1
source share

For everyone who is interested, I solved this with our ant build.xml by adding the "-tsa" argument to the adt java task

 <!-- Load properties --> <property file="${basedir}${file.separator}build${file.separator}build.properties" /> <!-- ADT launch --> <java jar="${flexsdk.adt}" fork="true" failonerror="true" maxmemory="1024m"> <arg line="-package" /> <arg line="-keystore ${project.certificate}" /> <arg line="-storetype pkcs12" /> <arg line="-storepass ${project.storepass}" /> <arg line="-tsa ${adt.tsa}" /> <arg line="-target bundle" /> <arg line="${buildconfig.path}" /> <arg line="${buildconfig.path}/${project.name}-app.xml" /> <arg line="-C ${buildconfig.path} ${project.name}.swf" /> </java> 

With our build.properties file using the following adt.tsa value

 adt.tsa = http://sha256timestamp.ws.symantec.com/sha256/timestamp 
+1
source share

All Articles