#1
We are running version 2.1.1
Our host is 1and1
Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1637.0
http://forum.hificritic.com 

When I and certain other users attempt to access our forum, we get an Invalid IP Address error immediately, even before any Yaf screen is shown. The error is shown below. If I switch on my VPN, I can access the forum normally. The only difference I can see between my normal network and the VPN is that my normal IP address (which gives an error) is IPv6, and my VPN IP address is IPv4. I don’t know if that is relevant. Can you help?

Here’s the error:

Server Error in '/' Application.

Invalid ip address.
Parameter name: ip

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentOutOfRangeException: Invalid ip address.
Parameter name: ip

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentOutOfRangeException: Invalid ip address.
Parameter name: ip]
YAF.Utils.Helpers.IPHelper.Str2IP(String[] ip) +189
YAF.Utils.Helpers.IPHelper.IsBanned(String ban, String chk) +353
YAF.Core.Services.Startup.<>c__DisplayClass3.<RunService>b__2(String row) +12
System.Linq.Enumerable.Any(IEnumerable`1 source, Func`2 predicate) +146
YAF.Core.Services.Startup.StartupCheckBannedIps.RunService() +181
YAF.Core.Services.Startup.BaseStartupService.Run() +28
YAF.Core.IHaveServiceLocatorExtensions.<RunStartupServices>b__5(IStartupService service) +8
YAF.Types.Extensions.EnumerableExtensions.ForEach(IEnumerable`1 list, Action`1 action) +184
YAF.Core.IHaveServiceLocatorExtensions.RunStartupServices(IHaveServiceLocator serviceLocator) +532
YAF.Core.Services.Startup.PageRequestLoadServices.RequestedPage_PreInit(Object sender, EventArgs e) +27
System.Web.UI.Page.OnPreInit(EventArgs e) +9774850
System.Web.UI.Page.PerformPreInit() +37
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +296

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1637.0
Topic Starter
  • paulherzlich
  • Rank: YAF Forumling
  • Reputation:
    Neutral
    52.6%
  • Joined: 24/05/2014
  • Posts: 4
#2
I can confirm the issue. At the moment YAF can not handle IP v6 Addresses. I'm working on a fix, but this will take a few days to implement all the changes.
UserPostedImage
  • tha_watcha
  • Rank: YAF.NET Project Lead
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.
  • Joined: 06/03/2010
  • Posts: 4,005
  •  Germany
  • Thanks: 73 times
  • Was thanked: 1207 time(s) in 1032 post(s)
#3
This issue will be fixed in YAF.NET 2.2.4
UserPostedImage
  • tha_watcha
  • Rank: YAF.NET Project Lead
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.
  • Joined: 06/03/2010
  • Posts: 4,005
  •  Germany
  • Thanks: 73 times
  • Was thanked: 1207 time(s) in 1032 post(s)
Users browsing this topic

Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved