marqo-ai / marqo

Unified embedding generation and search engine. Also available on cloud - cloud.marqo.ai
https://www.marqo.ai/
Apache License 2.0
4.57k stars 188 forks source link

Error in the installation process in Mac M1 #186

Open Rituparna-reunion opened 1 year ago

Rituparna-reunion commented 1 year ago

Hi I am trying to follow the installation instructions to install marqo in Mac M1 via docker. The opensearch terminal is working but the commands for launching marqo is throwing these errors.

Screenshots

Screenshot 2022-11-22 at 10 22 26 AM Screenshot 2022-11-22 at 10 23 40 AM Screenshot 2022-11-22 at 10 24 29 AM Screenshot 2022-11-22 at 10 24 41 AM
pandu-k commented 1 year ago

Hi @Rituparna-reunion, thanks for raising this issue. Sorry you're having trouble setting Marqo up.

Can you try re-pulling the marqo-os image:

docker pull marqoai/marqo-os:0.0.3-arm
docker rm -f stoic_mcnulty 
docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" marqoai/marqo-os:0.0.3-arm

Can you wait a few minutes, then can you try running this command:

curl --insecure https://admin:admin@localhost:9200

If that works (it should return a JSON with version information), then try running the Marqo run command again:

docker rm -f marqo; docker run --name marqo --privileged \
    -p 8882:8882 --add-host host.docker.internal:host-gateway \
    -e "OPENSEARCH_URL=https://localhost:9200" \
    marqoai/marqo:0.0.6

Let me know how that goes.

Rituparna-reunion commented 1 year ago

Thank you for replying @pandu-k . I tried the above procedure. However the issue still persists. After running curl --insecure https://admin:admin@localhost:9200 it says curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number

Here is the screenshot

Screenshot 2022-11-24 at 10 13 13 AM
pandu-k commented 1 year ago

Hi @Rituparna-reunion thanks for trying that out. Can you please attach a screenshot of your "About This Mac" dialogue? You should be able to find it here:

image