woodchen-ink commented on issue #189:
URL: 
https://github.com/apache/incubator-answer-plugins/issues/189#issuecomment-2259656532

   
   
![image](https://github.com/user-attachments/assets/49940d01-e1b7-4eea-9a71-bf96f35e9a28)
   
   ## Error log
   ```
   2024-07-31 12:58:56.528      ERROR   runtime/panic.go:890    http: panic 
serving 172.18.0.1:47068: interface conversion: interface {} is string, not bool
   goroutine 504 [running]:
   net/http.(*conn).serve.func1()
        /usr/local/go/src/net/http/server.go:1850 +0xb8
   panic({0x1168c60, 0x4002b98e40})
        /usr/local/go/src/runtime/panic.go:890 +0x260
   
github.com/apache/incubator-answer/internal/controller.(*EmbedController).GetEmbedConfig.func2({0xe2dc790a2968,
 0x400054ee98})
        
/go/src/github.com/apache/incubator-answer/answer_build3308615552/vendor/github.com/apache/incubator-answer/internal/controller/embed_controller.go:58
 +0x24c
   github.com/apache/incubator-answer/plugin.MakePlugin[...].func1()
        
/go/src/github.com/apache/incubator-answer/answer_build3308615552/vendor/github.com/apache/incubator-answer/plugin/plugin.go:134
 +0x150
   
github.com/apache/incubator-answer/internal/controller.(*EmbedController).GetEmbedConfig(0x4003121050?,
 0x4002c86200?)
        
/go/src/github.com/apache/incubator-answer/answer_build3308615552/vendor/github.com/apache/incubator-answer/internal/controller/embed_controller.go:53
 +0x138
   github.com/gin-gonic/gin.(*Context).Next(...)
        
/go/src/github.com/apache/incubator-answer/answer_build3308615552/vendor/github.com/gin-gonic/gin/context.go:174
   github.com/anargu/gin-brotli.Brotli.func1(0x4002c86200)
        
/go/src/github.com/apache/incubator-answer/answer_build3308615552/vendor/github.com/anargu/gin-brotli/gin_brotli.go:71
 +0x1d8
   github.com/gin-gonic/gin.(*Context).Next(...)
        
/go/src/github.com/apache/incubator-answer/answer_build3308615552/vendor/github.com/gin-gonic/gin/context.go:174
   github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0x400010ed00, 
0x4002c86200)
        
/go/src/github.com/apache/incubator-answer/answer_build3308615552/vendor/github.com/gin-gonic/gin/gin.go:620
 +0x560
   github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x400010ed00, {0x3bf9d88?, 
0x4003674460}, 0x4001c70100)
        
/go/src/github.com/apache/incubator-answer/answer_build3308615552/vendor/github.com/gin-gonic/gin/gin.go:576
 +0x1fc
   net/http.serverHandler.ServeHTTP({0x4002dfe540?}, {0x3bf9d88, 0x4003674460}, 
0x4001c70100)
        /usr/local/go/src/net/http/server.go:2947 +0x2cc
   net/http.(*conn).serve(0x400040ff40, {0x3bfaa98, 0x4001bcf710})
        /usr/local/go/src/net/http/server.go:1991 +0x544
   created by net/http.(*Server).Serve
        /usr/local/go/src/net/http/server.go:3102 +0x43c
   ```
   ## In the database, it's like this
   
![image](https://github.com/user-attachments/assets/5ed77e86-9a45-4139-a3d0-78f48f062ca9)
   
   ---  
   
   I don't understand why this plugin isn't working
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to