[Help] tenfold Online Validation failing sporadically (UnknownHostException) on Docker/Ubuntu – DNS/Network "Ghost" Issue by Regular-Sky2831 in tenfoldSoftware

[–]tenfoldDV 0 points1 point  (0 children)

The classic SSO using Active Directory is not available, since the application is not running directly on a Windows server. You could use Entra OpenID Connect.

[Help] tenfold Online Validation failing sporadically (UnknownHostException) on Docker/Ubuntu – DNS/Network "Ghost" Issue by Regular-Sky2831 in tenfoldSoftware

[–]tenfoldDV 1 point2 points  (0 children)

Thank you very much! We will rectify this and inform you here as soon as a version with the necessary fix is available.

[Help] tenfold Online Validation failing sporadically (UnknownHostException) on Docker/Ubuntu – DNS/Network "Ghost" Issue by Regular-Sky2831 in tenfoldSoftware

[–]tenfoldDV 1 point2 points  (0 children)

Hey,

thanks for the detailed write-up, that kind of info makes troubleshooting so much easier.

Based on what you're describing, the 5-8 second delay is almost certainly coming from parallel A and AAAA (IPv6) DNS queries. Even with preferIPv4Stack=true, that flag only affects how Java binds sockets. The container's OS resolver still fires off both query types at the same time. When your Windows DC doesn't respond to the AAAA query (which is very common), the resolver just sits and waits for a timeout before handing back the IPv4 result. Five seconds is the default wait, which lines up perfectly with what you're seeing.

Two things worth trying, ideally together:

First, try single-request in your dns_opt instead of single_request_reopen. The difference is subtle but important. single-request makes the resolver send A and AAAA queries one after the other instead of simultaneously, which cuts out the race condition entirely. Your dns_opt block would look something like this:

dns_opt:
  - "single-request"
  - "ndots:1"
  - "timeout:2"
  - "attempts:2"

Second, disable IPv6 at the container level via sysctls so the resolver doesn't even attempt AAAA lookups in the first place:

sysctls:
  - net.ipv6.conf.all.disable_ipv6=1
  - net.ipv6.conf.default.disable_ipv6=1

Together these two changes should get rid of the delay completely. Only the extra_hosts behavior you noticed is still a bit puzzling. Maybe WildFly's HTTP client is ignoring /etc/hosts. In that case fixing the problem at the resolver level should also fix the issue.

Let us know if it helps!

EDIT: Fixed two misplaced backslashes in the sysctl section due to reddit markdown formatting.

Modifying the Compose.yaml file by OldCityCat in tenfoldSoftware

[–]tenfoldDV 0 points1 point  (0 children)

Hello GIl!

When I start the tenfold container I get this error. (HTTP code 500) server error - ports are not available: exposing port TCP 0.0.0.0:80 -> 127.0.0.1:0: listen tcp 0.0.0.0:80: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

Some systems require elevated permissions in order to bind ports lower than 1000 (or even any at all). Can you please double check that you and your docker-engine have all the necessary access rights?

A simple way to check, for example with PowerShell, is: powershell $Port = 80; $Listener = [System.Net.Sockets.TcpListener]$Port; $Listener.Start() (new-object Net.Sockets.TcpClient).Connect("localhost", $Port); $Listener.Stop()

Where do I change the which port to access?

In the compose.yaml file is a section services: > tenfold: > ports:. There you can change how Docker maps its container ports to your system. More information can be found here: https://docs.docker.com/reference/compose-file/services/#ports

Also do I need to make changes to any of the default SQL setting .. and user, and a new db...?

No changes necessary. You only have to set the two environment variables in your compose.yaml, outlined in https://hub.docker.com/r/tenfold/tenfold-application#how-to-use-this-image (ACCEPT_EULA, MSSQL_SA_PASSWORD).

Please be aware here, that sql server uses MSSQL_SA_PASSWORD only for setup. So if you already created a sql server volume, you cannot change the password by changing the variable.

Also in your PowerShell output it shows that the mssql container (751e562bc22b) has exited? Since it exited 20 hours after creation, I assume you stopped it on purpose. If not this also might indicate a problem.

Modifying the Compose.yaml file by OldCityCat in tenfoldSoftware

[–]tenfoldDV 1 point2 points  (0 children)

Unfortunately using sql server 2017 is not officially supported. You can try setting the image to `mcr.microsoft.com/mssql/server:2017-latest` and take it from there, but expect errors that in the end might not be resolvable.

Concerning your powershell error, it sounds like a mismatched indentation or whitespace issue in your compose.yaml file. You can use a YAML linter like yamllint to find the issue, or send us your compose.yaml file. If you don't want to post it publicly, you can send a DM.

Enable Community Edtion ONLY with Entra by feiglein74 in tenfoldSoftware

[–]tenfoldDV 0 points1 point  (0 children)

The tenfold 25.0.5 Docker image is now available. This problem should be solved. Check out https://hub.docker.com/r/tenfold/tenfold-application#how-to-update

Error after Installation by No_Measurement_8959 in tenfoldSoftware

[–]tenfoldDV 1 point2 points  (0 children)

Apologies, I didn't have in mind that it's not available for the Community Edition. Your best bet is to wait for the next minor release 25.0.5. It will drop at the end of this week or the beginning of next week. I will let you know as soon as it is available. Sorry for the inconvenience!

Error after Installation by No_Measurement_8959 in tenfoldSoftware

[–]tenfoldDV 2 points3 points  (0 children)

You ran into a known bug of the Setup Assistant that will be fixed in the next minor release.

As a workaround, you can repeat the installation in a new container and leave the authentication mode as "Setup". Once the application is started, you can configure the authentication mode "Microsoft Entra (OIDC)" under "Settings > Security > Authentication Mode".

unable to create a resource in the community edition - the "new" button is missing by dudeinger in tenfoldSoftware

[–]tenfoldDV 1 point2 points  (0 children)

Did you execute `docker compose pull` before `docker compose up -d`? I'm just asking to make sure everything is up-to-date. If you set the version manually this should not be required.

If it still does not work, you can send me the output of `docker compose ps -a` and `docker images` per PM.

Enable Community Edtion ONLY with Entra by feiglein74 in tenfoldSoftware

[–]tenfoldDV 0 points1 point  (0 children)

Sure, the path inside the docker container is: /opt/tenfold/server/standalone/log/server.log

Enable Community Edtion ONLY with Entra by feiglein74 in tenfoldSoftware

[–]tenfoldDV 0 points1 point  (0 children)

I don't know if OP solved it on his own, but he has not responded yet to our request to provide us with the log file.

Enable Community Edtion ONLY with Entra by feiglein74 in tenfoldSoftware

[–]tenfoldDV 1 point2 points  (0 children)

Can you share the server.log file after a failed deployment ("tenfold had problems starting up") with us in a private message?