无法登录Kylo

时间:2017-12-07 10:38:16

标签: kylo

登录Kylo时,/var/log/kylo-ui/kylo-ui.log下会出现以下错误。

2017-12-07 16:03:52 ERROR http-nio-8400-exec-8:JerseyRestClient:383 - Failed to process request /v1/about/me
javax.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error
    at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:1020)
    at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:816)
    at org.glassfish.jersey.client.JerseyInvocation.access$700(JerseyInvocation.java:92)
    at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:700)
    at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
    at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
    at org.glassfish.jersey.internal.Errors.process(Errors.java:228)

1 个答案:

答案 0 :(得分:0)

错误消息Invalid default value for 'modified_time'表示默认值在服务器的时区内无效。时间戳列以UTC格式存储,最小值为1970-01-01 00:00:00。例如,如果您的服务器的时区是IST,那么它会将默认值转换为1969-12-31 18:30:01,但由于它低于最小值,因此会失败。

修复方法是增加默认值。出于Kylo的目的,1970-01-02 00:00:01的值应该没问题。