You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
In the Semantic Search notebook, when I try to create the index (code below), I always get an error (see log output) and am not able to proceed with the notebook. In the "Creating an index" step of the semantic search notebook, running:
import time
# only create index if it doesn't exist
if index_name not in pinecone.list_indexes():
pinecone.create_index(
name=index_name,
dimension=len(dataset.documents.iloc[0]['values']),
metric='cosine'
)
# wait a moment for the index to be fully initialized
time.sleep(1)
# now connect to the index
index = pinecone.GRPCIndex(index_name)
Expected Behavior
I expect the index to be created successfully, so I can proceed with the notebook.
Run through the steps until you get to the create an index code.
Run that and you should get the error mentioned above.
Relevant log output
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7c49135055a0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /databases
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7c4913504070>: Failed to establish a new connection: [Errno -2] Name or service not known')': /databases
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7c49123b0430>: Failed to establish a new connection: [Errno -2] Name or service not known')': /databases
---------------------------------------------------------------------------
gaierror Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/urllib3/connection.py](https://localhost:8080/#) in _new_conn(self)
173 try:
--> 174 conn = connection.create_connection(
175 (self._dns_host, self.port), self.timeout, **extra_kw
24 frames
gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
NewConnectionError Traceback (most recent call last)
NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7c49123b05e0>: Failed to establish a new connection: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
MaxRetryError Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/urllib3/util/retry.py](https://localhost:8080/#) in increment(self, method, url, response, error, _pool, _stacktrace)
590
591 ifnew_retry.is_exhausted():
--> 592 raise MaxRetryError(_pool, url, error or ResponseError(cause))
593
594 log.debug("Incremented Retry for (url='%s'): %r", url, new_retry)
MaxRetryError: HTTPSConnectionPool(host='controller.pinecone_environment.pinecone.io', port=443): Max retries exceeded with url: /databases (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7c49123b05e0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
### Environment
```markdown
- **OS**: MacOS 14.1
- **Pinecone client version**: ? (in google colab)
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Is this a new bug?
Current Behavior
In the Semantic Search notebook, when I try to create the index (code below), I always get an error (see log output) and am not able to proceed with the notebook. In the "Creating an index" step of the semantic search notebook, running:
Expected Behavior
I expect the index to be created successfully, so I can proceed with the notebook.
Steps To Reproduce
Relevant log output
Additional Context
No response
The text was updated successfully, but these errors were encountered: