Forums

XFI IT
XFI IT
Offline
Resolved
0 votes
ClearOS7
Previously I had been able to install clearos before getting stymied with Samba Directory. Now I can get the system registration step.
DNS test on https://...:81/app/network/dns works fine
...
Registration https://...:81/app/registration returns "Error Unable to contact remote server."

From a shell console I can see I have an IP adress, I can ping my router. I can resolve www.clearos.com if I try to wget www.clearos.com I get a connection refused error which is fine.

However what I can tell is that networking apears to be fine, IP, routing, and DNS, but clearos doesn't seem to like my host.
Monday, September 25 2017, 07:34 PM
Share this post:
Responses (9)
  • Accepted Answer

    Friday, June 07 2019, 12:43 PM - #Permalink
    Resolved
    0 votes
    As in the earlier posts, do you have a DSL connection to the internet? If so, what MTU are you using?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, June 07 2019, 12:15 PM - #Permalink
    Resolved
    0 votes
    I'm getting an error when attempting to register my ClearOS server.
    Connection failed: Failed to connect to 52.6.150.76: Network is unreachable

    Attempted to use the link provided: https://cos7-ws1.clearsdn.com/ws/1.2/registration/
    Receive {"code":2,"errmsg":"Invalid method."}

    Installing ClearOS 7.6
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, September 26 2017, 03:18 PM - #Permalink
    Resolved
    0 votes
    Is there a reason that would matter?


    Yes...we have seen in a few rare cases that the MTU setting on the ClearOS gateway can 'chop' packets during the SSL handshake and break the establishment of a secure connection.

    Does it return a 403? Can't recall.

    Feel free to open a support ticket so you can provide some private information (eg. account, your IP etc.), and I we can get to the bottom of this quicker.

    B
    The reply is currently minimized Show
  • Accepted Answer

    XFI IT
    XFI IT
    Offline
    Tuesday, September 26 2017, 02:51 PM - #Permalink
    Resolved
    0 votes
    Ben Chambers wrote:

    Are you on a DSL connection to the Internet?


    Is there a reason that would matter? Three hosts do a GET on the link you provided. Windows web browser returns {"code":2,"errmsg":"Invalid method."} , CentOS 7 host using wget resolves URL to IP and returns {"code":2,"errmsg":"Invalid method."} , ClearOs 7 host using wget returns resolve URL to IP and gets Connection refused.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, September 25 2017, 09:35 PM - #Permalink
    Resolved
    0 votes
    Are you on a DSL connection to the Internet?
    The reply is currently minimized Show
  • Accepted Answer

    XFI IT
    XFI IT
    Offline
    Monday, September 25 2017, 09:17 PM - #Permalink
    Resolved
    0 votes
    If I access that URL from a web browser on the same network I get "{"code":2,"errmsg":"Invalid method."}", If I access that URL from the ClearOS host I get a connection refused error.

    comparing the ClearOS host to grabbing that URL with another Linux host from the same network. (that is they both present the same IP to the world)


    [sysadmin@utllnx1.gene.int.co1:~/temp]$ wget --no-check-certificate https://cos7-ws1.clearsdn.com/ws/1.2/registration/ ; cat index.html
    --2017-09-25 17:14:26-- https://cos7-ws1.clearsdn.com/ws/1.2/registration/
    Resolving cos7-ws1.clearsdn.com... 52.6.150.76
    Connecting to cos7-ws1.clearsdn.com|52.6.150.76|:443... connected.
    WARNING: certificate common name “ws.clearsdn.com” doesn’t match requested host name “cos7-ws1.clearsdn.com”.
    HTTP request sent, awaiting response... 200 OK
    Length: 60 [application/json]
    Saving to: “index.html”

    100%[============================================================================>] 60 --.-K/s in 0s

    2017-09-25 17:14:27 (5.14 MB/s) - “index.html” saved [60/60]

    {"code":2,"errmsg":"Invalid method."}
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Monday, September 25 2017, 08:23 PM - #Permalink
    Resolved
    0 votes
    The reply is currently minimized Show
  • Accepted Answer

    XFI IT
    XFI IT
    Offline
    Monday, September 25 2017, 07:45 PM - #Permalink
    Resolved
    0 votes
    Version 7
    The reply is currently minimized Show
  • Accepted Answer

    Monday, September 25 2017, 07:43 PM - #Permalink
    Resolved
    0 votes
    Version 6 or 7?
    The reply is currently minimized Show
Your Reply