You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@devlake.apache.org by "adrienzieba (via GitHub)" <gi...@apache.org> on 2024/05/02 19:21:05 UTC

[I] [Bug][PagerDuty] search-remote-scope response 500 error [incubator-devlake]

adrienzieba opened a new issue, #7421:
URL: https://github.com/apache/incubator-devlake/issues/7421

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   When trying to search a service for PagerDuty, I receive a panic
   
   ```
   2024/05/02 19:09:17 [Recovery] 2024/05/02 - 19:09:17 panic recovered:
   GET /plugins/pagerduty/connections/1/search-remote-scopes?search=d&page=1&pageSize=20 HTTP/1.1
   ...
   runtime error: invalid memory address or nil pointer dereference
   /usr/local/go/src/runtime/panic.go:260 (0x99895c)
   /usr/local/go/src/runtime/signal_unix.go:837 (0x99892c)
   /app/plugins/pagerduty/api/remote_api.go:88 (0x7f5b97aff181)
   /app/plugins/pagerduty/api/remote_api.go:125 (0x7f5b97aff424)
   /app/helpers/pluginhelper/api/ds_remote_api_scope_search_helper.go:65 (0x7f5b97b0b56b)
   /app/plugins/pagerduty/api/remote_api.go:162 (0x7f5b97aff4ef)
   /app/server/api/router.go:141 (0x15d58ce)
   /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x15d3702)
   /app/server/api/middlewares.go:95 (0x15d36e6)
   /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x15d3b9a)
   /app/server/api/middlewares.go:117 (0x15d3a42)
   /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x1230a01)
   /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 (0x12309ec)
   /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x122fb26)
   /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/logger.go:240 (0x122fb09)
   /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x122e9aa)
   /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 (0x122e631)
   /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 (0x122e15c)
   /usr/local/go/src/net/http/server.go:2936 (0xccb095)
   /usr/local/go/src/net/http/server.go:1995 (0xcc6231)
   /usr/local/go/src/runtime/asm_amd64.s:1598 (0x9b5ac0)
   ```
   
   ### What do you expect to happen
   
   The search for a PagerDuty Data Scope return results
   
   ### How to reproduce
   
   Create a connection for PagerDuty and try to search for a Data Scope.
   
   From the log this GET is done
   
   ```
   GET /plugins/pagerduty/connections/1/search-remote-scopes?search=d&page=1&pageSize=20
   ```
   
   ### Anything else
   
   I also notice that the pagerDuty Task is not working for services already present in projects. I get the following error
   
   ```
   error preparing task data for pagerduty (400) Wraps: (2) not enough info for Pagerduty execution (400) Error types: (1) *hintdetail.withDetail (2) *errors.errorString
   ```
   
   ### Version
   
   v1.0.0-beta6
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: dev-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][PagerDuty] search-remote-scope response 500 error [incubator-devlake]

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #7421:
URL: https://github.com/apache/incubator-devlake/issues/7421#issuecomment-2116561489

   @adrienzieba Sorry for the mistake, will look into the problem soon.


-- 
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: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][PagerDuty] search-remote-scope response 500 error [incubator-devlake]

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh closed issue #7421: [Bug][PagerDuty] search-remote-scope response 500 error
URL: https://github.com/apache/incubator-devlake/issues/7421


-- 
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: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][PagerDuty] search-remote-scope response 500 error [incubator-devlake]

Posted by "Puvendhan (via GitHub)" <gi...@apache.org>.
Puvendhan commented on issue #7421:
URL: https://github.com/apache/incubator-devlake/issues/7421#issuecomment-2112680356

   Hi team,
   
   I am getting the same error, can some one look at this?


-- 
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: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][PagerDuty] search-remote-scope response 500 error [incubator-devlake]

Posted by "Puvendhan (via GitHub)" <gi...@apache.org>.
Puvendhan commented on issue #7421:
URL: https://github.com/apache/incubator-devlake/issues/7421#issuecomment-2112998246

   Hi , I upgraded to version version v0.21.0 (https://github.com/apache/incubator-devlake/releases/tag/v0.21.0). It's started working.
   I don't see the anymore errors now.
   


-- 
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: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][PagerDuty] search-remote-scope response 500 error [incubator-devlake]

Posted by "yoramshai (via GitHub)" <gi...@apache.org>.
yoramshai commented on issue #7421:
URL: https://github.com/apache/incubator-devlake/issues/7421#issuecomment-2143767476

   @klesh I'm using v1.0.0-beta9 and also getting the same error 
   `error preparing task data for pagerduty (400) Wraps: (2) not enough info for Pagerduty execution (400) Error types: (1) *hintdetail.withDetail (2) *errors.errorString`
   
   How can I bypass this ?


-- 
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: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][PagerDuty] search-remote-scope response 500 error [incubator-devlake]

Posted by "abeizn (via GitHub)" <gi...@apache.org>.
abeizn closed issue #7421: [Bug][PagerDuty] search-remote-scope response 500 error
URL: https://github.com/apache/incubator-devlake/issues/7421


-- 
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: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][PagerDuty] search-remote-scope response 500 error [incubator-devlake]

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #7421:
URL: https://github.com/apache/incubator-devlake/issues/7421#issuecomment-2113912331

   @Puvendhan Thanks for sharing, nice to know


-- 
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: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][PagerDuty] search-remote-scope response 500 error [incubator-devlake]

Posted by "adrienzieba (via GitHub)" <gi...@apache.org>.
adrienzieba commented on issue #7421:
URL: https://github.com/apache/incubator-devlake/issues/7421#issuecomment-2114591918

   @klesh Can we re open this issue please?
   The problem I experience is with v1.0.0-beta6.
   Going to v0.21.0 is a downgrade in my case.


-- 
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: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org