Error The requested URL could not be retrived : Access Denied

46 views
Skip to first unread message

Shakthi S S

unread,
Mar 17, 2016, 4:06:41 AM3/17/16
to Grase Hotspot
i got the following error while try to browse the http website . but i can able to browse the https websites.

ERROR
The requested URL could not be retrived
The Following eror was encountered while trying to retrive the URL : http Website
Access Denied
Access Control Configuration prevents your request from being allowed at this time. Please contact your service provider if your feel this is incorrect

Shakthi S S

unread,
Mar 18, 2016, 12:13:09 PM3/18/16
to Grase Hotspot
Actually After Change the LAN IP Address Then Only I getting the access denied error. Please help to solve this. where  i need to update the lan ip.

Timothy White

unread,
Mar 18, 2016, 5:54:56 PM3/18/16
to Grase Hotspot

What IP range did you define in the admin interface?

Tim

--
This mailing list is for the Grase Hotspot Project http://grasehotspot.org
---
You received this message because you are subscribed to the Google Groups "Grase Hotspot" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grase-hotspo...@grasehotspot.org.
To post to this group, send email to grase-...@grasehotspot.org.
Visit this group at https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
To view this discussion on the web visit https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/fca96c0c-f992-4978-9d3c-2e6bd6decdfa%40grasehotspot.org.

Shakthi S S

unread,
Mar 19, 2016, 1:06:30 AM3/19/16
to Grase Hotspot
LAP IP Address : 192.165.0.155 
DHCP Range  : 101 to 150

Shakthi S S

unread,
Mar 19, 2016, 1:07:27 AM3/19/16
to Grase Hotspot


On Saturday, March 19, 2016 at 10:36:30 AM UTC+5:30, Shakthi S S wrote:
LAN IP Address : 192.165.0.155/24

Timothy White

unread,
Mar 19, 2016, 2:57:15 AM3/19/16
to Grase Hotspot
Thats a very strange "network". A /24 doesn't start at 155. Is that the client IP or the range you've put into the Admin interface?

Shakthi S S

unread,
Mar 19, 2016, 3:19:54 AM3/19/16
to Grase Hotspot
This is my setup

LAN IP Address 192.165.0.155
Subnet 255.255.255.0
LAN Network : 192.165.0.0/24
DHCP Start from : 101 to 150
Wifi AP 1 : IP Address 192.165.0.201/Subnet 255.255.255.0/ Gateway 192.165.0.155/DNS 4.2.2.2
Wifi AP 2 : IP Address 192.165.0.202/Subnet 255.255.255.0/ Gateway 192.165.0.155/DNS 4.2.2.2

Assign IP Address to Mobile Device through Grase Range from 192.165.0.101 to 150.

Thanks

Timothy White

unread,
Mar 19, 2016, 3:43:09 AM3/19/16
to Grase Hotspot
Ah.

The problem is you are assigning public IP addresses, not private IP addresses.

192.165.0.0/24 isn't a private address, you could potentially conflict with a real IP address on the internet. By default, we only allow private IP's to ensure we don't accidentally use public IP's.

Also, you should probably follow normal networking convention. Don't put your gateway in the middle of an IP range

$ sipcalc 192.165.0.0/24
-[ipv4 : 192.165.0.0/24] - 0

[CIDR]
Host address - 192.165.0.0
Host address (decimal) - 3232038912
Host address (hex) - C0A50000
Network address - 192.165.0.0
Network mask - 255.255.255.0
Network mask (bits) - 24
Network mask (hex) - FFFFFF00
Broadcast address - 192.165.0.255
Cisco wildcard - 0.0.0.255
Addresses in network - 256
Network range - 192.165.0.0 - 192.165.0.255
Usable range - 192.165.0.1 - 192.165.0.254


You can see that the range starts at .1 and goes t0 .254. Ideally you should put your Gateway (Grase Server) on either of those IP's.

I recommend you use the defaults, 10.1.0.0/24 with 10.1.0.1 as the Grase server IP.

Regards

Tim

Shakthi S S

unread,
Mar 19, 2016, 3:50:48 AM3/19/16
to Grase Hotspot
I Will Change my Network as you recommented

Thanks Tim

Henry Terkura Swende

unread,
Mar 19, 2016, 4:33:19 AM3/19/16
to grase-...@grasehotspot.org

That's a very strange network; 192.165.0.0/24! Not sure what you are trying to achieve but you sure aren't following the rules for networking...
But this error "ERROR


The requested URL could not be retrived
The Following eror was encountered while trying to retrive the URL : http Website
Access Denied

Access Control Configuration prevents your request from being allowed at this time. Please contact your service provider if your feel this is incorrect" will be fun to understand

Timothy White

unread,
Mar 19, 2016, 5:45:12 AM3/19/16
to Grase Hotspot

Henry,

The error comes from squid as the default settings are to only allow access from the private IP address ranges. As that IP isn't in the private range it blocks access.

Tim

Reply all
Reply to author
Forward
0 new messages