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

The user could not log in #6

Closed
4 of 24 tasks
tqf6 opened this issue May 18, 2021 · 9 comments
Closed
4 of 24 tasks

The user could not log in #6

tqf6 opened this issue May 18, 2021 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@tqf6
Copy link

tqf6 commented May 18, 2021

Describe the bug

A clear and concise description of what the bug is.

Deployment method

  • subscription image from MarketPlace of Cloud
  • All-in-one Installer
  • ansible-playbook cli
  • mcloud
  • create instance from private image

Bug source

  • Bugs from installation
  • Bugs from first use
  • Other (You should describe it)

System Environment

Application Version

e.g v4.5

OS

  • Ubuntu18.x
  • Ubuntu20.x
  • CentOS7.x
  • CentOS8.x
  • AmazonLinux2
  • OracleLinux7.8
  • OracleLinux8.2
  • Other (You should describe it)

Cloud PlatForm

  • Azure
  • Aws
  • 阿里云
  • 腾讯云
  • 华为云
  • AlibabaCloud
  • HUWEICloud
  • Other (You should describe it)

Bug reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Bug reports

Bug Context

Bug context includes bug error, error logs and service status, it is very important for resolving issue

# bug error

 47.242.193.105 


# service status 
(paste here) 

# error logs
(paste here) 

Bug Screenshot

image
image
image

Your suggestion

The reason of Bug

You can describe the reason if you have found it

Your solution for Bug

You can describe your solution here

Additional context

You can add any other context about the problem here.

@tqf6 tqf6 added the bug Something isn't working label May 18, 2021
@qiaofeng1227
Copy link
Contributor

qiaofeng1227 commented May 18, 2021

docker ps
image

@qiaofeng1227
Copy link
Contributor

qiaofeng1227 commented May 18, 2021

docker logs knowage-server

18-May-2021 03:24:54.603 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/knowage/apache-tomcat/webapps/knowagekpiengine] has finished in [15,515] ms
18-May-2021 03:24:58.618 INFO [localhost-startStop-2] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
18-May-2021 03:24:58.690 INFO [localhost-startStop-2] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/knowage/apache-tomcat/webapps/knowagetalendengine] has finished in [9,210] ms
18-May-2021 03:24:58.697 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
18-May-2021 03:24:58.717 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-127.0.0.1-8009"]
18-May-2021 03:24:58.728 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 129744 ms
2021-05-18 03:56:41.459  INFO 1 --- [nio-8080-exec-2] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2021-05-18 03:56:41.462  INFO 1 --- [nio-8080-exec-2] o.s.web.servlet.DispatcherServlet        : Completed initialization in 2 ms
modifyHandshake() Current thread http-nio-8080-exec-5
modifyHandshake() Current thread http-nio-8080-exec-15
modifyHandshake() Current thread http-nio-8080-exec-11
modifyHandshake() Current thread http-nio-8080-exec-11
modifyHandshake() Current thread http-nio-8080-exec-6
18-May-2021 04:25:07.586 INFO [http-nio-8080-exec-5] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header
 Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.
	java.lang.IllegalArgumentException: Invalid character found in method name [2380x00ll|'|'|SGFjS2VkX0Q3NUU2QUFB|'|'|WIN-QZN7FJ7D1O|'|'|Administrator|'|'|18-11-28|'|'||'|'|Win ]. HTTP method names must be tokens
		at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:431)
		at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:503)
		at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
		at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:831)
		at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1629)
		at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
		at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
		at java.lang.Thread.run(Thread.java:748)

@qiaofeng1227
Copy link
Contributor

you can logined in by random password of mysql
image

@qiaofeng1227
Copy link
Contributor

[root@iZj6cavtctajcry7veuiahZ data]# git clone --depth=1 https://github.com/Websoft9/docker-knowage.git
Cloning into 'docker-knowage'...
remote: Enumerating objects: 40, done.
remote: Counting objects: 100% (40/40), done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 40 (delta 5), reused 24 (delta 1), pack-reused 0
Unpacking objects: 100% (40/40), done.
[root@iZj6cavtctajcry7veuiahZ data]# cd docker-knowage/
[root@iZj6cavtctajcry7veuiahZ docker-knowage]# ls
CHANGELOG.md  CONTRIBUTING.md  docker-compose-production.yml  Knowage-Python-Docker  Knowage-R-Docker  knowage-server  LICENSE  LICENSE.md  Notes.md  README.md  README-zh.md  variables.json
[root@iZj6cavtctajcry7veuiahZ docker-knowage]# docker-compose -f docker-compose-production.yml  up -d

@qiaofeng1227
Copy link
Contributor

image

@zengxc-1996
Copy link
Contributor

This is a bug with the official image, so I can't fix it now, refer to it here:

KnowageLabs/Knowage-Server-Docker#47

@qiaofeng1227
Copy link
Contributor

Done

@qiaofeng1227
Copy link
Contributor

Amazon ubuntu20.04 need 15minutes

@qiaofeng1227
Copy link
Contributor

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants