TSF本地DEMO调试,报400错误?

  • 回答 (1)
  • 关注 (0)
  • 查看 (800)

启动provider-demo,会报如下错误

com.ecwid.consul.v1.OperationException: OperationException(statusCode=400, statusMessage='Bad Request', statusContent='Invalid Service Meta: Couldn't load metadata pair ('TSF_API_METAS', 'H4sIAAAAAAAAAG2SQU/jMBCF/0rkIwpJ6HLqDaGyqkDdSsAJ7WGIh9hS4vGOHSK2yn9n7BaW0o1yyfjN+/xmslNhgq5DVku1qBpVKuteSC13SmNo2fpoycnZg7GhkDdSEQxNBXhbfFWU6hU57LUXVZOdoo09yvf9nlBcbddSbclFaKMg5lL1tkUXMPEcDEl85aE1WOzvMnIvJROjX9b1NE0V5NOKuKsPraG+W1+vNverc2mpTBx6NYuxoSAI5ZlerUY+1ziQGD5DwC1EI0d1uiF0QS2fPuGf8nRJpr6XuZTfJrE9aIrrf5r5d6m82IYUpMbWUL3zwDDMqdBhSvsB+y9E+sM4DMBvQkj9giWPDAm61ofiY7Cu+7l6kEMx0WOL2fCsPlP5AgLEKGs4ipSqea35Q6J/D/ShYPwzWkaBRR5RhvPmk0GILNQckTF4SjNPcRZNc/qb/LoVoyArGiBHPraQvVw2F6ddjw7GaIjtX6Fn0Y9T0Q3xs9Ua3V5xearYUCxuaHQ6kzR6xhZiCvQCfcBZnnfncD5C7wIAAA=='): Value is too long (limit: 512 characters)')

用户2408798用户2408798提问于
用户2965773回答于

在本地配置文件的yaml里面增加这个配置项可以解决: tsf.swagger.enabled: false

扫码关注云+社区

领取腾讯云代金券