Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected EOF on ubuntu aarch64 #104

Open
xhyrom opened this issue Aug 10, 2022 · 2 comments
Open

Unexpected EOF on ubuntu aarch64 #104

xhyrom opened this issue Aug 10, 2022 · 2 comments

Comments

@xhyrom
Copy link

xhyrom commented Aug 10, 2022

I host my mysql server on ubuntu aarch64, and when i try connect it throws:

backend:dev: Unhandled exception: Unexpected EOF (Exception)
backend:dev:   from lib/mysql/src/mysql/read_packet.cr:44:18 in 'read_byte!'
backend:dev:   from lib/mysql/src/mysql/read_packet.cr:69:5 in 'read_int'
backend:dev:   from lib/mysql/src/mysql/packets.cr:13:7 in 'read'
backend:dev:   from lib/mysql/src/mysql/connection.cr:70:14 in 'read_packet'
backend:dev:   from lib/mysql/src/mysql/connection.cr:22:19 in 'initialize'
backend:dev:   from lib/mysql/src/mysql/connection.cr:4:3 in 'new'
backend:dev:   from lib/mysql/src/mysql/driver.cr:3:5 in 'build_connection'
backend:dev:   from lib/db/src/db/database.cr:57:9 in '->'
backend:dev:   from lib/db/src/db/pool.cr:218:27 in 'build_resource'
backend:dev:   from lib/db/src/db/pool.cr:47:34 in 'initialize'
backend:dev:   from lib/db/src/db/pool.cr:40:5 in 'new:initial_pool_size:max_pool_size:max_idle_pool_size:checkout_timeout:retry_attempts:retry_delay'
backend:dev:   from lib/db/src/db/database.cr:56:15 in 'initialize'
backend:dev:   from lib/db/src/db/database.cr:49:5 in 'new'
backend:dev:   from lib/db/src/db.cr:155:5 in 'build_database'
backend:dev:   from lib/db/src/db.cr:151:5 in 'build_database'
backend:dev:   from lib/db/src/db.cr:119:5 in 'open'
backend:dev:   from src/hypilus.cr:16:14 in '~Hypilus::Database:init'
backend:dev:   from src/hypilus.cr:17:3 in '__crystal_main'
backend:dev:   from /usr/lib/crystal/crystal/main.cr:115:5 in 'main_user_code'
backend:dev:   from /usr/lib/crystal/crystal/main.cr:101:7 in 'main'
backend:dev:   from /usr/lib/crystal/crystal/main.cr:127:3 in 'main'
backend:dev:   from /usr/lib/libc.so.6 in '??'
backend:dev:   from /usr/lib/libc.so.6 in '__libc_start_main'
backend:dev:   from ../sysdeps/x86_64/start.S:117 in '_start'
backend:dev:   from ???

tried with mysql and also mariadb

@straight-shoota
Copy link
Member

Can you please give some more info about your system, like which version of this shard and which database versions you used?

@xhyrom
Copy link
Author

xhyrom commented Aug 10, 2022

MariaDB:
mysql Ver 15.1 Distrib 10.3.34-MariaDB, for debian-linux-gnu (aarch64) using readline 5.2

MySQL:
mysql server version: mysql Ver 8.0.30-0ubuntu0.20.04.2 for Linux on aarch64 ((Ubuntu))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants