eu-digital-green-certificates / dgca-issuance-web

Repository for the dgca issuance web app.
Apache License 2.0
107 stars 135 forks source link

Failed to load resource: the server responded with a status of 431 (Request Header Fields Too Large) #117

Open thisisrafael opened 2 years ago

thisisrafael commented 2 years ago

Using Chrome (but the same with any other browser) and Windows 10 for http://localhost:3000/dgca-businessrule-service/valuesets

image

I've had to change "proxy": "http://localhost:8080" with "proxy": "http://localhost:3000" in the package.json at line 61...

i've already deleted cookies for localhost:3000 and Cleared the Browsing data added --max-http-header-size 80000 on package.json ("start": "react-scripts start --max-http-header-size 80000") but nothing

Any idea? Thanks in advance

tommasogiannoni commented 2 years ago

the same anyone help ?

RhAbder commented 2 years ago

exactly the same problem here :/

GinCam commented 2 years ago

With "start": "react-scripts --max-http-header-size 120000 start", in package.json I have no more 431 error but it is still with a circle that spins. In the Web Developer console appears "no valid valueset hash" immagine

RhAbder commented 2 years ago

this app doesn't work anymore i think

andiz84 commented 2 years ago

errore i have this

lordspammy commented 2 years ago

Hi, i install the all and work fine but when call "Next" button......431 error a1 a2

Swordly81 commented 2 years ago

@lordspammy how come you got all the fields to fill while i get less fields and this error? An error occured: does not match pattern "[A-Z]{1,10}"

lordspammy commented 2 years ago

@lordspammy how come you got all the fields to fill while i get less fields and this error? An error occured: does not match pattern "[A-Z]{1,10}"

I used 1.0.8 version

Swordly81 commented 2 years ago

@lordspammy thanks... then did you menage to get past 431 error?

lordspammy commented 2 years ago

@lordspammy thanks... then did you menage to get past 431 error?

Nope. This issue is present in all versions

Swordly81 commented 2 years ago

@lordspammy mmmh... Does this thing ever worked for someone?

Alesgubbi commented 2 years ago

With "start": "react-scripts --max-http-header-size 120000 start", in package.json I have no more 431 error but it is still with a circle that spins. In the Web Developer console appears "no valid valueset hash" immagine

I have Error 431 as well, even with the header size increased.

lordspammy commented 2 years ago

Me too

Il Lun 1 Nov 2021, 12:20 Alesgubbi @.***> ha scritto:

With "start": "react-scripts --max-http-header-size 120000 start", in package.json I have no more 431 error but it is still with a circle that spins. In the Web Developer console appears "no valid valueset hash" [image: immagine] https://user-images.githubusercontent.com/88062979/139534716-6fad1221-5949-459d-bc02-7d9f0152200e.png

I have Error 431 as well, even with the header size increased.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eu-digital-green-certificates/dgca-issuance-web/issues/117#issuecomment-956110625, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWIU6WTHMGLIUZYBYCGON3TUJZSYRANCNFSM5G6MJW2A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Alesgubbi commented 2 years ago

Using Chrome (but the same with any other browser) and Windows 10

for http://localhost:3000/dgca-businessrule-service/valuesets

image

I've had to change "proxy": "http://localhost:8080" with "proxy": "http://localhost:3000" in the package.json at line 61...

i've already deleted cookies for localhost:3000 and Cleared the Browsing data

added --max-http-header-size 80000 on package.json ("start": "react-scripts start --max-http-header-size 80000") but nothing

Any idea? Thanks in advance

Try a bigger number, ad 1200000

lordspammy commented 2 years ago

Using Chrome (but the same with any other browser) and Windows 10 for http://localhost:3000/dgca-businessrule-service/valuesets image I've had to change "proxy": "http://localhost:8080" with "proxy": "http://localhost:3000" in the package.json at line 61... i've already deleted cookies for localhost:3000 and Cleared the Browsing data added --max-http-header-size 80000 on package.json ("start": "react-scripts start --max-http-header-size 80000") but nothing Any idea? Thanks in advance

Try a bigger number, ad 1200000

A bigger number cause another error: Network Error

Alesgubbi commented 2 years ago

Using Chrome (but the same with any other browser) and Windows 10

for http://localhost:3000/dgca-businessrule-service/valuesets

image

I've had to change "proxy": "http://localhost:8080" with "proxy": "http://localhost:3000" in the package.json at line 61...

i've already deleted cookies for localhost:3000 and Cleared the Browsing data

added --max-http-header-size 80000 on package.json ("start": "react-scripts start --max-http-header-size 80000") but nothing

Any idea? Thanks in advance

Try a bigger number, ad 1200000

A bigger number cause another error: Network Error

That's true. Javascript is taking every bit of memory. Hopeless

Blascox92 commented 2 years ago

@lordspammy how come you got all the fields to fill while i get less fields and this error? An error occured: does not match pattern "[A-Z]{1,10}"

same you

dranduil commented 2 years ago

Using Chrome (but the same with any other browser) and Windows 10

for http://localhost:3000/dgca-businessrule-service/valuesets

image

I've had to change "proxy": "http://localhost:8080" with "proxy": "http://localhost:3000" in the package.json at line 61...

i've already deleted cookies for localhost:3000 and Cleared the Browsing data

added --max-http-header-size 80000 on package.json ("start": "react-scripts start --max-http-header-size 80000") but nothing

Any idea? Thanks in advance

Try a bigger number, ad 1200000

A bigger number cause another error: Network Error

That's true. Javascript is taking every bit of memory. Hopeless

io ci sono riuscito e fatto, vi spiego il passaggio

vi scaricate la versione 1.0.10 poi aprite il pompt dei comandi

entrate nella cartella del progetto

cd <nome-progetto> una volta dentro , assicuratevi di avere Docker installato, altrimenti scaricatelo una volta installato docker il passaggio successivo sarà quello di creare VM con docker quindi digiterete questo:

docker-compose up -d

aspettate un pò perché vi dovrà scaricare tutta la roba sul container virtuale che vi creerà.

una volta fatto questo aprite la dashaboard di docker e andate su Containers/APP lì troverete un contenitore chiamato dgca-issuance-web-1010 se siete arrivati fin qui ... bene! siamo a metà strada. se cliccate sul contenitore vi si aprira una lista di sub contenitori . e ci concentreremo su dgca-issuance-web e vedrete delle icone, premete sull'icona >_ , vi si aprirà il terminale. se provate ad accedere su localhost:8080 vi renderete conto che non vi fa entrare perché vi chiederà una password.

che faremo noi? beh, creeremo un nuovo utente quindi nel terminale che vi si è aperto in precedenza cliccando su >_ dobbiamo installare questo apache2-utils e lo installeremo con i comandi di linux, in questo modo : apt-get install apache2-utils molto bene! ora basterà creare un utente nostro . sul terminale scrivete questo : htpasswd -c /etc/nginx/.htpasswd nome-utente ovviamente il nome-utente va sostituito con quello che voi volete , ok ? una volta fatto partire il comando vi chiederà di inserire una password, e vi richiederà di inserirla nuovamente.

fatto ciò , ragazzi è fatta! potete accedere a localhost:8080 e inserirete i vostri dati utente come le avete creati , accedete e il piatto è pronto, purtroppo il codice qr non è valido , qualcuno ha delle idee?