Giter Site home page Giter Site logo

Comments (9)

lukePeavey avatar lukePeavey commented on July 17, 2024 1

I am looking into this... will respond shortly

from quotable.

jastuccio avatar jastuccio commented on July 17, 2024 1

Luke,

Both demos and the url are working for me today. I tested with the VPN also no issues.

Good job!

from quotable.

noonasGit avatar noonasGit commented on July 17, 2024 1

A while back - I started to safeguard for a quote server outage.
I saved the quote each time I called it, so that I could read a "cached version" should internet be down or service not accessible. I also use this as an option not to overload the quote severs.

have a look here: https://github.com/noonasGit/quote_client

from quotable.

lukePeavey avatar lukePeavey commented on July 17, 2024

It seems that the API server is not accessible from certain networks or while using VPN.

I found that when I connect to VPN on my local machine (using NordVPN), I get a DNS error (unable to resolve host) 100% of the time. Once I disconnect from VPN, the API works normally. This is also true over certain wifi networks.

There are different variations of this error, depending on how you are calling the API.

For example, if you make an API request in Chrome, you will see the following error on screen.

This site can’t be reached

api.quotable.io’s server IP address could not be found.
DNS_PROBE_FINISHED_NXDOMAIN


Unfortunately I am traveling right now I will not really have much time to work on this in the next few days.

from quotable.

jastuccio avatar jastuccio commented on July 17, 2024

Thanks Luke. I'd like to help whoever diagnoses this. Have you posted on dev.to or someplace to find someone?

  • I am on MacOS 10.15.2
  • disabled privacy badger for chrome
  • turned VPN off and on
  • tried Opera

Here is a screenshot of the error from the codepen sample. The lines of code mentioned in the error are visible.

Screen Shot 2020-01-07 at 22 19 41

Its after 10pm here and I am out of brainpower for the night. 😊

from quotable.

lukePeavey avatar lukePeavey commented on July 17, 2024

@jastuccio

There was an issue with the DNS configuration for the quotable.io domain which was preventing it from resolving with DNSSEC-aware resolvers.

Fixing that seems to have solved the problem. The API now works from any network/device and while connected to VPN. Please let me know if its working on your end :)

from quotable.

lukePeavey avatar lukePeavey commented on July 17, 2024

Also, these sites are no longer showing api.quotable.io as down...

https://www.isitdownrightnow.com/api.quotable.io.html

https://downforeveryoneorjustme.com/api.quotable.io

from quotable.

pea-nut-z avatar pea-nut-z commented on July 17, 2024

@lukePeavey I am experiencing the following error message when connected to a particular network. Just like what @jastuccio had.

GET https://api.quotable.io/random net::ERR_NAME_NOT_RESOLVED

Please let me know if you need other info.

from quotable.

noonasGit avatar noonasGit commented on July 17, 2024

same here:
nslookup api.quotable.io
Server: 192.168.86.1
Address: 192.168.86.1#53

** server can't find api.quotable.io: SERVFAIL
I have tried a few different DNS servers, none if them can resolve it.

from quotable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.