{"record":{"id":"a759ff66600aaea1","repo":"prestodb/presto","slug":"cassandra-error","errorCode":"CASSANDRA_ERROR","errorMessage":"Secure connect bundle not found: + bundlePath","messagePattern":"Secure connect bundle not found: \\+ bundlePath","errorType":"error_code","errorClass":"PrestoException","httpStatus":null,"severity":"error","filePath":"presto-cassandra/src/main/java/com/facebook/presto/cassandra/CassandraClientModule.java","lineNumber":108,"sourceCode":"            configureTls(sessionBuilder, config);\n            return sessionBuilder.build();\n        });\n\n        return new NativeCassandraSession(\n                connectorId.toString(),\n                extraColumnMetadataCodec,\n                reopeningSession,\n                config.getNoHostAvailableRetryTimeout(),\n                config.isCaseSensitiveNameMatchingEnabled(),\n                config.getVectorMaxDimensions());\n    }\n\n    static void configureEndpoint(CqlSessionBuilder sessionBuilder, CassandraClientConfig config, Logger log)\n    {\n        if (config.getSecureConnectBundle().isPresent()) {\n            File bundlePath = config.getSecureConnectBundle().get();\n            if (!bundlePath.exists()) {\n                throw new PrestoException(CASSANDRA_ERROR,\n                        \"Secure connect bundle not found: \" + bundlePath);\n            }\n            log.info(\"Using secure connect bundle for Astra: %s\", bundlePath);\n            sessionBuilder.withCloudSecureConnectBundle(bundlePath.toPath());\n            if (!config.getContactPoints().isEmpty()) {\n                log.warn(\"Contact points ignored when using secure connect bundle: %s\",\n                        String.join(\", \", config.getContactPoints()));\n            }\n        }\n        else {\n            List<String> contactPoints = requireNonNull(config.getContactPoints(), \"contactPoints is null\");\n            checkArgument(!contactPoints.isEmpty(), \"empty contactPoints\");\n            List<InetSocketAddress> contactPointAddresses = contactPoints.stream()\n                    .map(host -> new InetSocketAddress(host, config.getNativeProtocolPort()))\n                    .collect(Collectors.toList());\n            sessionBuilder.addContactPoints(contactPointAddresses);\n            String localDc = config.getDcAwareLocalDC();\n            if (localDc == null || localDc.trim().isEmpty()) {","sourceCodeStart":90,"sourceCodeEnd":126,"githubUrl":"https://github.com/prestodb/presto/blob/55bb57d202de3b926896fa966c2c4a44c779634e/presto-cassandra/src/main/java/com/facebook/presto/cassandra/CassandraClientModule.java#L90-L126","documentation":"Thrown while building the CQL session in configureEndpoint when the secure connect bundle path configured for the connector does not exist on the filesystem, so the driver cannot establish a cloud-secure connection. The offending input is the configured bundle path (rendered via string concatenation, so the message shows the literal '+ bundlePath' text).","triggerScenarios":"Thrown at presto-cassandra/src/main/java/com/facebook/presto/cassandra/CassandraClientModule.java:108 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Copy the secure connect bundle to the configured path on all nodes","Fix the cassandra.secure-connect-bundle path in the catalog properties","Remove the property if the cluster is not using cloud secure connectivity"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"55bb57d202de3b926896fa966c2c4a44c779634e","analyzedAt":"2026-09-04T12:50:26.162Z","contentChangedAt":"2026-09-04T12:50:26.162Z","schemaVersion":2},"datasetVersion":"2026-09-11T21:17:09.523Z"}