René's URL Explorer Experiment


Title: Runtime.ExitError AttributeError: 'NoneType' object has no attribute 'next' · Issue #22 · aws/aws-lambda-python-runtime-interface-client · GitHub

Open Graph Title: Runtime.ExitError AttributeError: 'NoneType' object has no attribute 'next' · Issue #22 · aws/aws-lambda-python-runtime-interface-client

X Title: Runtime.ExitError AttributeError: 'NoneType' object has no attribute 'next' · Issue #22 · aws/aws-lambda-python-runtime-interface-client

Description: This is happening to me with the python:3.9-alpine3.12 base image. Here is the Dockerfile: ARG build_info="head@now" ARG build_env="development" FROM python:3.9-alpine3.12 AS base ARG build_info ARG build_env ENV PYTHONPATH=/function ENV...

Open Graph Description: This is happening to me with the python:3.9-alpine3.12 base image. Here is the Dockerfile: ARG build_info="head@now" ARG build_env="development" FROM python:3.9-alpine3.12 AS base ARG build_info AR...

X Description: This is happening to me with the python:3.9-alpine3.12 base image. Here is the Dockerfile: ARG build_info="head@now" ARG build_env="development" FROM python:3.9-alpine3.12 AS ba...

Opengraph URL: https://github.com/aws/aws-lambda-python-runtime-interface-client/issues/22

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Runtime.ExitError AttributeError: 'NoneType' object has no attribute 'next'","articleBody":"This is happening to me with the `python:3.9-alpine3.12` base image. Here is the Dockerfile:\r\n\r\n```Dockerfile\r\nARG build_info=\"head@now\"\r\nARG build_env=\"development\"\r\n\r\nFROM python:3.9-alpine3.12 AS base\r\n\r\nARG build_info\r\nARG build_env\r\n\r\nENV PYTHONPATH=/function\r\nENV BUILD_INFO=${build_info}\r\n\r\nWORKDIR /function\r\nCOPY . /function\r\n\r\nRUN apk add --no-cache --virtual .build-deps \\\r\n    autoconf \\\r\n    automake \\\r\n    build-base \\\r\n    cmake \\\r\n    libcurl \\\r\n    libexecinfo-dev \\\r\n    libstdc++ \\\r\n    libtool \\\r\n    make \\\r\n    postgresql-dev \\\r\n    python3-dev \\\r\n    \u0026\u0026 pip install --no-cache-dir -e . \\\r\n    \u0026\u0026 apk del --no-cache .build-deps\r\n\r\nFROM base AS build-production\r\nRUN echo \" -\u003e Building production image\"\r\n\r\nFROM base AS build-development\r\nRUN echo \" -\u003e Building development image\" \\\r\n    \u0026\u0026 apk add --no-cache \\\r\n    bash \\\r\n    vim \\\r\n    iputils \\\r\n    \u0026\u0026 pip3 install --no-cache-dir -e .[debug,testing]\r\n\r\nENV PS1=\"someapp\u003e \"\r\nENV PYTHONBREAKPOINT=ipdb.set_trace\r\n\r\nFROM build-${build_env} AS final\r\n\r\nADD https://github.com/aws/aws-lambda-runtime-interface-emulator/releases/latest/download/aws-lambda-rie /usr/bin/aws-lambda-rie\r\nCOPY entry.sh /\r\nRUN chmod 755 /usr/bin/aws-lambda-rie /entry.sh\r\nENTRYPOINT [ \"/entry.sh\" ]\r\nCMD [ \"fieldeye.handler\" ]\r\n```\r\n\r\nHere's the `entry.sh`: \r\n\r\n```bash\r\n#!/bin/sh\r\n\r\nif [ -z \"${AWS_LAMBDA_RUNTIME_API}\" ]; then\r\n    exec /usr/bin/aws-lambda-rie /usr/local/bin/python -m awslambdaric $1\r\nelse\r\n    exec /usr/local/bin/python -m awslambdaric $1\r\nfi\r\n```\r\n\r\nand here's the error:\r\n\r\n```\r\ntime=\"2021-02-19T00:09:20.268\" level=info msg=\"exec '/usr/local/bin/python' (cwd=/function, handler=someapp.handler)\"\r\ntime=\"2021-02-19T00:09:26.44\" level=info msg=\"extensionsDisabledByLayer(/opt/disable-extensions-jwigqn8j) -\u003e stat /opt/disable-extensions-jwigqn8j: no such file or directory\"\r\nSTART RequestId: 724c1d85-78fc-4424-800e-c745e8bd51a1 Version: $LATEST\r\ntime=\"2021-02-19T00:09:26.441\" level=warning msg=\"Cannot list external agents\" error=\"open /opt/extensions: no such file or directory\"\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.9/runpy.py\", line 197, in _run_module_as_main\r\n    return _run_code(code, main_globals, None,\r\n  File \"/usr/local/lib/python3.9/runpy.py\", line 87, in _run_code\r\n    exec(code, run_globals)\r\n  File \"/usr/local/lib/python3.9/site-packages/awslambdaric/__main__.py\", line 21, in \u003cmodule\u003e\r\n    main(sys.argv)\r\n  File \"/usr/local/lib/python3.9/site-packages/awslambdaric/__main__.py\", line 17, in main\r\n    bootstrap.run(app_root, handler, lambda_runtime_api_addr)\r\n  File \"/usr/local/lib/python3.9/site-packages/awslambdaric/bootstrap.py\", line 416, in run\r\n    event_request = lambda_runtime_client.wait_next_invocation()\r\n  File \"/usr/local/lib/python3.9/site-packages/awslambdaric/lambda_runtime_client.py\", line 76, in wait_next_invocation\r\n    response_body, headers = runtime_client.next()\r\nAttributeError: 'NoneType' object has no attribute 'next'\r\nExecuting 'someapp.handler' in function directory '/function'\r\ntime=\"2021-02-19T00:09:26.604\" level=warning msg=\"First fatal error stored in appctx: Runtime.ExitError\"\r\ntime=\"2021-02-19T00:09:26.604\" level=warning msg=\"Process 13(python) exited: Runtime exited with error: exit status 1\"\r\ntime=\"2021-02-19T00:09:26.604\" level=error msg=\"Init failed\" InvokeID= error=\"Runtime exited with error: exit status 1\"\r\ntime=\"2021-02-19T00:09:26.604\" level=warning msg=\"Failed to send default error response: ErrInvalidInvokeID\"\r\ntime=\"2021-02-19T00:09:26.604\" level=error msg=\"INIT DONE failed: Runtime.ExitError\"\r\ntime=\"2021-02-19T00:09:26.604\" level=warning msg=\"Reset initiated: ReserveFail\"\r\n\r\n```\r\n\r\nJust to make sure, I ran `docker exec -it mycontainer /bin/bash` and typed `/usr/local/bin/python --version`, the response was `Python 3.9.1`","author":{"url":"https://github.com/synic","@type":"Person","name":"synic"},"datePublished":"2021-02-19T00:12:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/22/aws-lambda-python-runtime-interface-client/issues/22"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:616cbe59-608c-167d-7bb3-d2c84535c394
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAFAE:7EDCF:8D6B3C:C3046B:6A63AA8E
html-safe-nonce2afc65fe581bd491ee61f1646eab64955cd7a3f7f28ca70c5b663c8fb34856f3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkFFOjdFRENGOjhENkIzQzpDMzA0NkI6NkE2M0FBOEUiLCJ2aXNpdG9yX2lkIjoiMTkxNzg5Mjk3NzUyMTU2ODM5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9c7844535871c3c7bd30e9da391f17406af528f2c40863e50e9cdbe6a90fbc24
hovercard-subject-tagissue:811572742
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/aws/aws-lambda-python-runtime-interface-client/22/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ac3e5b8055e1d3e2161439c4ab710381adc99c2699575e7ec1da5995f0279f6c/aws/aws-lambda-python-runtime-interface-client/issues/22
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ac3e5b8055e1d3e2161439c4ab710381adc99c2699575e7ec1da5995f0279f6c/aws/aws-lambda-python-runtime-interface-client/issues/22
og:image:altThis is happening to me with the python:3.9-alpine3.12 base image. Here is the Dockerfile: ARG build_info="head@now" ARG build_env="development" FROM python:3.9-alpine3.12 AS base ARG build_info AR...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesynic
hostnamegithub.com
expected-hostnamegithub.com
None4ca676e17c4da4532dc68541e9fc874034ae840c26b5f34da7f1c42d9a600659
turbo-cache-controlno-preview
go-importgithub.com/aws/aws-lambda-python-runtime-interface-client git https://github.com/aws/aws-lambda-python-runtime-interface-client.git
octolytics-dimension-user_id2232217
octolytics-dimension-user_loginaws
octolytics-dimension-repository_id292411453
octolytics-dimension-repository_nwoaws/aws-lambda-python-runtime-interface-client
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id292411453
octolytics-dimension-repository_network_root_nwoaws/aws-lambda-python-runtime-interface-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
release3a0a9f049e072eb8e5795dfddcefdba9e277501d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/aws/aws-lambda-python-runtime-interface-client/issues/22#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Faws%2Faws-lambda-python-runtime-interface-client%2Fissues%2F22
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%2Faws%2Faws-lambda-python-runtime-interface-client%2Fissues%2F22
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=aws%2Faws-lambda-python-runtime-interface-client
Reloadhttps://github.com/aws/aws-lambda-python-runtime-interface-client/issues/22
Reloadhttps://github.com/aws/aws-lambda-python-runtime-interface-client/issues/22
Reloadhttps://github.com/aws/aws-lambda-python-runtime-interface-client/issues/22
Please reload this pagehttps://github.com/aws/aws-lambda-python-runtime-interface-client/issues/22
aws https://github.com/aws
aws-lambda-python-runtime-interface-clienthttps://github.com/aws/aws-lambda-python-runtime-interface-client
Notifications https://github.com/login?return_to=%2Faws%2Faws-lambda-python-runtime-interface-client
Fork 83 https://github.com/login?return_to=%2Faws%2Faws-lambda-python-runtime-interface-client
Star 294 https://github.com/login?return_to=%2Faws%2Faws-lambda-python-runtime-interface-client
Code https://github.com/aws/aws-lambda-python-runtime-interface-client
Issues 23 https://github.com/aws/aws-lambda-python-runtime-interface-client/issues
Pull requests 14 https://github.com/aws/aws-lambda-python-runtime-interface-client/pulls
Discussions https://github.com/aws/aws-lambda-python-runtime-interface-client/discussions
Actions https://github.com/aws/aws-lambda-python-runtime-interface-client/actions
Projects https://github.com/aws/aws-lambda-python-runtime-interface-client/projects
Security and quality 0 https://github.com/aws/aws-lambda-python-runtime-interface-client/security
Insights https://github.com/aws/aws-lambda-python-runtime-interface-client/pulse
Code https://github.com/aws/aws-lambda-python-runtime-interface-client
Issues https://github.com/aws/aws-lambda-python-runtime-interface-client/issues
Pull requests https://github.com/aws/aws-lambda-python-runtime-interface-client/pulls
Discussions https://github.com/aws/aws-lambda-python-runtime-interface-client/discussions
Actions https://github.com/aws/aws-lambda-python-runtime-interface-client/actions
Projects https://github.com/aws/aws-lambda-python-runtime-interface-client/projects
Security and quality https://github.com/aws/aws-lambda-python-runtime-interface-client/security
Insights https://github.com/aws/aws-lambda-python-runtime-interface-client/pulse
Runtime.ExitError AttributeError: 'NoneType' object has no attribute 'next'https://github.com/aws/aws-lambda-python-runtime-interface-client/issues/22#top
https://github.com/synic
synichttps://github.com/synic
on Feb 19, 2021https://github.com/aws/aws-lambda-python-runtime-interface-client/issues/22#issue-811572742
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.