[OpenNESS-dev] controller portal login - CORS error

Mokhtar, Amr amr.mokhtar at intel.com
Tue Mar 3 15:02:58 UTC 2020

Hi Santi,
Can you report this on GitHub issues? https://github.com/open-ness/edgecontroller/issues
So that others who are not following the mailing list may benefit from it.


From: Developer <developer-bounces at mail.openness.org> On Behalf Of Santi Rodríguez via Developer
Sent: Tuesday 3 March 2020 16:55
To: developer at mail.openness.org
Subject: [OpenNESS-dev] controller portal login - CORS error


I've installed a controller+node following the https://github.com/open-ness/specs/blob/master/doc/getting-started/network-edge/controller-edge-node-setup.md guide.

I'm trying to access the controller portal from another host than controller, so I've exposed the eaa kubernetes service (eaa-exposed):

NAME               TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)                      AGE
eaa                ClusterIP   None           <none>        80/TCP,443/TCP               19h
eaa-exposed        NodePort   <none>        80:30228/TCP,443:30146/TCP   6h19m
edgedns            ClusterIP   None           <none>        53/UDP,4204/TCP              19h
interfaceservice   ClusterIP   None           <none>        42101/TCP                    19h
nfd-master         NodePort   <none>        8080:32416/TCP               19h
syslog-master      ClusterIP   None           <none>        6514/UDP                     19h

then I changed the ".env" file to point the REACT_APP_CUPS_API=http://<controller-host-ip>:30228
but after executing the make ui-up, when i tried to login http://<controller-host-ip>:3000/login<http://%3ccontroller-host-ip%3e:3000/login>, a CORS error is returned:
[cid:image001.png at 01D5F1AF.E01A04B0]

How can I access the portal?
What am I doing wrong?

Thank you
BR, Santi

Santiago Rodríguez García

Research & Innovation Analyst

f| +34 986 410 091 ext. 227


We inform you that the contact data contained in this message are exclusively used for the purpose of enabling the communications through the e-mail. We inform you that you may exercise the rights of access, rectification, deletion, portability, limitation or opposition, to this end you shall either contact OPTARE SOLUTIONS S.L. located at Parque Tecnológico y Logístico de Vigo, calle C, NAVE C-7 (36315) PONTEVEDRA or send an e-mail to rgpd at optaresolutions.com<mailto:rgpd at optaresolutions.com>. In both cases you must provide copy of your identification document. According to the Law 34/2002 of July 11thm on the Information Society Services and Electronic Commerce, this message and any attached files, may contain confidential information, consequently we hereby inform you that any unauthorised use of such confidential information is prohibited by the law. If you have received this message in error, please notify us immediately in this e-mail and destroy the original communication and its attachments without reading or saving, entirely or partially. If you want to know our Privacy Policy, please visit: https://optaresolutions.com/en/legal-notice/ Vea la versión en español de este texto aquí<https://optaresolutions.com/texto-legal/>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openness.org/pipermail/developer/attachments/20200303/4ea8644f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 17839 bytes
Desc: image001.png
URL: <http://mail.openness.org/pipermail/developer/attachments/20200303/4ea8644f/attachment-0001.png>

More information about the Developer mailing list