René's URL Explorer Experiment


Title: Appium-Python issue while connecting to emulater in android studio · Issue #840 · appium/python-client · GitHub

Open Graph Title: Appium-Python issue while connecting to emulater in android studio · Issue #840 · appium/python-client

X Title: Appium-Python issue while connecting to emulater in android studio · Issue #840 · appium/python-client

Description: The problem The problem i'm facing here is im getting the following error [**urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=4723): Max retries exceeded with url: /wd/hub/session (Caused by NewConnectionError(...

Open Graph Description: The problem The problem i'm facing here is im getting the following error [**urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=4723): Max retries exceeded with url: /wd/hu...

X Description: The problem The problem i'm facing here is im getting the following error [**urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=4723): Max retries exceeded with...

Opengraph URL: https://github.com/appium/python-client/issues/840

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Appium-Python issue while connecting to emulater in android studio","articleBody":"## The problem\r\n\r\nThe problem i'm facing here is im getting the following error  [`**urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=4723): Max retries exceeded with url: /wd/hub/session (Caused by NewConnectionError('\u003curllib3.connection.HTTPConnection object at 0x7fd691cf0af0\u003e: Failed to establish a new connection: [Errno 111] Connection refused'))**`]  while connecting appium python code to android emulater device\r\nBriefly describe the issue you are experiencing (or the feature you want to see added to Appium). Tell us what you were trying to do and what happened instead. Remember, this is _not_ a place to ask questions. For that, go to http://discuss.appium.io!\r\n\r\n\r\n## Environment\r\n- windows 11 OS\r\n- Pycharm Professional IDE\r\n- Emulator version Android 11 \r\n- Appium latest app from offical site\r\n\r\n \r\n\r\n## Link to Appium Logs\r\n\r\n\u003e Connected to pydev debugger (build 223.8617.48)\r\n\u003e Traceback (most recent call last):\r\n\u003e   File \"/home/mohanraj/.cache/pypoetry/virtualenvs/mis-automation-L9yvBObc-py3.9/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\r\n\u003e     conn = connection.create_connection(\r\n\u003e   File \"/home/mohanraj/.cache/pypoetry/virtualenvs/mis-automation-L9yvBObc-py3.9/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\r\n\u003e     raise err\r\n\u003e   File \"/home/mohanraj/.cache/pypoetry/virtualenvs/mis-automation-L9yvBObc-py3.9/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\r\n\u003e     sock.connect(sa)\r\n\u003e ConnectionRefusedError: [Errno 111] Connection refused\r\n\u003e \r\n\u003e During handling of the above exception, another exception occurred:\r\n\u003e \r\n\u003e Traceback (most recent call last):\r\n\u003e   File \"/home/mohanraj/.cache/pypoetry/virtualenvs/mis-automation-L9yvBObc-py3.9/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\r\n\u003e     httplib_response = self._make_request(\r\n\u003e   File \"/home/mohanraj/.cache/pypoetry/virtualenvs/mis-automation-L9yvBObc-py3.9/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\r\n\u003e     conn.request(method, url, **httplib_request_kw)\r\n\u003e   File \"/home/mohanraj/.cache/pypoetry/virtualenvs/mis-automation-L9yvBObc-py3.9/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\r\n\u003e     super(HTTPConnection, self).request(method, url, body=body, headers=headers)\r\n\u003e   File \"/home/mohanraj/.pyenv/versions/3.9.16/lib/python3.9/http/client.py\", line 1285, in request\r\n\u003e     self._send_request(method, url, body, headers, encode_chunked)\r\n\u003e   File \"/home/mohanraj/.pyenv/versions/3.9.16/lib/python3.9/http/client.py\", line 1331, in _send_request\r\n\u003e     self.endheaders(body, encode_chunked=encode_chunked)\r\n\u003e   File \"/home/mohanraj/.pyenv/versions/3.9.16/lib/python3.9/http/client.py\", line 1280, in endheaders\r\n\u003e     self._send_output(message_body, encode_chunked=encode_chunked)\r\n\u003e   File \"/home/mohanraj/.pyenv/versions/3.9.16/lib/python3.9/http/client.py\", line 1040, in _send_output\r\n\u003e     self.send(msg)\r\n\u003e   File \"/home/mohanraj/.pyenv/versions/3.9.16/lib/python3.9/http/client.py\", line 980, in send\r\n\u003e     self.connect()\r\n\u003e   File \"/home/mohanraj/.cache/pypoetry/virtualenvs/mis-automation-L9yvBObc-py3.9/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\r\n\u003e     conn = self._new_conn()\r\n\u003e   File \"/home/mohanraj/.cache/pypoetry/virtualenvs/mis-automation-L9yvBObc-py3.9/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\r\n\u003e     raise NewConnectionError(\r\n\u003e urllib3.exceptions.NewConnectionError: \u003curllib3.connection.HTTPConnection object at 0x7fd691cf0af0\u003e: Failed to establish a new connection: [Errno 111] Connection refused\r\n\u003e \r\n\u003e During handling of the above exception, another exception occurred:\r\n\u003e \r\n\u003e Traceback (most recent call last):\r\n\u003e   File \"/home/mohanraj/.cache/pypoetry/virtualenvs/mis-automation-L9yvBObc-py3.9/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 787, in urlopen\r\n\u003e     retries = retries.increment(\r\n\u003e   File \"/home/mohanraj/.cache/pypoetry/virtualenvs/mis-automation-L9yvBObc-py3.9/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\r\n\u003e     raise MaxRetryError(_pool, url, error or ResponseError(cause))\r\n\u003e urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=4723): Max retries exceeded with url: /wd/hub/session (Caused by NewConnectionError('\u003curllib3.connection.HTTPConnection object at 0x7fd691cf0af0\u003e: Failed to establish a new connection: [Errno 111] Connection refused'))\r\n\u003e python-BaseException\r\n\u003e \r\n\u003e Process finished with exit code 1\r\n\r\n\r\n## Code To reproduce issue\r\n`from time import sleep\r\n\r\nfrom appium import webdriver\r\nfrom appium.webdriver.common.appiumby import AppiumBy\r\n\r\ndesired_caps = {\r\n    \"deviceName\": \"Pixel 4a API 30\",\r\n    \"platformName\": \"Android\",\r\n    \"udid\": \"emulator-5554\",\r\n    \"version\": 11,\r\n    \"app\": \"C:\\\\Users\\\\lenovo\\\\Downloads\\\\com.indigo.new.apk\"\r\n}\r\n\r\ndriver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', desired_caps)`\r\n","author":{"url":"https://github.com/mohanrajreese","@type":"Person","name":"mohanrajreese"},"datePublished":"2023-03-10T12:29:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/840/python-client/issues/840"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:35e5b57b-6208-ea49-72a8-05b3ab07b858
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB916:2E8FB4:8AF6A58:BD1F9A7:6A5E8819
html-safe-noncee16fa2927d230c042df608944a086abd9225d0c959aee1170730268ca035f219
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTE2OjJFOEZCNDo4QUY2QTU4OkJEMUY5QTc6NkE1RTg4MTkiLCJ2aXNpdG9yX2lkIjoiMjQ0MjQxNjI3ODMzMzM3ODgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6a92ed4bf26d6960f76876888e9879b6b977258431280c29e0983db9fdb308fb
hovercard-subject-tagissue:1618904038
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/appium/python-client/840/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4f4a2f14f14098824bb4b3f8500372e3d5fc1217504706ef047cd50acb9eadb1/appium/python-client/issues/840
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4f4a2f14f14098824bb4b3f8500372e3d5fc1217504706ef047cd50acb9eadb1/appium/python-client/issues/840
og:image:altThe problem The problem i'm facing here is im getting the following error [**urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=4723): Max retries exceeded with url: /wd/hu...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemohanrajreese
hostnamegithub.com
expected-hostnamegithub.com
Nonee0c30ec4bc4cc128be7eee7ef869507723a2ac9916267b7e0d370b3580a5e7ba
turbo-cache-controlno-preview
go-importgithub.com/appium/python-client git https://github.com/appium/python-client.git
octolytics-dimension-user_id3221291
octolytics-dimension-user_loginappium
octolytics-dimension-repository_id18525395
octolytics-dimension-repository_nwoappium/python-client
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id18525395
octolytics-dimension-repository_network_root_nwoappium/python-client
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release68ef39d284f7f48d37e751bc9bc0a9a4166228d5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/appium/python-client/issues/840#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fappium%2Fpython-client%2Fissues%2F840
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fappium%2Fpython-client%2Fissues%2F840
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=appium%2Fpython-client
Reloadhttps://github.com/appium/python-client/issues/840
Reloadhttps://github.com/appium/python-client/issues/840
Reloadhttps://github.com/appium/python-client/issues/840
Please reload this pagehttps://github.com/appium/python-client/issues/840
appium https://github.com/appium
python-clienthttps://github.com/appium/python-client
Notifications https://github.com/login?return_to=%2Fappium%2Fpython-client
Fork 570 https://github.com/login?return_to=%2Fappium%2Fpython-client
Star 1.8k https://github.com/login?return_to=%2Fappium%2Fpython-client
Code https://github.com/appium/python-client
Issues 24 https://github.com/appium/python-client/issues
Pull requests 9 https://github.com/appium/python-client/pulls
Actions https://github.com/appium/python-client/actions
Wiki https://github.com/appium/python-client/wiki
Security and quality 0 https://github.com/appium/python-client/security
Insights https://github.com/appium/python-client/pulse
Code https://github.com/appium/python-client
Issues https://github.com/appium/python-client/issues
Pull requests https://github.com/appium/python-client/pulls
Actions https://github.com/appium/python-client/actions
Wiki https://github.com/appium/python-client/wiki
Security and quality https://github.com/appium/python-client/security
Insights https://github.com/appium/python-client/pulse
Appium-Python issue while connecting to emulater in android studiohttps://github.com/appium/python-client/issues/840#top
https://github.com/mohanrajreese
mohanrajreesehttps://github.com/mohanrajreese
on Mar 10, 2023https://github.com/appium/python-client/issues/840#issue-1618904038
http://discuss.appium.iohttp://discuss.appium.io
http://127.0.0.1:4723/wd/hubhttp://127.0.0.1:4723/wd/hub
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.