René's URL Explorer Experiment


Title: [v1.11.0] Accessing array offset on null value - Failed TCP connection without ext-sockets · Issue #286 · reactphp/socket · GitHub

Open Graph Title: [v1.11.0] Accessing array offset on null value - Failed TCP connection without ext-sockets · Issue #286 · reactphp/socket

X Title: [v1.11.0] Accessing array offset on null value - Failed TCP connection without ext-sockets · Issue #286 · reactphp/socket

Description: I'm receiving the following error in this line: ErrorException : Trying to access array offset on value of type null at /var/www/html/vendor/react/socket/src/TcpConnector.php:123 119| @\fwrite($stream, \PHP_EOL); 120| $error = \error_get...

Open Graph Description: I'm receiving the following error in this line: ErrorException : Trying to access array offset on value of type null at /var/www/html/vendor/react/socket/src/TcpConnector.php:123 119| @\fwrite($str...

X Description: I'm receiving the following error in this line: ErrorException : Trying to access array offset on value of type null at /var/www/html/vendor/react/socket/src/TcpConnector.php:123 119| @\fwrite(...

Opengraph URL: https://github.com/reactphp/socket/issues/286

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[v1.11.0] Accessing array offset on null value - Failed TCP connection without ext-sockets","articleBody":"I'm receiving the following error in [this line](https://github.com/reactphp/socket/blob/master/src/TcpConnector.php#L123):\r\n```\r\n   ErrorException  : Trying to access array offset on value of type null\r\n\r\n  at /var/www/html/vendor/react/socket/src/TcpConnector.php:123\r\n    119|                         @\\fwrite($stream, \\PHP_EOL);\r\n    120|                         $error = \\error_get_last();\r\n    121| \r\n    122|                         // fwrite(): send of 2 bytes failed with errno=111 Connection refused\r\n  > 123|                         \\preg_match('/errno=(\\d+) (.+)/', $error['message'], $m);\r\n    124|                         $errno = isset($m[1]) ? (int) $m[1] : 0;\r\n    125|                         $errstr = isset($m[2]) ? $m[2] : $error['message'];\r\n    126|                     } else {\r\n    127|                         // Not on Linux and ext-sockets not available? Too bad.\r\n\r\n  Exception trace:\r\n\r\n  1   Illuminate\\Foundation\\Bootstrap\\HandleExceptions::handleError(\"Trying to access array offset on value of type null\", \"/var/www/html/vendor/react/socket/src/TcpConnector.php\")\r\n      /var/www/html/vendor/react/socket/src/TcpConnector.php:123\r\n\r\n  2   React\\Socket\\TcpConnector::React\\Socket\\{closure}()\r\n      /var/www/html/vendor/react/event-loop/src/StreamSelectLoop.php:253\r\n\r\n  Please use the argument -v to see more details.\r\n\r\n```\r\n\r\nThe `$error` is `null`, but I have no idea why.\r\nI'm using [another library](https://github.com/beyondcode/laravel-websockets) that depends on this one indirectly.\r\n\r\nThe composer require tree:\r\n```\r\nbeyondcode/laravel-websockets 1.8.1 An easy to use WebSocket server\r\n├──cboden/ratchet ^0.4.1\r\n│  └──react/socket ^1.0 || ^0.8 || ^0.7 || ^0.6 || ^0.5\r\n└──clue/buzz-react ^2.5\r\n   ├──react/http-client ^0.5.10\r\n   |  └──react/socket ^1.0 || ^0.8.4\r\n   └──react/socket ^1.1\r\n```\r\n\r\nPHP version:\r\n```\r\nPHP 7.4.27 (cli) (built: Dec 16 2021 22:42:18) ( NTS )\r\nCopyright (c) The PHP Group\r\nZend Engine v3.4.0, Copyright (c) Zend Technologies\r\n```","author":{"url":"https://github.com/matheusb-comp","@type":"Person","name":"matheusb-comp"},"datePublished":"2022-03-12T00:19:44Z","url":"https://github.com/reactphp/socket/issues/286"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:df8cf464-3306-5055-dca4-26ed5b4dfe31
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCC9A:39ED8:1DD816:2995B1:6B00582E
html-safe-noncea9f7340d809a8314542fd4221839d6d8002f3603822287b8930c7d375593db08
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzlBOjM5RUQ4OjFERDgxNjoyOTk1QjE6NkIwMDU4MkUiLCJ2aXNpdG9yX2lkIjoiODExMzg2MjQ0ODU2MzM3ODIyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace601902a7a5635bdb0ed22da8f1124007f5615d153d591f47a07da95c49e542d
hovercard-subject-tagissue:1167056552
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/reactphp/socket/286/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2a570791a177dd1d4c053a5e1575065d9d4b5c73afa316d06d8e67fd61f19670/reactphp/socket/issues/286
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2a570791a177dd1d4c053a5e1575065d9d4b5c73afa316d06d8e67fd61f19670/reactphp/socket/issues/286
og:image:altI'm receiving the following error in this line: ErrorException : Trying to access array offset on value of type null at /var/www/html/vendor/react/socket/src/TcpConnector.php:123 119| @\fwrite($str...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamematheusb-comp
hostnamegithub.com
expected-hostnamegithub.com
None29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73
turbo-cache-controlno-preview
go-importgithub.com/reactphp/socket git https://github.com/reactphp/socket.git
octolytics-dimension-user_id1696866
octolytics-dimension-user_loginreactphp
octolytics-dimension-repository_id4287591
octolytics-dimension-repository_nworeactphp/socket
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id4287591
octolytics-dimension-repository_network_root_nworeactphp/socket
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
releaseeacd927ba6112e3b01ba99c762bd699a4a4f5df7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/reactphp/socket/issues/286#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Freactphp%2Fsocket%2Fissues%2F286
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Freactphp%2Fsocket%2Fissues%2F286
Sign uphttps://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=reactphp%2Fsocket
Reloadhttps://github.com/reactphp/socket/issues/286
Reloadhttps://github.com/reactphp/socket/issues/286
Reloadhttps://github.com/reactphp/socket/issues/286
reactphphttps://github.com/reactphp
sockethttps://github.com/reactphp/socket
Codehttps://github.com/reactphp/socket
Issues7 (7)https://github.com/reactphp/socket/issues
Pull requests9 (9)https://github.com/reactphp/socket/pulls
Actionshttps://github.com/reactphp/socket/actions
Security and qualityhttps://github.com/reactphp/socket/security
Insightshttps://github.com/reactphp/socket/insights
https://github.com/reactphp/socket
New issuehttps://github.com/login?return_to=https://github.com/reactphp/socket/issues/286
New issuehttps://github.com/login?return_to=https://github.com/reactphp/socket/issues/286
#290https://github.com/reactphp/socket/pull/290
[v1.11.0] Accessing array offset on null value - Failed TCP connection without ext-socketshttps://github.com/reactphp/socket/issues/286#top
#290https://github.com/reactphp/socket/pull/290
bughttps://github.com/reactphp/socket/issues?q=state%3Aopen%20label%3A%22bug%22
new featurehttps://github.com/reactphp/socket/issues?q=state%3Aopen%20label%3A%22new%20feature%22
v1.12.0https://github.com/reactphp/socket/milestone/39
https://github.com/matheusb-comp
matheusb-comphttps://github.com/matheusb-comp
on Mar 12, 2022https://github.com/reactphp/socket/issues/286#issue-1167056552
this linehttps://github.com/reactphp/socket/blob/master/src/TcpConnector.php#L123
another libraryhttps://github.com/beyondcode/laravel-websockets
cluehttps://github.com/clue
v1.12.0https://github.com/reactphp/socket/milestone/39
on Mar 15, 2022https://github.com/reactphp/socket/issues/286#event-6244382142
cluehttps://github.com/clue
bughttps://github.com/reactphp/socket/issues?q=state%3Aopen%20label%3A%22bug%22
new featurehttps://github.com/reactphp/socket/issues?q=state%3Aopen%20label%3A%22new%20feature%22
on Mar 15, 2022https://github.com/reactphp/socket/issues/286#event-6244394455
https://github.com/clue
cluehttps://github.com/clue
on Mar 15, 2022https://github.com/reactphp/socket/issues/286#issuecomment-1068149658
@matheusb-comphttps://github.com/matheusb-comp
Improve error messages for failed TCP/IP connections without ext-sockets #266https://github.com/reactphp/socket/pull/266
https://github.com/matheusb-comp
matheusb-comphttps://github.com/matheusb-comp
on Mar 15, 2022https://github.com/reactphp/socket/issues/286#issuecomment-1068547340
WyriHaximushttps://github.com/WyriHaximus
completedhttps://github.com/reactphp/socket/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#290https://github.com/reactphp/socket/pull/290
on Apr 19, 2022https://github.com/reactphp/socket/issues/286#event-6456459160
Sign up for freehttps://github.com/signup?return_to=https://github.com/reactphp/socket/issues/286
Sign in to commenthttps://github.com/login?return_to=https://github.com/reactphp/socket/issues/286
bughttps://github.com/reactphp/socket/issues?q=state%3Aopen%20label%3A%22bug%22
new featurehttps://github.com/reactphp/socket/issues?q=state%3Aopen%20label%3A%22new%20feature%22
v1.12.0https://github.com/reactphp/socket/milestone/39
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.