Skip to content

Asyncify error during mysqlnd connection to a host where MySQL is not running #3402

@adamziel

Description

@adamziel

As in the title. This is the error:

Unhandled rejection: RuntimeError: null function or function signature mismatch
    at php.wasm.zend_vstrpprintf (wasm://wasm/php.wasm-0598c286:wasm-function[2784]:0x20921b)
    at php.wasm.zend_error (wasm://wasm/php.wasm-0598c286:wasm-function[180]:0x16432)
    at php.wasm.mysqlnd_sha256_auth_get_auth_data (wasm://wasm/php.wasm-0598c286:wasm-function[16343]:0xae672f)
    at php.wasm.mysqlnd_run_authentication (wasm://wasm/php.wasm-0598c286:wasm-function[8603]:0x69a3ab)
    at php.wasm.mysqlnd_mysqlnd_command_handshake_pub (wasm://wasm/php.wasm-0598c286:wasm-function[16570]:0xaf7583)
    at php.wasm.mysqlnd_mysqlnd_conn_data_connect_handshake_pub (wasm://wasm/php.wasm-0598c286:wasm-function[16548]:0xaf5ec6)
    at php.wasm.mysqlnd_mysqlnd_conn_data_connect_pub (wasm://wasm/php.wasm-0598c286:wasm-function[16547]:0xaf50da)
    at php.wasm.mysqlnd_mysqlnd_conn_connect_pub (wasm://wasm/php.wasm-0598c286:wasm-function[16552]:0xaf61ea)
    at php.wasm.mysqlnd_connection_connect (wasm://wasm/php.wasm-0598c286:wasm-function[8613]:0x69bf78)
    at php.wasm.mysqli_common_connect (wasm://wasm/php.wasm-0598c286:wasm-function[5976]:0x48ad3e)
Unhandled rejection: RuntimeError: unreachable
    at php.wasm.wasm_sapi_handle_request (wasm://wasm/php.wasm-0598c286:wasm-function[14286]:0xa1615d)
    at wrapper (file:///Users/cloudnik/.npm/_npx/3b7824ec561ce8ed/node_modules/@php-wasm/node-8-3/asyncify/php_8_3.js:9854:13)
    at Object.doRewind (file:///Users/cloudnik/.npm/_npx/3b7824ec561ce8ed/node_modules/@php-wasm/node-8-3/asyncify/php_8_3.js:9964:11)
    at file:///Users/cloudnik/.npm/_npx/3b7824ec561ce8ed/node_modules/@php-wasm/node-8-3/asyncify/php_8_3.js:9993:39
    at file:///Users/cloudnik/.npm/_npx/3b7824ec561ce8ed/node_modules/@php-wasm/node-8-3/asyncify/php_8_3.js:10474:6
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Unhandled rejection: RuntimeError: null function or function signature mismatch
    at php.wasm.zend_vstrpprintf (wasm://wasm/php.wasm-0598c286:wasm-function[2784]:0x20921b)
    at php.wasm.zend_error (wasm://wasm/php.wasm-0598c286:wasm-function[180]:0x16432)
    at php.wasm.mysqlnd_sha256_auth_get_auth_data (wasm://wasm/php.wasm-0598c286:wasm-function[16343]:0xae672f)
    at php.wasm.mysqlnd_run_authentication (wasm://wasm/php.wasm-0598c286:wasm-function[8603]:0x69a3ab)
    at php.wasm.mysqlnd_mysqlnd_command_handshake_pub (wasm://wasm/php.wasm-0598c286:wasm-function[16570]:0xaf7583)
    at php.wasm.mysqlnd_mysqlnd_conn_data_connect_handshake_pub (wasm://wasm/php.wasm-0598c286:wasm-function[16548]:0xaf5ec6)
    at php.wasm.mysqlnd_mysqlnd_conn_data_connect_pub (wasm://wasm/php.wasm-0598c286:wasm-function[16547]:0xaf50da)
    at php.wasm.mysqlnd_mysqlnd_conn_connect_pub (wasm://wasm/php.wasm-0598c286:wasm-function[16552]:0xaf61ea)
    at php.wasm.mysqlnd_connection_connect (wasm://wasm/php.wasm-0598c286:wasm-function[8613]:0x69bf78)
    at php.wasm.mysqli_common_connect (wasm://wasm/php.wasm-0598c286:wasm-function[5976]:0x48ad3e)
Unhandled rejection: RuntimeError: unreachable
    at php.wasm.wasm_sapi_handle_request (wasm://wasm/php.wasm-0598c286:wasm-function[14286]:0xa1615d)
    at wrapper (file:///Users/cloudnik/.npm/_npx/3b7824ec561ce8ed/node_modules/@php-wasm/node-8-3/asyncify/php_8_3.js:9854:13)
    at Object.doRewind (file:///Users/cloudnik/.npm/_npx/3b7824ec561ce8ed/node_modules/@php-wasm/node-8-3/asyncify/php_8_3.js:9964:11)
    at file:///Users/cloudnik/.npm/_npx/3b7824ec561ce8ed/node_modules/@php-wasm/node-8-3/asyncify/php_8_3.js:9993:39
    at file:///Users/cloudnik/.npm/_npx/3b7824ec561ce8ed/node_modules/@php-wasm/node-8-3/asyncify/php_8_3.js:10474:6
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions