收藏
回答

生产环境请求access_token接口返回404的状态?

2023-01-12 11:17:41.421 [http-nio-8080-exec-8] DEBUG org.springframework.web.servlet.DispatcherServlet - GET "/cgi-bin/token?grant_type=client_credential&appid=&secret=", parameters={masked}

2023-01-12 11:17:41.422 [http-nio-8080-exec-8] DEBUG o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]

2023-01-12 11:17:41.485 [http-nio-8080-exec-8] DEBUG o.s.w.servlet.resource.ResourceHttpRequestHandler - Resource not found

2023-01-12 11:17:41.485 [http-nio-8080-exec-8] DEBUG org.springframework.web.servlet.DispatcherServlet - Completed 404 NOT_FOUND

2023-01-12 11:17:41.485 [http-nio-8080-exec-8] DEBUG org.springframework.web.servlet.DispatcherServlet - "ERROR" dispatch for GET "/error?grant_type=client_credential&appid=&secret=", parameters={masked}

{"timestamp":"2023-01-12T03:17:41.486+00:00","status":404,"error":"Not Found","path":"/cgi-bin/token"}

回答关注问题邀请回答
收藏

1 个回答

  • Mr.Zhao
    Mr.Zhao
    2023-01-12

    如果把生产环境改成测试环境 是不是就没问题了

    2023-01-12
    有用
    回复 6
    • y_guotian
      y_guotian
      2023-01-12
      是的
      2023-01-12
      回复
    • y_guotian
      y_guotian
      2023-01-12
      这是个啥问题,是需要哪里去配置么
      2023-01-12
      回复
    • y_guotian
      y_guotian
      2023-01-12
      生产环境使用的配置了证书,设置了域名
      2023-01-12
      回复
    • Mr.Zhao
      Mr.Zhao
      2023-01-12回复y_guotian
      不理解 设置的啥域名?
      2023-01-12
      回复
    • y_guotian
      y_guotian
      2023-01-12
      嗯 这个应该不影响,就是不知道为啥接口会返回404的状态
      2023-01-12
      回复
    查看更多(1)
登录 后发表内容