Details
-
Bug
-
Resolution: Fixed
-
Major
-
6.6.1, Cheshire-Cat
-
Untriaged
-
1
-
Unknown
Description
The following need to be investigated and see if it is right
newKeyspace() is called all queries (non ssl queries too)
https://github.com/couchbase/query/blob/master/datastore/couchbase/couchbase.go#L1265
Assume p.store.connSecConfig is nil none of the queries works.
Where do we set this https://github.com/couchbase/query/blob/master/server/http/service_endpoint.go#L379
This is setupSSL() Assume if the function bailout before reaching what happens. To prove that add return nil or error https://github.com/couchbase/query/blob/master/server/http/service_endpoint.go#L340
and start server and execute any query (non-ssl setup)
select * from default; |
{
|
"requestID": "23c53059-9466-497b-a166-ef4996daaa7c", |
"errors": [ |
{
|
"code": 12023, |
"msg": "Connection security config not provided. Unable to load bucket default:default", |
"retry": true |
}
|
]
|
}
|
Also following message must be changed to Infof not Errorf
https://github.com/couchbase/query/blob/master/server/http/service_endpoint.go#L370
Also do you need posting remote query service ? https://github.com/couchbase/query/blob/master/server/http/service_endpoint.go#L387
Attachments
For Gerrit Dashboard: MB-43384 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
142773,5 | MB-43384: Setting up SSL correctly | master | query | Status: MERGED | +2 | +1 |
145033,1 | MB-43384: Setting up SSL correctly | mad-hatter | query | Status: ABANDONED | 0 | 0 |
145244,2 | MB-43384: Setting up SSL correctly | mad-hatter | query | Status: MERGED | +2 | +1 |
145456,1 | MB-43384: Setting up SSL correctly | master | query | Status: ABANDONED | 0 | 0 |
145457,2 | MB-43384: Setting up SSL correctly | 6.5.2 | query | Status: MERGED | +2 | +1 |
145468,1 | MB-43384: Setting up SSL correctly | 6.5.2 | query | Status: ABANDONED | 0 | 0 |