Access through fwd-servers fails but access thru WAN IP works, why?

Hi guys

I have a problem with a box I can’t access through the forward servers. The funny thing is, I can access this box through mios control panel (cp.mios.com) and by using the WAN IP directly, e.g. http://ip:3480/data_request?id=xxx

How can this be? The box is not on my local network, un-NAT’ed and therefore accessible on the IP address.

The mios username is 1119 and the serial is 15588

Kind regards

/Mikkel

Also, I’ve noticed that I sometimes get an HTTP 500 error from the forward servers. Is that when I access them too frequently, or what is causing this?

When you are connecting to the box through cp.mios.com you’re actually using one of the fwd servers. How are you trying to connect through the fwd servers?

When the boxes are connectible directly, I am not using the fwd-server. However if the device DOES NOT have a direct connection to the internet, you are correct, but here this is not the case.

When trying through the fwd-servers, I’m trying both of

https://fwd1.mios.com/USER/PASS/SERIAL/data_request?id=lu_status
https://fwd2.mios.com/USER/PASS/SERIAL/data_request?id=lu_status for instance

… and both return no reply most of the times, for a lot of my boxes

EDIT:

Using Firebug, I have captured two sessions, where I log into cp.mios.com and click the “Dashboard” link, to get the UI4. When I try a box that has a direct connection I am communicating through the box’s WAN address, and no connection to fwdX.mios.com is made.

When I try to connect to a box that is NAT’d and thus has no direct connection, I can see that all communication goes through the relevant fwd-server. If you want, I can show you the logs…

Can I please get a comment on the above?

Also, why do I get so many of these errors when I try to access my devices through the forward servers?

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
  <title>500 - Internal Server Error</title>
 </head>
 <body>
  <h1>500 - Internal Server Error</h1>
 </body>
</html>

It seems like this error occurs more frequently if I access the servers rapidly - e.g. 10 requests within a minute or so. Is this error really some sort of “spam protection”, to tell me to throttle down? It’s pretty difficult to guess how this stuff works, so I would really appreciate some feedback on this :slight_smile: