Title: Cannot seem to get even one backend to be tried no matter what I do · Issue #43 · love2d/lua-https · GitHub
Open Graph Title: Cannot seem to get even one backend to be tried no matter what I do · Issue #43 · love2d/lua-https
X Title: Cannot seem to get even one backend to be tried no matter what I do · Issue #43 · love2d/lua-https
Description: Disclaimer, I am using Haiku. I repeat, Haiku. Not any Linux distro, but Haiku, a POSIX compliant OS that has some BSD compatibility headers and stuff. The output: Starting both http and https test trying all clients available whoops no ...
Open Graph Description: Disclaimer, I am using Haiku. I repeat, Haiku. Not any Linux distro, but Haiku, a POSIX compliant OS that has some BSD compatibility headers and stuff. The output: Starting both http and https test...
X Description: Disclaimer, I am using Haiku. I repeat, Haiku. Not any Linux distro, but Haiku, a POSIX compliant OS that has some BSD compatibility headers and stuff. The output: Starting both http and https test...
Opengraph URL: https://github.com/love2d/lua-https/issues/43
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot seem to get even one backend to be tried no matter what I do","articleBody":"Disclaimer, I am using Haiku. I repeat, Haiku. Not any Linux distro, but Haiku, a POSIX compliant OS that has some BSD compatibility headers and stuff.\n\nThe output:\n```\nStarting both http and https test\ntrying all clients available\nwhoops no available clients \nsomething is seriously wrong if you don't see 'test...'\nnil No applicable HTTPS implementation found\ntrying all clients available\nwhoops no available clients \nsomething is seriously wrong if you don't see 'test...'\nnil No applicable HTTPS implementation found\n```\n\nCMake build log:\n```\n-- The CXX compiler identification is GNU 13.3.0\n-- Detecting CXX compiler ABI info\n-- Detecting CXX compiler ABI info - done\n-- Check for working CXX compiler: /bin/c++ - skipped\n-- Detecting CXX compile features\n-- Detecting CXX compile features - done\n-- Found LuaJIT: /system/develop/lib/libluajit-5.1.so\n-- Found CURL: /packages/curl-8.14.1-1/.self/develop/lib/libcurl.so (found version \"8.14.1\")\n-- Found OpenSSL: /packages/openssl3-3.5.4-1/.self/develop/lib/libcrypto.so (found version \"3.5.4\")\n-- Configuring done (0.5s)\n-- Generating done (0.2s)\n-- Build files have been written to: /boot/home/lua-https/build\n[ 7%] Building CXX object src/CMakeFiles/https-common.dir/common/HTTPS.cpp.o\n[ 15%] Building CXX object src/CMakeFiles/https-common.dir/common/HTTPRequest.cpp.o\n[ 23%] Building CXX object src/CMakeFiles/https-common.dir/common/HTTPSClient.cpp.o\n[ 30%] Building CXX object src/CMakeFiles/https-common.dir/common/PlaintextConnection.cpp.o\n[ 38%] Linking CXX static library libhttps-common.a\n[ 38%] Built target https-common\n[ 46%] Building CXX object src/CMakeFiles/https-openssl.dir/generic/OpenSSLConnection.cpp.o\n[ 53%] Linking CXX static library libhttps-openssl.a\n[ 53%] Built target https-openssl\n[ 61%] Building CXX object src/CMakeFiles/https-curl.dir/generic/CurlClient.cpp.o\n[ 69%] Linking CXX static library libhttps-curl.a\n[ 69%] Built target https-curl\n[ 76%] Building CXX object src/CMakeFiles/https-unix-libraryloader.dir/generic/UnixLibraryLoader.cpp.o\n[ 84%] Linking CXX static library libhttps-unix-libraryloader.a\n[ 84%] Built target https-unix-libraryloader\n[ 92%] Building CXX object src/CMakeFiles/https.dir/lua/main.cpp.o\n[100%] Linking CXX shared module https.so\n[100%] Built target https\nInstall the project...\n-- Install configuration: \"Release\"\n-- Installing: /boot/home/lua-https/install/./https.so\n```\n\nldd results:\n```\ninstall/https.so: file format elf64-x86-64\ninstall/https.so\n NEEDED libstdc++.so.6\n NEEDED libgcc_s.so.1\n NEEDED libroot.so\n required from libgcc_s.so.1:\n required from libstdc++.so.6:\n```\n\nI created a build script to make testing easier with all the extra CMake flags:\n```sh\n#!/bin/sh\nrm -rf build\n\ncmake \\\n\t-Bbuild -S. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/install \\\n\t-DCMAKE_SYSTEM_NAME=Linux \\\n\t-DLUAJIT_DIR=/system/develop/headers/luajit-2.1/ \\\n\t-DLUAJIT_LIBRARY=/system/develop/lib/libluajit-5.1.so \\\n\t-DHTTPS_BACKEND_CURL=ON \\\n\t-DHTTPS_BACKEND_OPENSSL=ON \\\n\t-DUSE_CURL_BACKEND=ON \\\n\t-DUSE_OPENSSL_BACKEND=ON \\\n\ncmake --build build --target install\n\ncd install\necho Starting both http and https test\nluajit -e \"print(require 'https'.request 'http://myip.wtf/text')\"\nluajit -e \"print(require 'https'.request 'https://myip.wtf/text')\"\ncd ..\n\nobjdump -x install/https.so | grep \\\\.so # this is ldd on Linux\n```\nI also modified request:\n```\nHTTPSClient::Reply request(const HTTPSClient::Request \u0026req)\n{\n\n\tprintf(\"trying all clients available\\n\");\n\n\tfor (size_t i = 0; clients[i]; ++i)\n\t{\n\t\tHTTPSClient \u0026client = *clients[i];\n\t\tprintf(\"test... \");\n\n\t\tif (client.valid())\n\t\t\treturn client.request(req);\n\t}\n\n\tprintf(\"whoops no available clients \\n\");\n\tprintf(\"something is seriously wrong if you don't see 'test...'\\n\");\n\n\tthrow std::runtime_error(\"No applicable HTTPS implementation found\");\n}\n```\nRemoving `-DCMAKE_SYSTEM_NAME=Linux` had no changes.","author":{"url":"https://github.com/nilFinx","@type":"Person","name":"nilFinx"},"datePublished":"2026-01-31T06:59:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/43/lua-https/issues/43"}
| 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:dd5d2b89-22e7-73ca-e7a2-222f70f711f2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D294:34AF85:55D5A:71C38:6A4C6A13 |
| html-safe-nonce | 4abb20f6b6769e051e744b5132deaf0c220621e4c8f5a625c1551d38830c2f1a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjk0OjM0QUY4NTo1NUQ1QTo3MUMzODo2QTRDNkExMyIsInZpc2l0b3JfaWQiOiI1NjI4NTgyMDk2NjIyMzQ4ODE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 47d094027c092b15c9a2a6bb6ba0013f204df721d375651de980b3414cd6d9f6 |
| hovercard-subject-tag | issue:3878622258 |
| 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/love2d/lua-https/43/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8119249559618179e7f8dcf3db81a92970f95662e86a1560c68b67590671be90/love2d/lua-https/issues/43 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8119249559618179e7f8dcf3db81a92970f95662e86a1560c68b67590671be90/love2d/lua-https/issues/43 |
| og:image:alt | Disclaimer, I am using Haiku. I repeat, Haiku. Not any Linux distro, but Haiku, a POSIX compliant OS that has some BSD compatibility headers and stuff. The output: Starting both http and https test... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nilFinx |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/love2d/lua-https git https://github.com/love2d/lua-https.git |
| octolytics-dimension-user_id | 283107 |
| octolytics-dimension-user_login | love2d |
| octolytics-dimension-repository_id | 435158752 |
| octolytics-dimension-repository_nwo | love2d/lua-https |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 435158752 |
| octolytics-dimension-repository_network_root_nwo | love2d/lua-https |
| 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 | 14099438da5379150f15a2892474c7c7e6c0e55e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width