Omada Cloud 4.4.6 ubuntu

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Omada Cloud 4.4.6 ubuntu

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Omada Cloud 4.4.6 ubuntu
Omada Cloud 4.4.6 ubuntu
2021-12-03 14:17:54 - last edited 2021-12-03 14:19:56

Dear community and TP-link

 

What a shitshow is your API documentation. I followed the guide provided by TP-LINK to establish an external portal server connection. After hours of searching the only thing I get is errorcode -1 / general error.

 

I opened up the logs and this is what is happening:

 

Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `com.tplink.omada.service.vo.portal.ExtAuthReqVO` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('clientMac=C0-06-C3-FF-EB-E2&apMac=14-7D-DA-A9-CA-B5&ssidName=Omada+Portal&radioId=1000&site=q9fsGe0P&time=3600000&authType=0')

 

or

 

Caused by: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'clientMac': was expecting ('true', 'false' or 'null')
 at [Source: (String)"clientMac=C0-06-C3-FF-EB-E2&apMac=14-7D-DA-A9-CA-B5&ssidName=Omada+Portal&radioId=1000&site=q9fsGe0P&time=3600000&authType=0"; line: 1, column: 10]

 

I tried multiple variants:

 

clientMac=C0-06-C3-FF-EB-E2&apMac=14-7D-DA-A9-CA-B5&ssidName=Omada+Portal&radioId=1000&site=q9fsGe0P&time=3600000&authType=0

 

clientMac=C0-06-C3-FF-EB-E2;apMac=14-7D-DA-A9-CA-B5;ssidName=Omada+Portal;radioId=1000&site=q9fsGe0P;time=3600000;authType=0

 

and so on...

 

Update your freaking guides please and deliver some proper api documentation.

 

Thanks

  0      
  0      
#1
Options
2 Reply
Re:Omada Cloud 4.4.6 ubuntu
2021-12-03 16:51:34

@AMPLR 

 

Man im confused, why is it giving me site=null? When the url got from the controller properly gives a siteId.

 

2021-12-03 17:25:59 [qtp426960147-603] [INFO]-[SourceFile:207] - Handling GET /portal/entry: PortalController.PortalParamModel(cid=14-7D-DA-A9-CA-B5, cip=94.105.108.79, t=1638548754, previewSite=null, error=null, u=detectportal.firefox.com/canonical.html, site=null, ap=C0-06-C3-FF-EB-E2, ssid=Omada Portal, rid=1, gateway=null, vid=null)

 

 

  0  
  0  
#2
Options
Re:Omada Cloud 4.4.6 ubuntu
2021-12-28 08:54:03 - last edited 2021-12-28 08:54:42

Dear @AMPLR,

 

Sorry for my late reply.

It seems that your request parameters are not in JSON format.

May I know what language you used to build the portal server?

 

Are you following the document to establish the external portal server?

The Requirements of Establishing an External Portal Server (above Omada Controller 4.1.5)

Kind note that the sample codes provided in the above document use PHP scripts.

 

>> Omada EAP Firmware Trial Available Here << *Try filtering posts on each forum by Label of [Early Access]*
  0  
  0  
#3
Options