NAHERP down?

Dedicated exclusively to field herping.

Moderator: Scott Waters

Post Reply
User avatar
spinifer
Posts: 2388
Joined: June 7th, 2010, 10:48 am
Location: Delmarva

NAHERP down?

Post by spinifer »

This is what I get when I visit the site.

Image
User avatar
dery
Posts: 1779
Joined: October 1st, 2011, 12:01 pm
Location: huntsville

Re: NAHERP down?

Post by dery »

Ditto - looks like someone may have messed with the link to the HERP Database. It takes you to "www.naherp.com"
User avatar
Don Becker
Posts: 3312
Joined: June 7th, 2010, 4:21 am
Location: Iowa
Contact:

Re: NAHERP down?

Post by Don Becker »

dery wrote:Ditto - looks like someone may have messed with the link to the HERP Database. It takes you to "www.naherp.com"
That's where it's supposed to take you.

It's fixed now.
RobertH
Posts: 1834
Joined: June 7th, 2010, 9:38 pm
Location: Los Angeles

Re: NAHERP down?

Post by RobertH »

That's where it's supposed to take you.
:lol: :lol: :lol:
It's fixed now.
Not when I try to go to naherp.com. I still get the screen posted by dery.

Thanks for your efforts. I hope it's nothing serious and won't give you a headache.

Robert
Raymond McConnell
Posts: 79
Joined: July 3rd, 2011, 2:26 pm

Re: NAHERP down?

Post by Raymond McConnell »

I still cannot connect either. The page has a one word message that says "Hi".
Raymond McConnell
Posts: 79
Joined: July 3rd, 2011, 2:26 pm

Re: NAHERP down?

Post by Raymond McConnell »

I went to the link below and was able to g0 to the record entry from there. But I still cannot go directly to naherp.com from my browser (either chrome or internet explorer).

http://www.naherp.com/user/download.php
User avatar
spinifer
Posts: 2388
Joined: June 7th, 2010, 10:48 am
Location: Delmarva

Re: NAHERP down?

Post by spinifer »

Ray, try hitting F5 when you are on the page.
Raymond McConnell
Posts: 79
Joined: July 3rd, 2011, 2:26 pm

Re: NAHERP down?

Post by Raymond McConnell »

Ray, try hitting F5 when you are on the page.
That worked.
Thanks!
RobertH
Posts: 1834
Joined: June 7th, 2010, 9:38 pm
Location: Los Angeles

Re: NAHERP down?

Post by RobertH »

Pressing F5 worked for me too. But is that how it's going to be from now on?

Thanks,

Robert
User avatar
Don Becker
Posts: 3312
Joined: June 7th, 2010, 4:21 am
Location: Iowa
Contact:

Re: NAHERP down?

Post by Don Becker »

RobertH wrote:Pressing F5 worked for me too. But is that how it's going to be from now on?

Thanks,

Robert
No, it should work as normal.
User avatar
Biker Dave
Posts: 2869
Joined: June 10th, 2010, 7:56 pm
Location: Wittmann,AZ

Re: NAHERP down?

Post by Biker Dave »

Worked fine for me .... no F5 here.
User avatar
Chris Smith
Posts: 2291
Joined: June 7th, 2010, 9:13 pm
Location: Minnesota

Re: NAHERP down?

Post by Chris Smith »

Don- Do you know what the issue is/was?

-Chris
User avatar
Don Becker
Posts: 3312
Joined: June 7th, 2010, 4:21 am
Location: Iowa
Contact:

Re: NAHERP down?

Post by Don Becker »

I know what caused the issue, but I am confused as to WHY it caused an issue.

It started with HerpWiki. The drop downs to select Country/State/County when you add a picture, uses the same code as on Naherp. Javascript doesn't allow you to request data from other domains though, so to make it work without duplicating the code, I had the web server handling http://herpwki.com/ajax/ by doing an internal proxy request to http://naherp.com/ajax/. Well, I use a service called CloudFlare to cache static files, and add extra security to the site, and the way the proxy was being done, my server was connecting to cloudflares servers, which was connecting back to my servers. CloudFlare saw all the weird proxy traffic, and thought it was a hack attempt, and started blocking it. To get around it, I added an entry in the /etc/hosts file for www.naherp.com to make it resolve directly to my servers IP, rather than CloudFlares. That way the proxy requests for /ajax/ would be handled internally. Everything worked at first without issue. Then at night, the server logs are rotated so they don't get too big, and when it does that, it has to reload apache so it starts using a new log file. When it did that, apache reloaded its configuration files, and for some reason started ignoring the VirtualHost directive for www.naherp.com. When I removed www.naherp.com from the /etc/hosts file, everything started working fine again. I tried adding a hosts file entry for api.naherp.com to make it uses that for the Proxy requests, but apache was ignoring the VirtualHost directives for that as well if there was an entry in the hosts file for it. I ended up just ditching the proxy setup for /ajax/ and solving the HerpWiki issue a different way to avoid any issues.
User avatar
brick911
Posts: 3488
Joined: June 7th, 2010, 9:52 am
Location: Morrisville, PA

Re: NAHERP down?

Post by brick911 »

^^^ That's what I thought.
User avatar
Biker Dave
Posts: 2869
Joined: June 10th, 2010, 7:56 pm
Location: Wittmann,AZ

Re: NAHERP down?

Post by Biker Dave »

Well of course thats what it was! How silly of us not to know! :lol: :lol: :lol: :lol:
Post Reply