Hi all,

I have used dspace angular docker image 7.6.1 and deployed on gcp 
kubernetes, I can see my application is running in workloads but when 
hitting the url it says Invalid Host header * with http status 304. *

I have not found any errors in UI logs, adding below. 
 " *yarn run v1.22.19*











































*$ yarn base-href$ ts-node --project ./tsconfig.ts-node.json 
scripts/base-href.tsBuilding production app configOverriding app config 
with /app/config/config.ymlUnable to find env config file at 
/app/config/config.production.yamlApplying environment variable 
DSPACE_REST_SSL with value trueApplying environment variable 
DSPACE_REST_HOST with value localhostApplying environment variable 
DSPACE_REST_PORT with value 80Applying environment variable 
DSPACE_REST_NAMESPACE with value /serverSetting baseHref to / in 
angular.json$ ts-node --project ./tsconfig.ts-node.json scripts/serve.ts 
--host 0.0.0.0Building production app configOverriding app config with 
/app/config/config.ymlUnable to find env config file at 
/app/config/config.production.yamlApplying environment variable 
DSPACE_REST_SSL with value trueApplying environment variable 
DSPACE_REST_HOST with value localhostApplying environment variable 
DSPACE_REST_PORT with value 80Applying environment variable 
DSPACE_REST_NAMESPACE with value /serverOption 'host' has been specified 
multiple times. The value '0.0.0.0' will be used.Warning: This is a simple 
server for use in testing or debugging Angular applicationslocally. It 
hasn't been reviewed for security issues.Binding this server to an open 
connection can result in compromising your application orcomputer. Using a 
different host than the one passed to the "--host" flag might result 
inwebsocket connection issues. You might need to use "--disable-host-check" 
if that's thecase.- Generating browser application bundles (phase: 
setup)...Building production app configOverriding app config with 
/app/config/config.ymlUnable to find env config file at 
/app/config/config.production.yamlApplying environment variable 
DSPACE_REST_SSL with value trueApplying environment variable 
DSPACE_REST_HOST with value localhostApplying environment variable 
DSPACE_REST_PORT with value 80Applying environment variable 
DSPACE_REST_NAMESPACE with value /serverAngular config.json file generated 
correctly at /app/src/assets/config.jsonProcessing legacy "View Engine" 
libraries:- angular-idle-preload [main/commonjs] 
(git+https://github.com/gdi2290/angular-idle-preload.git)- ngx-sortablejs 
[es2015/esm2015] (https://github.com/sortablejs/ngx-sortablejs)- 
ng2-file-upload [es2015/esm2015] ()Encourage the library authors to publish 
an Ivy distribution.✔ Browser application bundle generation 
complete.Initial Chunk Files    *
*........*
*.......*













*** Angular Live Development Server is listening on 0.0.0.0:3000, open your 
browser on http://localhost:3000/ **✔ Compiled successfully.✔ Browser 
application bundle generation complete.Initial Chunk Files | Names   | Raw 
Sizeruntime.js          | runtime | 14.46 kB |164 unchanged chunksBuild at: 
2024-07-05T15:08:17.617Z - Hash: 6d19f347a4b5a931 - Time: 49841ms*
*✔ Compiled successfully.* "


But after this nothing is coming in logs, it should print some backend 
connections logs seems here. I need yours help on this. What would be issue 
for " Invalid Host header"

However dspace backend 7.6.1 is also running and able to login through HAL 
Browser.

Thanks,
Manish Kumar 

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/65a23b66-2834-4ea0-8ec1-197814b4955cn%40googlegroups.com.

Reply via email to