Not allowed to launch 'jnlps://host:port/cws/zbsl/zbsl.jnlp' because a user gesture is required.

%3CLINGO-SUB%20id%3D%22lingo-sub-3000820%22%20slang%3D%22en-US%22%3ENot%20allowed%20to%20launch%20'jnlps%3A%2F%2Fhost%3Aport%2Fcws%2Fzbsl%2Fzbsl.jnlp'%20because%20a%20user%20gesture%20is%20required.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3000820%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%C2%B4m%20not%20be%20able%20to%20achieve%20two%20consecutive%20automatic%20jnlp%20launches%20on%26nbsp%3BEdge%20Version%3A%26nbsp%3B%2096.0.1054.34%2C%20on%20Firefox%2094%20and%20IE11%20i%20can%20achieve%20it%20without%20problemas%2C%20but%20in%20Edge%20an%20Chrome%20only%20runs%20the%20first%20one%20automatically%20and%20next%20i%C2%B4ve%20the%20following%20message%20on%20console%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENot%20allowed%20to%20launch%20'jnlps%3A%2F%2Fhost%3Aport%2Fcws%2Fzbsl%2Fzbsl.jnlp'%20because%20a%20user%20gesture%20is%20required.%3C%2FP%3E%3CP%3EI%C2%B4m%20allready%20set%20this%20values%20on%20my%20windows%20reg%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22ExemptDomainFileTypePairsFromFileTypeDownloadWarnings%22%3D%22%7B%5C%22domains%5C%22%3A%20%5B%5C%22%3CA%20href%3D%22https%3A%2F%2Fhost%3Aport%5C%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fhost%3Aport%5C%3C%2FA%3E%22%5D%2C%20%5C%22file_extension%5C%22%3A%20%5C%22jnlp%5C%22%7D%22%3CBR%20%2F%3E%22AutoLaunchProtocolsComponentEnabled%22%3Ddword%3A00000001%3CBR%20%2F%3E%22AutoLaunchProtocolsFromOrigins%22%3D%22%7B%5C%22allowed_origins%5C%22%3A%20%5B%5C%22%3CA%20href%3D%22https%3A%2F%2Fhost%3Aport%5C%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fhost%3Aport%5C%3C%2FA%3E%22%5D%2C%20%5C%22protocol%5C%22%3A%20%5C%22jnlp%5C%22%7D%2C%7B%5C%22allowed_origins%5C%22%3A%20%5B%5C%22%3CA%20href%3D%22https%3A%2F%2Fhost%3Aport%5C%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fhost%3Aport%5C%3C%2FA%3E%22%5D%2C%20%5C%22protocol%5C%22%3A%20%5C%22jnlps%5C%22%7D%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20of%20course%2C%20jnlp%20files%20and%20mime%20types%20are%20correctly%20associated%20on%20Windows%2010.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20comments%20will%20be%20apreciated%2C%20thanks%20in%20advanced.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3003177%22%20slang%3D%22en-US%22%3ERe%3A%20Not%20allowed%20to%20launch%20'jnlps%3A%2F%2Fhost%3Aport%2Fcws%2Fzbsl%2Fzbsl.jnlp'%20because%20a%20user%20gesture%20is%20required.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3003177%22%20slang%3D%22en-US%22%3EHey%20there!%20Since%20this%20is%20happening%20on%20both%20Edge%20and%20Chrome%2C%20it's%20likely%20a%20Chromium%20bug%20(or%20possibly%20intended%20behavior%2C%20though%20this%20does%20look%20like%20a%20bug%20to%20me%20as%20it's%20not%20respecting%20your%20exemption.)%20%3CBR%20%2F%3EIt%20might%20be%20worth%20filing%20a%20new%20Chromium%20bug%20with%20your%20use%20case%20(%3CA%20href%3D%22https%3A%2F%2Fbugs.chromium.org%2Fp%2Fchromium%2Fissues%2Fentry%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fbugs.chromium.org%2Fp%2Fchromium%2Fissues%2Fentry%3C%2FA%3E)%20as%20I%20only%20see%20a%20few%20open%20relating%20to%20gestures%20and%20not%20necessarily%20capturing%20this%20case.%3C%2FLINGO-BODY%3E
New Contributor

Hi,

 

I´m not be able to achieve two consecutive automatic jnlp launches on Edge Version:  96.0.1054.34, on Firefox 94 and IE11 i can achieve it without problemas, but in Edge an Chrome only runs the first one automatically and next i´ve the following message on console: 

 

Not allowed to launch 'jnlps://host:port/cws/zbsl/zbsl.jnlp' because a user gesture is required.

I´m allready set this values on my windows reg:

 

"ExemptDomainFileTypePairsFromFileTypeDownloadWarnings"="{\"domains\": [\"https://host:port\"], \"file_extension\": \"jnlp\"}"
"AutoLaunchProtocolsComponentEnabled"=dword:00000001
"AutoLaunchProtocolsFromOrigins"="{\"allowed_origins\": [\"https://host:port\"], \"protocol\": \"jnlp\"},{\"allowed_origins\": [\"https://host:port\"], \"protocol\": \"jnlps\"}"

 

And of course, jnlp files and mime types are correctly associated on Windows 10.

 

Any comments will be apreciated, thanks in advanced.

 

 

 

 

2 Replies
Hey there! Since this is happening on both Edge and Chrome, it's likely a Chromium bug (or possibly intended behavior, though this does look like a bug to me as it's not respecting your exemption.)
It might be worth filing a new Chromium bug with your use case (https://bugs.chromium.org/p/chromium/issues/entry) as I only see a few open relating to gestures and not necessarily capturing this case.