Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback url is not receiving #813

Open
sanjaylakum7 opened this issue Sep 17, 2024 · 3 comments
Open

Feedback url is not receiving #813

sanjaylakum7 opened this issue Sep 17, 2024 · 3 comments
Assignees
Labels

Comments

@sanjaylakum7
Copy link

I am currently experiencing an issue with Gorush feedback URL configuration. Despite successfully receiving push notifications and responses in the console log, no response is being sent to the specified feedback_hook_url.

Core Configuration:

core:
  feedback_hook_url: "https://example.com/notification-response/feedback-url/"
  feedback_timeout: 10
  feedback_header:
    - x-gorush-token: 12345
  mode: "release"
  ssl: false
  cert_path: "cert.pem"
  key_path: "key.pem"
  cert_base64: ""
  key_base64: ""
  http_proxy: ""
  pid:
    enabled: false
    path: "gorush.pid"
    override: true
  auto_tls:
    enabled: false
    folder: ".cache"
    host: ""


# Request body
curl --location 'http://localhost:8088/api/push' \
--data '{
    "notifications": [
        {
            "tokens": [
                "Token1"
            ],
            "platform": 2,
            "message": "This is my msg"
        }
    ]
}'

Problem:

Expected behavior: The response should be sent to the configured feedback_hook_url.
Actual behavior: No response is being sent to the feedback_hook_url. However, the response is being logged in the console.

Additional Information:

  • The core is running in release mode.
  • SSL is disabled.
  • Feedback headers are properly configured with a token.
@HrachMD
Copy link

HrachMD commented Nov 16, 2024

Same for me. FeedbackURL never being called.

@HrachMD
Copy link

HrachMD commented Nov 16, 2024

Could you access to stats or metrics endpoints? In my case they are returning an empty response body.

@appleboy
Copy link
Owner

I will take it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants