# Geckodriver error while installing dependency for Kibana

**URL:** <https://discuss.elastic.co/t/geckodriver-error-while-installing-dependency-for-kibana/212134>\
**Category:** Kibana\
**Created:** [December 17, 2019, 10:01am UTC](https://discuss.elastic.co/t/geckodriver-error-while-installing-dependency-for-kibana/212134 "2019-12-17T10:01:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saroj\_Shrestha1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saroj_shrestha1/32/45343_2.png) [@Saroj\_Shrestha1](https://discuss.elastic.co/u/Saroj_Shrestha1)\
**Post date:** [December 17, 2019, 10:01am UTC](https://discuss.elastic.co/t/geckodriver-error-while-installing-dependency-for-kibana/212134/1 "2019-12-17T10:01:15Z")

</div>

Hey guys,  
I'm having problem where geckodriver throws an error while installing dependency for Kibana.

My current environment is as follows:  
Kibana Version : 7.2.0  
Node version: 10.15.2  
npm version: 5.8.2  
yarn version: 1.21.1

To install dependency my using `yarn kbn bootstrap`.  
Currently I'm getting this errors.

```auto
error /home/user/node_modules/geckodriver: Command failed.
Exit code: 1
Command: node index.js
Arguments: 
Directory: /home/user/node_modules/geckodriver
Output:
Downloading geckodriver... Extracting... 
events.js:174
      throw er; // Unhandled 'error' event
      ^
HTTPError: Response code 403 (Forbidden)
    at EventEmitter.<anonymous> (/home/user/node_modules/geckodriver/node_modules/got/index.js:192:24)
    at EventEmitter.emit (events.js:189:13)
    at Immediate.<anonymous> (/home/user/node_modules/geckodriver/node_modules/got/index.js:58:8)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
Emitted 'error' event at:
    at EventEmitter.<anonymous> (/home/user/node_modules/geckodriver/node_modules/got/index.js:192:10)

[bootstrap] failed:

Error: Command failed: yarn install --non-interactive
    at makeError (/home/user/packages/kbn-pm/dist/index.js:13876:9)
    at Promise.all.then.arr (/home/user/packages/kbn-pm/dist/index.js:13980:16)
    at process._tickCallback (internal/process/next_tick.js:68:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

```

Things that i have tried.

1. cleaning the node\_modules ` yarn kbn clean` and reinstalling the dependency with ` yarn kbn bootstrap`

---

<div class="post-metadata">

**Author:** ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)\
**Post date:** [December 17, 2019, 7:30pm UTC](https://discuss.elastic.co/t/geckodriver-error-while-installing-dependency-for-kibana/212134/2 "2019-12-17T19:30:34Z")

</div>

It looks like Yarn is getting a 403 trying to download the resource. Is your machine behind a proxy or firewall that might be blocking requests like this?

---

<div class="post-metadata">

**Author:** ![Saroj\_Shrestha1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saroj_shrestha1/32/45343_2.png) [@Saroj\_Shrestha1](https://discuss.elastic.co/u/Saroj_Shrestha1)\
**Post date:** [December 18, 2019, 7:46am UTC](https://discuss.elastic.co/t/geckodriver-error-while-installing-dependency-for-kibana/212134/3 "2019-12-18T07:46:29Z")

</div>

Yes my machine is behind a firewall. But as far as i'm aware, firewall isn't blocking anything, but will analyse the firewall logs.  
Is there a way to get more verbose information about the error, like url or Ip that yarn is trying to request it from ?

---

<div class="post-metadata">

**Author:** ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)\
**Post date:** [December 18, 2019, 4:43pm UTC](https://discuss.elastic.co/t/geckodriver-error-while-installing-dependency-for-kibana/212134/4 "2019-12-18T16:43:43Z")

</div>

You could try `yarn install --verbose`

---

<div class="post-metadata">

**Author:** ![Saroj\_Shrestha1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saroj_shrestha1/32/45343_2.png) [@Saroj\_Shrestha1](https://discuss.elastic.co/u/Saroj_Shrestha1)\
**Post date:** [December 25, 2019, 9:15am UTC](https://discuss.elastic.co/t/geckodriver-error-while-installing-dependency-for-kibana/212134/5 "2019-12-25T09:15:24Z")

</div>

Well after trying few things i found that my firewall was indeed blocking the traffic and changed the firewall rules.

Any ways thanks for help and Happy Holidays.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 22, 2020, 9:19am UTC](https://discuss.elastic.co/t/geckodriver-error-while-installing-dependency-for-kibana/212134/6 "2020-01-22T09:19:03Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
