https://signoz.io logo
Title
a

Ankit Nayan

09/22/2022, 1:01 PM
cc: @Prashant Shahi
s

Sudarsanam Krishnan

09/22/2022, 1:20 PM
I figured out the cause. It is due to cors section that I added as below in otel-collector-config.yaml
http: * endpoint: 0.0.0.0:4318 * cors: * allowed_origins: * - http://localhost:3000 * - http://*.ramco.com * - https://*.ramco.com
What's is wrong with the above section ?
p

Prashant Shahi

09/22/2022, 4:15 PM
@Sudarsanam Krishnan
telnet
should work irrespective of the config above. CORS only affects browsers.
Are you sure you have exposed the port
4318
?
s

Sudarsanam Krishnan

09/23/2022, 4:18 AM
Yes, self telnet works if I remove CORS section on the yaml and start the services. So it is for sure that the CORS section that I introduced is causing it.