You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Discovery command on RFID gateway UI gives below error:
'Request failed. Status code of 202'
Repro steps:
Setup RFID gateway hardware as per documentation
Deploy the RFID device and app-inventory service with latest V3 code.
Go to http://127.0.0.1:59711/ RFID gateway UI
a) Right click on webpage, click on 'inspect' to open browser console
b) If CORS is not enabled on consul (by default CORS is disabled), notice that it gives CORS related errors on console but no
errors on UI.
c) Enable CORS on consul and set corsallowed origin on consul. Find attached consul screesnhtos.
d) Restart rfid-device service
e) Refresh RFID gateway UI
f) Open browser console
g) Click on 'Discovery'
Actual behavior: It gives request failed error with status code of 202 on UI and also on browser console.
Expected behavior: The UI should not complain about the 202 status code
In the debug logs it shows 'Discover triggered' message correctly,
lenny-goodell
changed the title
Discovery command on RRFID gateway gives error with status code 202
[LLRP] Discovery command on RRFID gateway gives error with status code 202
May 31, 2023
🐞 Bug Report
Affected Services [REQUIRED]
The issue is located in: RFID device serviceIs this a regression?
Not sureDescription and Minimal Reproduction [REQUIRED]
Discovery command on RFID gateway UI gives below error:
'Request failed. Status code of 202'
Repro steps:
Setup RFID gateway hardware as per documentation
Deploy the RFID device and app-inventory service with latest V3 code.
Go to http://127.0.0.1:59711/ RFID gateway UI
a) Right click on webpage, click on 'inspect' to open browser console
b) If CORS is not enabled on consul (by default CORS is disabled), notice that it gives CORS related errors on console but no
errors on UI.
c) Enable CORS on consul and set corsallowed origin on consul. Find attached consul screesnhtos.
d) Restart rfid-device service
e) Refresh RFID gateway UI
f) Open browser console
g) Click on 'Discovery'
Actual behavior: It gives request failed error with status code of 202 on UI and also on browser console.
Expected behavior: The UI should not complain about the 202 status code
In the debug logs it shows 'Discover triggered' message correctly,
Find attached debug logs, UI screenshots before and after enabling CORS.
_edgex-device-rfid-llrp_logs (2).txt
🔥 Exception or Error
🌍 Your Environment
Deployment Environment:
EdgeX Version [REQUIRED]:
Anything else relevant?
The text was updated successfully, but these errors were encountered: