Mattermost, Inc.

Mattermost server started but curl says unable to connect

Hi all,

I’ve having trouble connecting to mattermost server which has been started and seems to be working fine. When I tried curl http://localhost:8065, I got this message “We’re having trouble connecting to Mattermost. If refreshing this page (Ctrl+R or Command+R) does not work, please verify that your computer is connected to the internet.”

I’ve enabled file log level (in System Console > General > Logging) to DEBUG and below is the latest output:

Log Output

[2019/11/25 11:55:10 EST] [INFO] Server is initializing…
[2019/11/25 11:55:10 EST] [DEBG] Parsing server templates at …
[2019/11/25 11:55:10 EST] [INFO] Pinging SQL master database
[2019/11/25 11:55:10 EST] [DEBG] Deleting any unused pre-release features
[2019/11/25 11:55:10 EST] [DEBG] Initializing built-in plugin: ldapextras
[2019/11/25 11:55:11 EST] [INFO] Current version is 4.7.1 (4.7.1/Mon Feb 19 15:47:47 UTC 2018/a9d4c7d4c1f6398bebba732d07108fe30ddd6319/42b62ef617de4bbd4f58b33003c6ebd8dbf245fe)
[2019/11/25 11:55:11 EST] [INFO] Enterprise Enabled: true
[2019/11/25 11:55:11 EST] [INFO] Current working directory is …
[2019/11/25 11:55:11 EST] [INFO] Loaded config file from …
[2019/11/25 11:55:11 EST] [INFO] Able to write files to local storage.
[2019/11/25 11:55:11 EST] [DEBG] We could not find the license key in the database or on disk at …
[2019/11/25 11:55:11 EST] [INFO] License key from https://mattermost.com required to unlock enterprise features.
[2019/11/25 11:55:11 EST] [INFO] Starting up plugins
[2019/11/25 11:55:11 EST] [EROR] failed to start up plugins: mkdir ./client/plugins: no such file or directory
[2019/11/25 11:55:11 EST] [INFO] Starting Server…
[2019/11/25 11:55:11 EST] [INFO] Server is listening on [::]:8065
[2019/11/25 11:55:11 EST] [DEBG] EXPERIMENTAL: Initializing plugin api
[2019/11/25 11:55:11 EST] [DEBG] Email batching job starting. Checking for pending emails every 30 seconds.
[2019/11/25 11:55:11 EST] [INFO] API version 3 is scheduled for deprecation. Please see https://api.mattermost.com for details.
[2019/11/25 11:55:11 EST] [INFO] Starting 160 websocket hubs
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 0 is starting with goroutine 2467
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 1 is starting with goroutine 2468
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 2 is starting with goroutine 2469
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 3 is starting with goroutine 2470
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 4 is starting with goroutine 2471
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 5 is starting with goroutine 2472
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 6 is starting with goroutine 2473
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 7 is starting with goroutine 2474
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 8 is starting with goroutine 2475
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 9 is starting with goroutine 2476
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 10 is starting with goroutine 2477
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 11 is starting with goroutine 2478
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 12 is starting with goroutine 2479
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 13 is starting with goroutine 2480
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 14 is starting with goroutine 2481
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 15 is starting with goroutine 2482
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 16 is starting with goroutine 2483
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 17 is starting with goroutine 2484
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 18 is starting with goroutine 2485
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 19 is starting with goroutine 2486
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 20 is starting with goroutine 2487
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 21 is starting with goroutine 2488
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 22 is starting with goroutine 2489
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 23 is starting with goroutine 2490
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 24 is starting with goroutine 2491
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 25 is starting with goroutine 2492
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 26 is starting with goroutine 2493
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 27 is starting with goroutine 2494
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 28 is starting with goroutine 2495
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 29 is starting with goroutine 2496
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 30 is starting with goroutine 2497
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 31 is starting with goroutine 2498
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 32 is starting with goroutine 2499
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 33 is starting with goroutine 2500
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 34 is starting with goroutine 2501
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 35 is starting with goroutine 2502
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 36 is starting with goroutine 2503
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 37 is starting with goroutine 2504
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 38 is starting with goroutine 2505
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 39 is starting with goroutine 2506
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 40 is starting with goroutine 2507
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 41 is starting with goroutine 2508
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 42 is starting with goroutine 2509
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 43 is starting with goroutine 2510
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 44 is starting with goroutine 2511
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 45 is starting with goroutine 2512
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 46 is starting with goroutine 2513
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 47 is starting with goroutine 2514
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 48 is starting with goroutine 2515
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 49 is starting with goroutine 2516
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 50 is starting with goroutine 2517
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 51 is starting with goroutine 2518
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 52 is starting with goroutine 2519
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 53 is starting with goroutine 2520
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 54 is starting with goroutine 2521
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 55 is starting with goroutine 2522
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 56 is starting with goroutine 2523
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 57 is starting with goroutine 2524
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 58 is starting with goroutine 2525
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 59 is starting with goroutine 2526
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 60 is starting with goroutine 2527
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 61 is starting with goroutine 2528
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 62 is starting with goroutine 2530
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 63 is starting with goroutine 2531
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 64 is starting with goroutine 2546
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 65 is starting with goroutine 2547
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 66 is starting with goroutine 2548
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 67 is starting with goroutine 2549
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 68 is starting with goroutine 2462
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 69 is starting with goroutine 2463
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 70 is starting with goroutine 2464
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 71 is starting with goroutine 2465
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 72 is starting with goroutine 2562
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 73 is starting with goroutine 2563
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 74 is starting with goroutine 2564
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 75 is starting with goroutine 2565
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 76 is starting with goroutine 2566
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 77 is starting with goroutine 2567
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 78 is starting with goroutine 2568
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 79 is starting with goroutine 2569
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 80 is starting with goroutine 2570
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 81 is starting with goroutine 2571
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 82 is starting with goroutine 2572
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 83 is starting with goroutine 2573
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 84 is starting with goroutine 2574
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 85 is starting with goroutine 2575
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 86 is starting with goroutine 2576
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 87 is starting with goroutine 2577
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 88 is starting with goroutine 2578
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 89 is starting with goroutine 2579
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 90 is starting with goroutine 2580
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 91 is starting with goroutine 2581
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 92 is starting with goroutine 2582
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 93 is starting with goroutine 2583
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 94 is starting with goroutine 2584
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 95 is starting with goroutine 2585
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 96 is starting with goroutine 2586
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 97 is starting with goroutine 2587
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 98 is starting with goroutine 2588
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 99 is starting with goroutine 2589
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 100 is starting with goroutine 2590
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 101 is starting with goroutine 2591
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 102 is starting with goroutine 2592
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 103 is starting with goroutine 2593
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 104 is starting with goroutine 2594
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 105 is starting with goroutine 2595
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 106 is starting with goroutine 2596
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 107 is starting with goroutine 2597
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 108 is starting with goroutine 2598
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 109 is starting with goroutine 2599
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 110 is starting with goroutine 2600
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 111 is starting with goroutine 2601
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 112 is starting with goroutine 2602
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 113 is starting with goroutine 2603
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 114 is starting with goroutine 2604
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 115 is starting with goroutine 2605
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 116 is starting with goroutine 2606
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 117 is starting with goroutine 2607
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 118 is starting with goroutine 2608
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 119 is starting with goroutine 2609
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 120 is starting with goroutine 2610
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 121 is starting with goroutine 2611
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 122 is starting with goroutine 2612
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 123 is starting with goroutine 2613
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 124 is starting with goroutine 2614
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 125 is starting with goroutine 2615
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 126 is starting with goroutine 2616
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 127 is starting with goroutine 2617
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 128 is starting with goroutine 2618
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 129 is starting with goroutine 2619
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 130 is starting with goroutine 2620
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 131 is starting with goroutine 2621
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 132 is starting with goroutine 2622
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 133 is starting with goroutine 2623
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 134 is starting with goroutine 2624
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 135 is starting with goroutine 2625
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 136 is starting with goroutine 2626
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 137 is starting with goroutine 2627
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 138 is starting with goroutine 2628
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 139 is starting with goroutine 2629
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 140 is starting with goroutine 2630
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 141 is starting with goroutine 2631
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 142 is starting with goroutine 2632
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 143 is starting with goroutine 2633
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 144 is starting with goroutine 2634
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 145 is starting with goroutine 2635
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 146 is starting with goroutine 2636
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 147 is starting with goroutine 2637
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 148 is starting with goroutine 2638
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 149 is starting with goroutine 2639
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 150 is starting with goroutine 2640
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 151 is starting with goroutine 2641
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 152 is starting with goroutine 2642
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 153 is starting with goroutine 2643
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 154 is starting with goroutine 2644
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 155 is starting with goroutine 2645
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 156 is starting with goroutine 2646
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 157 is starting with goroutine 2647
[2019/11/25 11:55:11 EST] [DEBG] Initializing web routes
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 158 is starting with goroutine 2648
[2019/11/25 11:55:11 EST] [DEBG] Using client directory at …
[2019/11/25 11:55:11 EST] [DEBG] Hub for index 159 is starting with goroutine 2649
[2019/11/25 11:55:11 EST] [INFO] Starting up plugins
[2019/11/25 11:55:11 EST] [EROR] failed to start up plugins: mkdir ./client/plugins: no such file or directory
[2019/11/25 11:55:11 EST] [INFO] Starting up plugins
[2019/11/25 11:55:11 EST] [EROR] failed to start up plugins: mkdir ./client/plugins: no such file or directory
[2019/11/25 11:55:11 EST] [INFO] Starting workers
[2019/11/25 11:55:11 EST] [DEBG] Cleaning up token store.
[2019/11/25 11:55:11 EST] [DEBG] Initialising schedulers.
[2019/11/25 11:55:11 EST] [DEBG] Cleaning up session store.
[2019/11/25 11:55:11 EST] [DEBG] Cleaning up command webhook store.
[2019/11/25 11:55:11 EST] [INFO] Starting schedulers.
[2019/11/25 11:55:11 EST] [DEBG] Watcher Started

We’ve been using mattermost for almost a year and have never seen this issue before.
We’re running mattermost 4.7.1 on Ubuntu 16.04.6 LTS.

Any help is much appreciated!

@kmzaq Would you be open to upgrading to one of the latest versions (our latest version is v5.17) https://docs.mattermost.com/administration/changelog.html?

Thank you for the suggestion. I finished the upgrading steps found here. I’m running mattermost version 5.17.0 and I have the same problem as before.
Mattermost service is running but curl returns the same “We’re having trouble connecting to Mattermost. If refreshing this page (Ctrl+R or Command+R) does not work, please verify that your computer is connected to the internet.” message.

Wondering if these previous threads may help:

1 Like