Score:0

How do I fix the "You're attempting to access the site via IP address or invalid hostname." error?

cn flag

I'm running Drupal 7 on Pantheon and have started getting the following error message whenever I try to save content.

You're attempting to access a Pantheon site via IP address or invalid hostname. Please use a valid hostname.

I've found a number of related issues online:

Most of these articles reference Drupal 7, but all of the fixes are for Drupal 8.

I'm experiencing this problem in both dev and in production (though user interactions on the live site seem to be fine, thank goodness). It started a week ago, and now I'm functionally locked out from creating new content or editing most of the site. It affects all of my browsers, both of my laptops and occurs whether I'm connecting via wifi or tethering data from my phone (a separate ISP), so this isn't a local issue.

How do I resolve it for Drupal 7?

Update: This issue appears to be related to Microsoft's massive July 2021 bug fix update last week. I'll leave this here in case anyone else is experiencing the same issue.

cn flag
If you are linking to another question on this site, please actually post the link in your question.
cn flag
Ah sorry - they were in my draft elsewhere. I'll update them.
leymannx avatar
ne flag
Probably something to ask the Pantheon support about.
cn flag
They're looking at it, but not much they can do since the issue is ultimately local (though it affects all of my Windows10 systems).
Webdrips avatar
cn flag
Did you ever find the answer @tonka69?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.