{"action":"created","issue":{"url":"https://api.github.com/repos/aerokube/selenoid/issues/374","repository_url":"https://api.github.com/repos/aerokube/selenoid","labels_url":"https://api.github.com/repos/aerokube/selenoid/issues/374/labels{/name}","comments_url":"https://api.github.com/repos/aerokube/selenoid/issues/374/comments","events_url":"https://api.github.com/repos/aerokube/selenoid/issues/374/events","html_url":"https://github.com/aerokube/selenoid/issues/374","id":305851126,"number":374,"title":"Failed to create secure directory (/home/selenium/.config/pulse): Permission denied","user":{"login":"ash0080","id":2803210,"avatar_url":"https://avatars1.githubusercontent.com/u/2803210?v=4","gravatar_id":"","url":"https://api.github.com/users/ash0080","html_url":"https://github.com/ash0080","followers_url":"https://api.github.com/users/ash0080/followers","following_url":"https://api.github.com/users/ash0080/following{/other_user}","gists_url":"https://api.github.com/users/ash0080/gists{/gist_id}","starred_url":"https://api.github.com/users/ash0080/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ash0080/subscriptions","organizations_url":"https://api.github.com/users/ash0080/orgs","repos_url":"https://api.github.com/users/ash0080/repos","events_url":"https://api.github.com/users/ash0080/events{/privacy}","received_events_url":"https://api.github.com/users/ash0080/received_events","type":"User","site_admin":false},"labels":[{"id":428755736,"url":"https://api.github.com/repos/aerokube/selenoid/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-16T09:11:08Z","updated_at":"2018-03-17T11:51:09Z","closed_at":null,"author_association":"NONE","body":"```\r\n2018-03-16T09:05:45.622612898Z 1521191145622\tMarionette\tDEBUG\tReceived DOM event \"DOMContentLoaded\" for \"http://chn.lottedfs.com/kr/product/productDetail?prdNo=10001903970\"\r\n2018-03-16T09:07:11.658001489Z 2018/03/16 17:07:11 http: proxy error: context canceled\r\n2018-03-16T09:07:13.489359165Z 2018/03/16 17:07:13 http: proxy error: context canceled\r\n2018-03-16T09:07:20.721212198Z 1521191240721\tMarionette\tDEBUG\tReceived DOM event \"pageshow\" for \"http://chn.lottedfs.com/kr/product/productDetail?prdNo=10001903970\"\r\n2018-03-16T09:07:20.725788412Z 1521191240725\twebdriver::server\tDEBUG\t<- 200 OK {\"value\": {}}\r\n2018-03-16T09:07:20.731031964Z 1521191240728\twebdriver::server\tDEBUG\t-> POST /session/1465d5e7-8df5-42ad-b23e-83503e18ed8c/elements {\"using\":\"css selector\",\"value\":\".buyBtn\"}\r\n2018-03-16T09:07:20.762559770Z 1521191240762\twebdriver::server\tDEBUG\t<- 200 OK {\"value\":[{\"element-6066-11e4-a52e-4f735466cecf\":\"647930ce-bfa4-40e4-961f-10aaff4d4b61\"}]}\r\n2018-03-16T09:07:20.767192991Z 1521191240765\twebdriver::server\tDEBUG\t-> POST /session/1465d5e7-8df5-42ad-b23e-83503e18ed8c/url {\"url\":\"http://chn.lottedfs.com/kr/product/productDetail?prdNo=10002323760\"}\r\n2018-03-16T09:07:20.777808416Z 1521191240777\tMarionette\tDEBUG\tReceived DOM event \"beforeunload\" for \"http://chn.lottedfs.com/kr/product/productDetail?prdNo=10001903970\"\r\n2018-03-16T09:07:21.682966574Z 1521191241682\tMarionette\tDEBUG\tReceived DOM event \"pagehide\" for \"http://chn.lottedfs.com/kr/product/productDetail?prdNo=10001903970\"\r\n2018-03-16T09:07:21.688238320Z 1521191241688\tMarionette\tDEBUG\tReceived DOM event \"unload\" for \"http://chn.lottedfs.com/kr/product/productDetail?prdNo=10001903970\"\r\n2018-03-16T09:07:22.432351279Z Failed to create secure directory (/home/selenium/.config/pulse): Permission denied\r\n2018-03-16T09:07:22.455430804Z fork(): Operation not permitted\r\n2018-03-16T09:07:22.487724354Z Failed to create secure directory (/home/selenium/.config/pulse): Permission denied\r\n2018-03-16T09:07:22.487753847Z fork(): Operation not permitted\r\n2018-03-16T09:07:22.487757520Z Failed to create secure directory (/home/selenium/.config/pulse): Permission denied\r\n2018-03-16T09:07:22.487760597Z fork(): Operation not permitted\r\n```\r\n\r\nrun multiple browser instances will logs this error, \r\nonly the first docker container will not logs error,\r\n\r\nfor example \r\n```\r\nCONTAINER ID        IMAGE                         COMMAND                  CREATED             STATUS              PORTS                    NAMES\r\n2ea10865c3b9        selenoid/firefox:58.0         \"/bin/sh -c /entrypo…\"   9 seconds ago       Up 8 seconds        4444/tcp                 focused_boyd\r\n5ba5dc05050f        selenoid/firefox:58.0         \"/bin/sh -c /entrypo…\"   9 seconds ago       Up 8 seconds        4444/tcp                 vigorous_mccarthy\r\n74cbf68aa4c1        aerokube/selenoid:1.5.2       \"/usr/bin/selenoid -…\"   43 minutes ago      Up 43 minutes       0.0.0.0:4445->4444/tcp   selenoid\r\nc97843a0f61b        aerokube/selenoid-ui:v1.5.6   \"/selenoid-ui --sele…\"   About an hour ago   Up About an hour    0.0.0.0:8080->8080/tcp   selenoid-ui\r\n```\r\n\r\none firefox with error, one not \r\nthis permission error will trigger timeout error quite possibly."},"comment":{"url":"https://api.github.com/repos/aerokube/selenoid/issues/comments/373914288","html_url":"https://github.com/aerokube/selenoid/issues/374#issuecomment-373914288","issue_url":"https://api.github.com/repos/aerokube/selenoid/issues/374","id":373914288,"user":{"login":"ash0080","id":2803210,"avatar_url":"https://avatars1.githubusercontent.com/u/2803210?v=4","gravatar_id":"","url":"https://api.github.com/users/ash0080","html_url":"https://github.com/ash0080","followers_url":"https://api.github.com/users/ash0080/followers","following_url":"https://api.github.com/users/ash0080/following{/other_user}","gists_url":"https://api.github.com/users/ash0080/gists{/gist_id}","starred_url":"https://api.github.com/users/ash0080/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ash0080/subscriptions","organizations_url":"https://api.github.com/users/ash0080/orgs","repos_url":"https://api.github.com/users/ash0080/repos","events_url":"https://api.github.com/users/ash0080/events{/privacy}","received_events_url":"https://api.github.com/users/ash0080/received_events","type":"User","site_admin":false},"created_at":"2018-03-17T11:51:09Z","updated_at":"2018-03-17T11:51:09Z","author_association":"NONE","body":"ubuntu 16.04 64bit / 1 core vps\r\n```\r\n./cm selenoid configure --browsers firefox --last-versions 1 --tmpfs 128 \\\r\n&& ./cm selenoid start --port 4445 --args \"-limit 2 -service-startup-timeout 60s -session-attempt-timeout 60s -session-delete-timeout 30s -timeout 120s\"\r\n```\r\n\r\n```\r\nconst CONFIG = require('../globle_config')\r\nconst webdriverio = require('webdriverio')\r\nconst options = {\r\n  host: '',\r\n  port: 4445,\r\n  connectionRetryCount: Number.MAX_VALUE,\r\n  sync: false,\r\n  debug: true,\r\n  desiredCapabilities: {\r\n    browserName: 'firefox',\r\n    // 'moz:firefoxOptions': {\r\n    //   'args': ['-headless']\r\n    // },\r\n    maxInstances: 2,\r\n    version: '58.0',\r\n    unexpectedAlertBehaviour: 'accept'\r\n  }\r\n}\r\n\r\nmodule.exports = webdriverio.remote(options)\r\n```"}}
{"actor":{"display_login":"ash0080"}}