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

Url unreachable issue - question #110

Open
Project-neuron opened this issue Oct 2, 2020 · 2 comments
Open

Url unreachable issue - question #110

Project-neuron opened this issue Oct 2, 2020 · 2 comments

Comments

@Project-neuron
Copy link

Project-neuron commented Oct 2, 2020

Hello

I am running into an issue with the system stating that the url is unreachable

endpoints:
  - name: Apps 
    url: https://apps.ithaca.edu/
    method: GET
    timeout: 10
    expectation:
      - type: HTTP_STATUS
        status_range: 200-300
    allowed_fails: 0
    frequency: 30
    component_id: 1
    action:
      - CREATE_INCIDENT
      - UPDATE_STATUS
    public_incidents: true
    latency_unit: ms
cachet:
  api_url: http://<url>/api/v1
  token:
    - type: TOKEN
      value: "my_token" 

WARNING [2020-10-05 20:13:37,479] cachet_url_monitor.configuration.Configuration.Apps at Ithaca - The URL is unreachable: GET https://apps.ithaca.edu
WARNING [2020-10-05 20:13:37,480] cachet_url_monitor.configuration.Configuration.Apps at Ithaca - Failure #1 with threshold set to 0


curls that I run work fine from the box I have the containers in. So I am not sure what I am missing. 

Any assistance would be appreciated. I looked over the last time this issue was brought up and tried the suggestions there but to no avail. 

Best 

@Project-neuron Project-neuron changed the title Url unreachable issue Url unreachable issue - question Oct 2, 2020
@Project-neuron
Copy link
Author

Project-neuron commented Oct 5, 2020

I managed to get google.com to work, however, I am still having issues with the URL https://apps.ithaca.edu. Every other URL seems to work fine but this one. I have curl'ed from the system to make sure that it is reachable and the curl's work just fine. I have also tried another system with a similar url https://sakai.ithaca.edu/ which works fine as well.

@mtakaki
Copy link
Owner

mtakaki commented Nov 26, 2020

So, you're running this through docker? Have you tried running curl from inside the container, instead at the host?

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

No branches or pull requests

2 participants