Git Product home page Git Product logo

Comments (5)

jkppr avatar jkppr commented on July 19, 2024

Hi @Zodchyone , let's see if we can get this sorted.

The error you have pasted above, sounds like a connection issue between different timesketch and opensearch. Can you verify your opensearch instance is up, running and functioning?

Cheers, Janosch

from timesketch.

Zodchyone avatar Zodchyone commented on July 19, 2024

Yes, I used this guide https://timesketch.org/guides/admin/install/
And I used deploy_timesketch.sh for deploying.
My opensearch instance is up, running (acknowledment this via portainer)

Maybe, should I configure conf.env file with any changes before docker-compose deploying?

from timesketch.

jkppr avatar jkppr commented on July 19, 2024

I am able to reproduce the error on a fresh installation following the timesketch.org quick guide. I'm still looking into the a possible fix.

from timesketch.

jkppr avatar jkppr commented on July 19, 2024

@Zodchyone when you run into this error, do you try to access Timesketch on a ssh port forwarded connection?

My observation:

  • Setup following https://timesketch.org/guides/admin/install/ and accessing the Timesketch web interface on http://<public IP>:80 does not trigger the problem.
  • Forwarding port 80 to localhost and accessing Timesketch via http://localhost:80 does result in the same error you posted above.

Can you explain your setup in a bit more detail please?

from timesketch.

superfantafedera avatar superfantafedera commented on July 19, 2024

Hi I've got the same error described.

I'm accessing the timesketch from the IP address of the host (http://x.x.x.x:80).
My configuration is slightly different: I have 2 node opensearch cluster.
Another error I noticed is:

sqlalchemy.exc.IntegrityError: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "pg_type_typname_nsp_index"                                                   
DETAIL:  Key (typname, typnamespace)=(user_id_seq, 2200) already exists.                       
                                                                                                                                                                                              
[SQL:                                                                                                                                                                                         
CREATE TABLE "user" (                                                                                                                                                                         
        id SERIAL NOT NULL,                                                                                                                                                                   
        created_at TIMESTAMP WITHOUT TIME ZONE,                                                                                                                                               
        updated_at TIMESTAMP WITHOUT TIME ZONE,                                                                                                                                               
        username VARCHAR(255),                                                                                                                                                                
        password VARCHAR(128),                                                                                                                                                                
        name VARCHAR(255),                                                                     
        email VARCHAR(255),                                                                                                                                                                   
        active BOOLEAN,                        
        admin BOOLEAN,                                                                                                                                                                        
        PRIMARY KEY (id),                                                                      
        UNIQUE (username)                                                                                                                                                                     
)

Initially I thought was an error of duplicated blank sketch, created a new one with random character as name but the problem persist.
I also tried to create a second user, but still have the same error.

from timesketch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.