BMW-InnovationLab/BMW-TensorFlow-Training-GUI

URL malformed on RHEL

mistaleee opened this issue · 8 comments

Hi!

I am trying to install the BMW Training GUI on a RHEL machine --> AC922, IBM Power architecture (ppc64le).

I reach the landing page with http://172.22.68.64:4200/training, but then I get a notification:

'The URI is malformed' in Firefox.

URL_malformed

Failed to execute 'open' on 'XMLHttpRequest': Invalid URL in chromium:

failed_to_execute_open_on_xmlhttprequest_invalid_url

The requesting machine is in the same network and has the operating system: Ubuntu 18.04.

I installed the setup also on the requesting machine Ubuntu 18.04. and it worked (i don´t think it´s network related). I´ve been searching in the code for anything which could cause the error, but I cannot find it.

Does anyone have an idea what causes the problem or even a solution on how the problem can be solved?

I appreciate any hints. Thanks.

JoeSL commented

It seems like an issue with the URL format. It would be helpful if you could open the network tab of the browser and try to refresh the page so you could see the URL that app is trying to reach.

Another helpful thing that you could do is to provide screenshots of your environment.ts and environment.prod.ts files.

Hi Joe,

sorry for the late reply.

I took a screenshot of the environment.ts (the environment.prod.ts looks the same)

image

I also took a screenshot of the network tab:

image

I installed the setup on an Ubuntu machine and if I look at the network tab, it looks like this:

image

Actually, I don´t see which URL is requested in the network tab or at least nothing which is conspicuous.

JoeSL commented

Hello,

Okay could you please try and click on any of the get_finished_jobs you see in the network tab, this will give us more information about the transaction that happened. Also could you make sure that the api is running on the specified IP? Just enter the ip you provided in your browser and make sure it is reachable.

Hello,

when I enter http://172.22.68.64:4200/training, i get to the start page

image

I can also ping the machine (it is in the same network). So, it´s reachable.

Unfortunately, it is not requesting the get_finished_jobs as i see in the network tab:
image

But when I enter it manually (http://172.22.68.64:2222/get_finished_jobs), I get an empty array back with the http message 200 OK.

In the console tab, I see following error (browser = chromium):
image

I guess there might be something wrong with the routing or building the correct URL. What do you think?

any updates on this?

JoeSL commented

It might be a browser related issue. Could you try to use regular chrome instead of chromium and trying again?

Yes, I tried. It is the same issue coming up.

@mistaleee Is this problem still relevant?