Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Username or password incorrect when using the importer #602

Open
yormy opened this issue Jan 12, 2022 · 12 comments
Open

Username or password incorrect when using the importer #602

yormy opened this issue Jan 12, 2022 · 12 comments

Comments

@yormy
Copy link

yormy commented Jan 12, 2022

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

@jendib
Copy link
Member

jendib commented Jan 12, 2022

Are you using version 1.10 of the server?

@yormy
Copy link
Author

yormy commented Jan 12, 2022

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

@jendib
Copy link
Member

jendib commented Jan 12, 2022

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 jendib added the bug label Jan 12, 2022
@yormy
Copy link
Author

yormy commented Jan 12, 2022

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

@jendib
Copy link
Member

jendib commented Jan 12, 2022

The importer is done in javascript (nodejs)

@yormy
Copy link
Author

yormy commented Jan 13, 2022

Awesome... I will check it out

@jendib jendib closed this as completed Jan 13, 2022
@jendib jendib reopened this Jan 13, 2022
@yormy
Copy link
Author

yormy commented Jan 15, 2022

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

@jendib
Copy link
Member

jendib commented Jan 17, 2022

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

@jendib jendib changed the title Username or password incorrect Username or password incorrect when using the importer Feb 3, 2022
@jendib
Copy link
Member

jendib commented Feb 7, 2022

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

@oz-glenn
Copy link

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.

@jendib
Copy link
Member

jendib commented Apr 17, 2022

Reproducer and help needed.

@sismics sismics deleted a comment from yormy May 22, 2022
@sismics sismics deleted a comment from Gorneman May 22, 2022
@sismics sismics deleted a comment from Buddinski88 May 22, 2022
@sismics sismics deleted a comment from alephtaph May 22, 2022
@sismics sismics deleted a comment from Gorneman May 22, 2022
@sismics sismics deleted a comment from vitis586 May 22, 2022
@sismics sismics deleted a comment from hmagrini May 22, 2022
@melakhvision
Copy link

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants