Omada Controller blocks a second GET request to External Portal Server

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

Omada Controller blocks a second GET request to External Portal Server

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Omada Controller blocks a second GET request to External Portal Server
Omada Controller blocks a second GET request to External Portal Server
2024-06-15 17:02:59
Model: OC200  
Hardware Version: V1
Firmware Version: 1.21.7

Hi everyone, I try to implement an External Portal Server for Authentication. I am using Nginx and Django to run a Log-in page.

 

I'm struggling with the get portal page step (which is step no. 5 and 6 in this link  https://www.tp-link.com/th/support/faq/3231/ ) 

The problem is when omada controller redirect the client to portal page with all parameter, client could not receive a second GET request from Nginx and Django (static file in Django eg. image, CSS). Omada Controller allows only first request which is made after omada controller sent redirect to client and blocks all other GET request.

 

Does anyone has this experience? 

 

Here is log from Nginx when I test in local pc:

192.168.0.10 - - [15/Jun/2024:17:12:35 +0700] "GET /login/?clientMac=<<hide>>&clientIp=192.168.0.10&t=1718268805&site=<<hide>>&redirectUrl=http%3A%2F%2Fcaptive.apple.com%2Fhotspot-detect.html&apMac=<<hide>>&ssidName=<<hide>>&radioId=1 HTTP/1.1" 200 699 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
192.168.0.10 - - [15/Jun/2024:17:12:35 +0700] "GET /static/omada/index.css HTTP/1.1" 200 1996 "http://192.168.0.45:8888/login/?clientMac=<<hide>>&clientIp=192.168.0.10&t=1718268805&site=<<hide>>&redirectUrl=http%3A%2F%2Fcaptive.apple.com%2Fhotspot-detect.html&apMac=<<hide>>&ssidName=<<hide>>&radioId=1" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
192.168.0.10 - - [15/Jun/2024:17:12:35 +0700] "GET /static/omada/index.js HTTP/1.1" 200 13184 "http://192.168.0.45:8888/login/?clientMac=<<hide>>&clientIp=192.168.0.10&t=1718268805&site=<<hide>>&redirectUrl=http%3A%2F%2Fcaptive.apple.com%2Fhotspot-detect.html&apMac=<<hide>>&ssidName=<<hide>>&radioId=1" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
192.168.0.10 - - [15/Jun/2024:17:12:35 +0700] "GET /static/omada/portalLogo_picture%402x.png HTTP/1.1" 200 6040 "http://192.168.0.45:8888/login/?clientMac=<<hide>>&clientIp=192.168.0.10&t=1718268805&site=<<hide>>&redirectUrl=http%3A%2F%2Fcaptive.apple.com%2Fhotspot-detect.html&apMac=<<hide>>&ssidName=<<hide>>&radioId=1" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"

 

But log from Nginx when I test with Omada network:

192.168.0.10 - - [15/Jun/2024:17:24:37 +0700] "GET /login/?clientMac=<<hide>>&clientIp=192.168.0.10&t=1718268805&site=<<hide>>&redirectUrl=http%3A%2F%2Fcaptive.apple.com%2Fhotspot-detect.html&apMac=<<hide>>&ssidName=<<hide>>&radioId=1 HTTP/1.1" 200 696 http://192.168.0.45:8888/login/?clientMac=<<hide>>&clientIp=192.168.0.10&t=1718268805&site=<<hide>>&redirectUrl=http%3A%2F%2Fcaptive.apple.com%2Fhotspot-detect.html&apMac=A8-42-A1-C8-06-A4&ssidName=cloudcom&radioId=1" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"

 

Hardware Specification:

OC200 v1.0 version 5.7.6 firmware 1.21.7

ER605 v2.0 version 2.1.2

EAP610(US) v3.0 version 1.3.2

 

  0      
  0      
#1
Options