I'm supporting an Angular's website with Java as backend.
The problem is when the browser's cache was cleaned the URL returns NS_ERROR_DOM_BAD_URI
. In a second call, the same URL run OK. Does anyone have any idea that what was happen?
Test after the browser's cache was cleaned
GET /v/data?cod=1&pageSize=10&page=0 undefined
Host: homol.com.br
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Accept: application/json, text/plain, */*
Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate, br
Authorization: Bearer xxx
client_id: xxx
Content-Type: application/json
Origin: http://angular-nodejs.homologacao.com.br
Connection: keep-alive
Referer: http://angular-nodejs.homologacao.com.br/
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
Test after the error before:
GET /v/data?cod=1&pageSize=10&page=0 HTTP/1.1
Host: homol.com.br
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Accept: application/json, text/plain, */*
Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate, br
Authorization: Bearer xxx
client_id: xxx
Content-Type: application/json
Origin: http://angular-nodejs.homologacao.com.br
Connection: keep-alive
Referer: http://angular-nodejs.homologacao.com.br/
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
P.S. Note that the HTTP/1.1 in the first test is undefined.