Title: Error getting remote endpoint · Issue #445 · socketio/socket.io-client-cpp · GitHub
Open Graph Title: Error getting remote endpoint · Issue #445 · socketio/socket.io-client-cpp
X Title: Error getting remote endpoint · Issue #445 · socketio/socket.io-client-cpp
Description: I am getting these errors when. trying to connect to the server . Can anyone help with this ? [info] Error getting remote endpoint: asio.system:57 (Socket is not connected) [2025-08-22 13:28:04] [error] handle_connect error: Timer Expire...
Open Graph Description: I am getting these errors when. trying to connect to the server . Can anyone help with this ? [info] Error getting remote endpoint: asio.system:57 (Socket is not connected) [2025-08-22 13:28:04] [e...
X Description: I am getting these errors when. trying to connect to the server . Can anyone help with this ? [info] Error getting remote endpoint: asio.system:57 (Socket is not connected) [2025-08-22 13:28:04] [e...
Opengraph URL: https://github.com/socketio/socket.io-client-cpp/issues/445
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error getting remote endpoint","articleBody":"I am getting these errors when. trying to connect to the server . Can anyone help with this ?\n\n`[info] Error getting remote endpoint: asio.system:57 (Socket is not connected)\n[2025-08-22 13:28:04] [error] handle_connect error: Timer Expired`\n\n\nhere is the code , \n\n `sio::client h;\n\n // ---- Connection Open ----\n h.set_open_listener([\u0026]() {\n std::cout \u003c\u003c \"Connected!\" \u003c\u003c std::endl;\n });\n\n // ---- Connection Failed ----\n h.set_fail_listener([\u0026]() {\n std::cout \u003c\u003c \" Connection failed\" \u003c\u003c std::endl;\n });\n\n // ---- Connection Closed ----\n h.set_close_listener([\u0026](sio::client::close_reason const\u0026 reason) {\n std::cout \u003c\u003c \"Disconnected.\" \u003c\u003c std::endl;\n });\n\n\n std::map\u003cstd::string, std::string\u003e headers;\n headers[\"User-Agent\"] = \"cpp-socketio-client\";\n headers[\"user\"] = userId;\n headers[\"token\"] = token;\n \n h.connect(\"http://breezeapi.icicidirect.com/ohlcvstream\", {}, headers);\n \n sio::message::list join_args;\n join_args.push(sio::string_message::create(\"4.1!7299\"));\n h.socket()-\u003eemit(\"join\", join_args);\n \n // ---- Tick Updates ----\n \n h.socket()-\u003eon(\"1SEC\", [\u0026](sio::event\u0026 ev) {\n auto msg = ev.get_message();\n if (msg) {\n std::cout \u003c\u003c \"📊 Tick Data: \" \u003c\u003c msg-\u003eget_string() \u003c\u003c std::endl;\n } else {\n std::cout \u003c\u003c \"📊 Tick Event (non-string)\" \u003c\u003c std::endl;\n }\n });\n\n \n std::this_thread::sleep_for(std::chrono::minutes(5));`","author":{"url":"https://github.com/Suresh3d","@type":"Person","name":"Suresh3d"},"datePublished":"2025-08-22T08:10:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/445/socket.io-client-cpp/issues/445"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:66c21d96-1410-5ab6-b213-733d589d0c74 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 94AE:3D4482:401DE9E:57C4065:698CA8E8 |
| html-safe-nonce | 66866ccfe1442f425ddccc48fb7edce35909b13d3901f6d22c9528ca5bca691e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEFFOjNENDQ4Mjo0MDFERTlFOjU3QzQwNjU6Njk4Q0E4RTgiLCJ2aXNpdG9yX2lkIjoiMTc3NjEwMDczMTA4MzU5ODA1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d7788e840621e2ea5c4fa631bd577f7f47dd5d0d89aec0d7e355639cd5c6d2b3 |
| hovercard-subject-tag | issue:3344588033 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/socketio/socket.io-client-cpp/445/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9cb2b693fb3c0caea80bff3ae05e40726a76da6b73e76f3dd5d5e6f0684afc61/socketio/socket.io-client-cpp/issues/445 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9cb2b693fb3c0caea80bff3ae05e40726a76da6b73e76f3dd5d5e6f0684afc61/socketio/socket.io-client-cpp/issues/445 |
| og:image:alt | I am getting these errors when. trying to connect to the server . Can anyone help with this ? [info] Error getting remote endpoint: asio.system:57 (Socket is not connected) [2025-08-22 13:28:04] [e... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Suresh3d |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/socketio/socket.io-client-cpp git https://github.com/socketio/socket.io-client-cpp.git |
| octolytics-dimension-user_id | 10566080 |
| octolytics-dimension-user_login | socketio |
| octolytics-dimension-repository_id | 33086039 |
| octolytics-dimension-repository_nwo | socketio/socket.io-client-cpp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33086039 |
| octolytics-dimension-repository_network_root_nwo | socketio/socket.io-client-cpp |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width