servertap-io / servertap

ServerTap is a REST API for Bukkit/Spigot/Paper Minecraft servers
https://servertap.io
MIT License
233 stars 57 forks source link

>....failed to find class org/conscrypt/CryptoUpcalls #235

Closed Procatin0 closed 6 months ago

Procatin0 commented 1 year ago

When I enable TLS in config.yml, I get the following error when starting the server:

[11:58:47 INFO]: [ServerTap] Enabling ServerTap v0.5.3
[11:58:48 INFO]: [ServerTap] Hooked economy provider: EssentialsX Economy
>....failed to find class org/conscrypt/CryptoUpcalls
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fbb47b30898, pid=1, tid=76
#
# JRE version: OpenJDK Runtime Environment Temurin-18.0.2.1+1 (18.0.2.1+1) (build 18.0.2.1+1)
# Java VM: OpenJDK 64-Bit Server VM Temurin-18.0.2.1+1 (18.0.2.1+1, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libc.so.6+0x28898]  abort+0x178
#
# Core dump will be written. Default location: /home/container/core.1
#
# An error report file with more information is saved as:
# /home/container/hs_err_pid1.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
phybros commented 1 year ago

Hola!

Please provide the following information:

Procatin0 commented 1 year ago

Host: Linux 6.4.3-x64v2-xanmod1 (amd64) Docker image: ghcr.io/pterodactyl/yolks:java_18

config.yml:

port: 25701
debug: false
useKeyAuth: true
key: 'AnAwesomeKey'
normalizeMessages: true

# TLS (a.k.a. SSL) options
tls:
  enabled: true
  keystore: selfsigned.jks
  keystorePassword: AKeyStorePassword
  # Enforce Server Name Indication (SNI) or not
  sni: false

# Use this list to set allowed CORS Origins ("*" by default)
corsOrigins:
  - "https://domain.com"

# Example webhook configuration
#webhooks:
#  default:
#    listener: "https://your-webhook-target.com/whatever"
#    events:
#      - PlayerJoin
#      - PlayerQuit
#      - PlayerKick
#      - PlayerDeath
#      - PlayerChat

# Number of console log lines to send when websocket connections are opened
# Set to 0 to effectively disable this
websocketConsoleBuffer: 1000

# If you do not wish to show the swagger UI you can disable it here
disable-swagger: false

# Use this feature to configure paths that will be blocked.
# You can use * as wildcard placeholders to match anything you like.
# The placeholders from Swagger UI like {uuid} are handled the same way as a *.
blocked-paths:
# - /v1/ping
# - /v1/players/{uuid}
# - /v1/server/*
Procatin0 commented 1 year ago

bump

DeathTrooperr commented 1 year ago

@Procatin0 I would open a support thread in the discord server for quicker help.