docs icon indicating copy to clipboard operation
docs copied to clipboard

Username or password incorrect when using the importer

Open yormy opened this issue 3 years ago • 12 comments

On the importer I always get "Username or password incorrect" Any idea how to debug that, as the credentials are correct, the same as I use to login as root admin

yormy avatar Jan 12 '22 15:01 yormy

Are you using version 1.10 of the server?

jendib avatar Jan 12 '22 15:01 jendib

sismics/docs-importer:latest sismics/docs:v1.10

yormy avatar Jan 12 '22 15:01 yormy

I'm marking this as bug. If anyone want to take care of this I guess that we need to add application/x-www-form-urlencoded as Content-Type for POST, PUT and DELETE requests as I did in the JS frontend.

jendib avatar Jan 12 '22 15:01 jendib

Thanks.. I would love to jump in, however I am not versed in jdk not is my dev setup ready for that. btw, you did build an awesome system

yormy avatar Jan 12 '22 15:01 yormy

The importer is done in javascript (nodejs)

jendib avatar Jan 12 '22 18:01 jendib

Awesome... I will check it out

yormy avatar Jan 13 '22 08:01 yormy

Where can I find the new code, last update on github is 13 days ago

yormy avatar Jan 15 '22 11:01 yormy

The importer code is here: https://github.com/sismics/docs/tree/master/docs-importer

jendib avatar Jan 17 '22 13:01 jendib

Still waiting for a PR for the importer, if someone can dig into this.

jendib avatar Feb 07 '22 18:02 jendib

I also had trouble with this. The solution was to amend the .pref file to refer to the teedy docker instance by name. ie: 'http://teedy-server:8080'. Also make sure they're all on the same docker network.

oz-glenn avatar Feb 10 '22 13:02 oz-glenn

Reproducer and help needed.

jendib avatar Apr 17 '22 11:04 jendib

Hi I'm getting the same error
Error: Username or password incorrect

  teedy-import:
    image: sismics/docs-importer:latest
    restart: unless-stopped
    environment:
      - TEEDY_TAG=4a473294-ebe0-459c-83a1-4fb8444f83be
      - TEEDY_ADDTAGS=false
      - TEEDY_LANG=eng
      - TEEDY_URL="http://teedy-server:8080"
      - TEEDY_USERNAME=admin
      - TEEDY_PASSWORD="superSecure"
    volumes:
      - /home/teedy/import:/import
    networks:
      - docker-internal
      - internet
    depends_on:
      - teedy-server

The username and the password are same as the teedy-server. Can anyone help me to fix it ?

melakhvision avatar Sep 19 '22 08:09 melakhvision