# While setting up an ASL scenario an error was generated

**URL:** https://forum.vassalengine.org/t/while-setting-up-an-asl-scenario-an-error-was-generated/73226
**Category:** Technical Support & Bugs
**Created:** [December 5, 2021, 9:42pm UTC](https://forum.vassalengine.org/t/while-setting-up-an-asl-scenario-an-error-was-generated/73226 "2021-12-05T21:42:16Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![DerekD](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/d/51bf81/32.png) [@DerekD](https://forum.vassalengine.org/u/DerekD)
#### Post date: [December 5, 2021, 9:42pm UTC](https://forum.vassalengine.org/t/while-setting-up-an-asl-scenario-an-error-was-generated/73226/1 "2021-12-05T21:42:17Z")

</div>

I’m running vassal 3.6.1 with module VASL 6.6.3.1.

I’m creating a new scenario setup and was adding a Japanese vehicle by dragging the counter to the board when an error occurred.

I’d like to add the error file, but am not sure how to do that in this forum.

BTW, I’ve been doing this exact action in vassal/VASL for the past 2 years and have never gotten this error. BUT, I did upgrade to 3.6.1/6.6.3.1 yesterday. Not a coincidence, I’m sure.

---

<div class="post-metadata">

### Author: ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)
#### Post date: [December 5, 2021, 9:46pm UTC](https://forum.vassalengine.org/t/while-setting-up-an-asl-scenario-an-error-was-generated/73226/2 "2021-12-05T21:46:08Z")

</div>

One way would be to paste the error log text here. (Fixed-width text can be formatted between triple backticks.)

Were you unable to submit the bug report via the bug report dialog?

---

<div class="post-metadata">

### Author: ![DerekD](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/d/51bf81/32.png) [@DerekD](https://forum.vassalengine.org/u/DerekD)
#### Post date: [December 6, 2021, 1:00am UTC](https://forum.vassalengine.org/t/while-setting-up-an-asl-scenario-an-error-was-generated/73226/3 "2021-12-06T01:00:23Z")

</div>

Worked through submitting via the github site just now and attach the file after adding a “.txt” extension to it. Thanks.

---

<div class="post-metadata">

### Author: ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)
#### Post date: [December 6, 2021, 1:02am UTC](https://forum.vassalengine.org/t/while-setting-up-an-asl-scenario-an-error-was-generated/73226/4 "2021-12-06T01:02:26Z")

</div>

~~Could you point me to where exactly?~~

I found it—you put it into VASL’s tracker instead of ours.

> <https://github.com/vasl-developers/vasl/issues/1054>
>
> I’m running vassal 3.6.1 with module VASL 6.6.3.1.
> 
> I’m creating a new scenari…o setup and was adding a Japanese vehicle by dragging the counter to the board when an error occurred.
> 
> I’d like to add the error file, but am not sure how to do that in this forum.
> 
> BTW, I’ve been doing this exact action in vassal/VASL for the past 2 years and have never gotten this error. BUT, I did upgrade to 3.6.1/6.6.3.1 yesterday. Not a coincidence, I’m sure.
> 
> \[errorLog-3.6.1.txt\](https://github.com/vasl-developers/vasl/files/7657206/errorLog-3.6.1.txt)

You seem to be having two problems—the one you reported, and then some sort of DNS issue which prevented the bug reporter from uploading the bug report automatically.

---

<div class="post-metadata">

### Author: ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)
#### Post date: [December 6, 2021, 1:38pm UTC](https://forum.vassalengine.org/t/while-setting-up-an-asl-scenario-an-error-was-generated/73226/5 "2021-12-06T13:38:32Z")

</div>

@Cattlesquat looked at the first problem and produced a patch. Please try VASSAL-3.6.2-SNAPSHOT-2bf62a8-FixBackMapNPE from our development builds archive: [Builds of vassalengine/vassal](https://vassalengine.org/builds)

Does that fix the first problem you were having?

I’m going to need a bit of time to dig further into the second problem.

---

<div class="post-metadata">

### Author: ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)
#### Post date: [December 7, 2021, 1:16am UTC](https://forum.vassalengine.org/t/while-setting-up-an-asl-scenario-an-error-was-generated/73226/6 "2021-12-07T01:16:41Z")

</div>

For the second problem:

- Are you able to reach our front page at [https://vassalengine.org](https://vassalengine.org) without any warnings in your browser?
- Do you ever have problems reaching other sites which use HTTPS?

The error messages I’m seeing in your error log about our SSL certificate are puzzling:

```auto
java.util.concurrent.ExecutionException: javax.net.ssl.SSLHandshakeException: No subject alternative DNS name matching vassalengine.org found.
...
Caused by: javax.net.ssl.SSLHandshakeException: No subject alternative DNS name matching vassalengine.org found.
...
Caused by: java.security.cert.CertificateException: No subject alternative DNS name matching vassalengine.org found.

```

From those, you’d expect that the CN for our SSL certificate doesn’t match the hostname the bug reporter is contacting.

I can see from the log the failure happens via `LiveVersionInfo.getVersion()`, and the URL used there is hard-coded in the class: `https://vassalengine.org/util/`. When I check our certificate, the only CN listed is `vassalengine.org`.

Why is Java on your system considering those to be a mismatch? If the hostname in the URL in use really didn’t match the CN of our certificate, how could we have received dozens of bug reports successfully this way? It makes me wonder if your ISP is fiddling with your network traffic somehow.

---

<div class="post-metadata">

### Author: ![DerekD](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/d/51bf81/32.png) [@DerekD](https://forum.vassalengine.org/u/DerekD)
#### Post date: [December 7, 2021, 2:00am UTC](https://forum.vassalengine.org/t/while-setting-up-an-asl-scenario-an-error-was-generated/73226/7 "2021-12-07T02:00:30Z")

</div>

Hi Joel,  
I loaded your recommended build, opened my file, moved the tanks, and immediately got the same error. It also didn’t auto report the bug again, but no surprise there.

I haven’t had any issues with other sites that I’ve noticed. Do you have a site and steps I should follow to test it out?  
Thanks,  
Derek

---

<div class="post-metadata">

### Author: ![DerekD](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/d/51bf81/32.png) [@DerekD](https://forum.vassalengine.org/u/DerekD)
#### Post date: [December 7, 2021, 2:10am UTC](https://forum.vassalengine.org/t/while-setting-up-an-asl-scenario-an-error-was-generated/73226/8 "2021-12-07T02:10:27Z")

</div>

Hi Joel,  
I backed off to vassal 3.5.8 and ran the VASL 6.6.3.1 file and things seemed to be just fine. Seems the problem is with vassal.  
Derek

---

<div class="post-metadata">

### Author: ![Cattlesquat](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/cattlesquat/32/241_2.png) [@Cattlesquat](https://forum.vassalengine.org/u/Cattlesquat)
#### Post date: [December 7, 2021, 2:43am UTC](https://forum.vassalengine.org/t/while-setting-up-an-asl-scenario-an-error-was-generated/73226/9 "2021-12-07T02:43:10Z")

</div>

~~Hi Derek - can you link us a copy of your save or whatever you have, w/ directions on what tanks to move from exactly where to exactly where (in order to reproduce the problem)? And/or screenshots?~~

 

~~Thanks!~~

---

<div class="post-metadata">

### Author: ![Cattlesquat](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/cattlesquat/32/241_2.png) [@Cattlesquat](https://forum.vassalengine.org/u/Cattlesquat)
#### Post date: [December 7, 2021, 8:44pm UTC](https://forum.vassalengine.org/t/while-setting-up-an-asl-scenario-an-error-was-generated/73226/10 "2021-12-07T20:44:33Z")

</div>

Hi Derek,

Actually, ignore that last as I figured out how to reproduce the bug. Could you please get the latest “master” build from [Builds of vassalengine/vassal](https://vassalengine.org/builds/) and verify that it (hopefully) no longer reproduces that problem? (It no longer causes the problem for me)

Thanks,

Brian

---

<div class="post-metadata">

### Author: ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)
#### Post date: [December 10, 2021, 3:57pm UTC](https://forum.vassalengine.org/t/while-setting-up-an-asl-scenario-an-error-was-generated/73226/11 "2021-12-10T15:57:07Z")

</div>

@DerekD I’ve uploaded [an archive containing two test programs](https://vassalengine.org/~uckelman/cert_test.zip) for you to try so we can troubleshoot the SSL certificate problem you’re having.

Instructions:

1. Unzip the archive.
2. Open a command window (Run `cmd`)
3. From the command prompt, `cd` into the directory where you unzipped the archive. (You should see the files `CertTest1.class` and `CertTest2.class` in that directory.
4. Run `"C:\Program Files\VASSAL-3.6.2\jre\bin\java" -cp "C:\Program Files\VASSAL-3.6.2\lib\Vengine.jar";. CertTest1`
5. Run `"C:\Program Files\VASSAL-3.6.2\jre\bin\java" -cp "C:\Program Files\VASSAL-3.6.2\lib\Vengine.jar";. CertTest2`
6. Paste here the output of each of the two commands.

Note that you may need to adjust the paths in the two commands to reflect where you have installed Vassal. It doesn’t matter which version of 3.6 you have installed for this, but it does need to be 3.6.
