./reach run hangs when run on example - General - Algorand

./reach run hangs when run on example

post by gungy on Feb 17, 2023

The auction example seems to freeze on my machine on this line:

const accCreator = await stdlib.newTestAccount(startingBalance);

With debugging information:

Creating test account for Creator 2023-02-18T02:43:16.173Z DEBUG: C544 connectAccount Warning: your program uses stdlib.fundFromFaucet. That means it only works on Reach devnets! 2023-02-18T02:43:16.190Z DEBUG: RQNT connectAccount 2023-02-18T02:43:16.190Z DEBUG: fundFromFaucet 2023-02-18T02:43:16.191Z DEBUG: protect Address D3C544ZJ6L5K5DFMHDIAKODURZXVJRF6227WDKBA2SAGYR4WVWONJJ2UTU 2023-02-18T02:43:16.192Z DEBUG: transfer fillTxn getting params 2023-02-18T02:43:16.194Z DEBUG: making default provider based on process.env 2023-02-18T02:43:16.197Z DEBUG: makeProviderByEnv {   npm_config_user_agent: 'npm/8.3.1 node/v16.14.0 linux x64 workspaces/false',   NODE_VERSION: '16.14.0',   HOSTNAME: 'e4f1226abe97',   YARN_VERSION: '1.22.17',   npm_node_execpath: '/usr/local/bin/node',   npm_config_noproxy: '',   SHLVL: '1',   HOME: '/root',   npm_package_json: '/app/package.json',   npm_config_userconfig: '/root/.npmrc',   npm_config_local_prefix: '/app',   COLOR: '1',   npm_config_metrics_registry: 'https://registry.npmjs.org/',   ALGO_NODE_WRITE_ONLY: 'no',   REACH_DEBUG: '1',   npm_config_prefix: '/usr/local',   TERM: 'xterm',   npm_config_cache: '/root/.npm',   REACHC_ID: '057416BC8AD1D7452579631693DAA9',   npm_config_node_gyp: '/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',   PATH: '/app/node_modules/.bin:/node_modules/.bin:/usr/local/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',   NODE: '/usr/local/bin/node',   npm_package_name: '@reach-sh/reach',   ALGO_INDEXER_SERVER: 'http://reach-devnet-algo',   REACH_CONNECTOR_MODE: 'ALGO-devnet',   ALGO_SERVER: 'http://reach-devnet-algo',   npm_lifecycle_script: 'node --experimental-modules --unhandled-rejections=strict index.mjs',   npm_lifecycle_event: 'index',   npm_config_globalconfig: '/usr/local/etc/npmrc',   npm_config_init_module: '/root/.npm-init.js',   ALGO_INDEXER_PORT: '8980',   npm_execpath: '/usr/local/lib/node_modules/npm/bin/npm-cli.js',   PWD: '/app',   npm_config_global_prefix: '/usr/local',   ALGO_PORT: '4180',   npm_command: 'run-script',   REACH_GIT_HASH: 'c44a1544',   INIT_CWD: '/app',   EDITOR: 'vi' } 2023-02-18T02:43:16.198Z DEBUG: makeProviderByEnv defaulted {   ALGO_SERVER: 'http://reach-devnet-algo',   ALGO_PORT: '4180',   ALGO_TOKEN_HEADER: 'X-Algo-API-Token',   ALGO_TOKEN: 'c87f5580d7a866317b4bfe9e8b8d1dda955636ccebfa88c12b414db208dd9705',   ALGO_INDEXER_SERVER: 'http://reach-devnet-algo',   ALGO_INDEXER_PORT: '8980',   ALGO_INDEXER_TOKEN_HEADER: 'X-Indexer-API-Token',   ALGO_INDEXER_TOKEN: 'reach-devnet',   REACH_ISOLATED_NETWORK: 'yes',   ALGO_NODE_WRITE_ONLY: 'no' } 2023-02-18T02:43:16.201Z DEBUG: waitPort {   uri: 'http://reach-devnet-algo',   givenPort: '4180',   thePort: '4180',   testPort: 4180 } {   host: 'reach-devnet-algo',   port: 4180,   output: 'silent',   timeout: 60000 } 2023-02-18T02:44:17.300Z DEBUG: waitPort complete 2023-02-18T02:44:17.315Z DEBUG: waitPort {   uri: 'http://reach-devnet-algo',   givenPort: '8980',   thePort: '8980',   testPort: 8980 } {   host: 'reach-devnet-algo',   port: 8980,   output: 'silent',   timeout: 60000 }

I am very much stuck, so any help would be greatly appreciated!

post by fabrice on Feb 20, 2023

Welcome to Algorand!

You may want to also post on Reach Discord: Reach