Skip to main content
belair55
Associate III
October 21, 2019
Solved

Package Server can not be reached 4.12.3

  • October 21, 2019
  • 6 replies
  • 1964 views

Hi,

I have started using touchgfx recently and am having trouble accessing examples. When I open the designer I am able to see my applications and online applications, but I cannot access the example UI's nor can I access any online applications.

I get a red cloud logo next to "Create New Application" that pops up telling me the package server cannot be reached and that no online packages can be found.

I get this in both 4.10 and 4.12.3. I am having our IT department look into this to make sure its not something on our end but is there any other reason this could be happening?

-Thank you.

This topic has been closed for replies.
Best answer by belair55

I seem to have gotten around this after a lengthy conversation with our external security provider. As TDK pointed out something was getting blocked. However, I got the same behavior as Henrik C as I was able to download the json.zip file through my browser with no issue.

During the course of my conversation with the external security rep he mentioned that on their end they saw requests that were for a different URL than the one mentioned in the error message we are seeing in TouchGFX. We tried white listing many addresses in an attempt to get the files to download through TouchGFX. We temporarily disabled the firewall and then I was able to download the packages, but according to the rep they didn't come from that URL contained in the TouchGFX error message.

After a couple days going back and forth with our external security we were able to waive the downloaded packages with our content filter.

Hopefully this information helps.

-Thank you.

6 replies

TDK
Super User
October 21, 2019

Are you behind a proxy/firewall? That’s my guess.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Martin KJELDSEN
Principal III
October 22, 2019

@TDK​ is on to something. But 4.12.3 has a feature where it will allow you to input your proxy settings, from within TouchGFX designer, if a certain error code is returned when trying to ping the package server.

Can you share your log, @belair55​ ? %APPDATA%/Touchgfx-4.12.3/

/Martin

belair55
belair55Author
Associate III
October 22, 2019

Hi Martin,

Here is my log

2019-10-21 11:04:59,623 [1] INFO TouchGFXDesigner.App: Logging configured

2019-10-21 11:05:01,020 [1] INFO TouchGFXDesigner.Main.MainWindow: Application started

2019-10-21 11:05:01,020 [1] INFO TouchGFXDesigner.Main.MainWindow: Username:

2019-10-21 11:05:01,020 [1] INFO TouchGFXDesigner.Main.MainWindow: Designer version: 4.12.3

2019-10-21 11:05:01,020 [1] INFO TouchGFXDesigner.Main.MainWindow: Designer installation path: C:\TouchGFX\4.12.3\designer

2019-10-21 11:05:01,020 [1] INFO TouchGFXDesigner.Main.MainWindow: Windows version: Microsoft Windows NT 10.0.18362.0

2019-10-21 11:05:01,020 [1] INFO TouchGFXDesigner.Main.MainWindow: Current culture: en-US

2019-10-21 11:05:01,020 [1] INFO TouchGFXDesigner.Main.MainWindow: Current culture time seperator: :

2019-10-21 11:05:01,020 [1] INFO TouchGFXDesigner.Main.MainWindow: Current culture date seperator: /

2019-10-21 11:05:01,036 [1] INFO TouchGFXDesigner.Main.MainWindow: Installed .NET version(s): v2.0.50727 2.0.50727.4927 SP2v3.0 3.0.30729.4926 SP2v3.5 3.5.30729.4926 SP1v4 (Client 4.8.03752 Full 4.8.03752 ) v4.0 (Client 4.0.0.0 )  

2019-10-21 11:05:07,009 [1] ERROR Utils.WebHandling.WebHandler: The operation has timed out

System.Net.WebException: The operation has timed out

  at System.Net.WebClient.OpenRead(Uri address)

  at Utils.WebHandling.WebHandler.RequestWithStringResponse(Uri uri)

2019-10-21 11:05:12,200 [1] ERROR Utils.WebHandling.WebHandler: The operation has timed out

System.Net.WebException: The operation has timed out

  at System.Net.WebClient.OpenRead(Uri address)

  at Utils.WebHandling.WebHandler.RequestWithStringResponse(Uri uri)

2019-10-21 11:05:23,004 [1] DEBUG TouchGFXDomainModel.LoadSave.Excel.ExcelHandler: Parsing done. Last text row: 15, last typ row: 7

2019-10-21 11:05:23,004 [1] DEBUG TouchGFXDomainModel.LoadSave.Excel.ExcelHandler: Valid text file.

2019-10-21 11:08:59,036 [16] ERROR Utils.WebHandling.WebHandler: The operation has timed out

System.Net.WebException: The operation has timed out

  at System.Net.HttpWebRequest.GetResponse()

  at Utils.WebHandling.ServerRequest.GetResponse()

  at Utils.WebHandling.WebHandler.RequestHeadStatusResponse(Uri uri)

2019-10-21 11:09:06,068 [7] ERROR Utils.WebHandling.WebHandler: The operation has timed out

System.Net.WebException: The operation has timed out

  at System.Net.HttpWebRequest.GetResponse()

  at Utils.WebHandling.ServerRequest.GetResponse()

  at Utils.WebHandling.WebHandler.RequestHeadStatusResponse(Uri uri)

2019-10-21 11:09:13,101 [22] ERROR Utils.WebHandling.WebHandler: The operation has timed out

System.Net.WebException: The operation has timed out

Henrik C
Associate
October 22, 2019

I get the same error. During the download, the red cloud flashes for a second or two. The error message says the downloading of some file has timed out. It then continues to 100% and fails, as described in my other thread. The files can be downloaded directly from the server using a web browser, so it is something in TouchGFX.

Martin KJELDSEN
Principal III
October 23, 2019

I'll run it by the designer guys first chance i get. See if they have an idea. Does the web-browser download complete fast? If there's a general speed problem maybe something is timing out (which is pooly handled by the designer but not by your browser).

/Martin

Henrik C
Associate
October 23, 2019

Yes, the webbrowser download was fast, but the file for the STM32H750 Demo is a full 182 MB so it took a few minutes.

belair55
belair55AuthorBest answer
Associate III
October 23, 2019

I seem to have gotten around this after a lengthy conversation with our external security provider. As TDK pointed out something was getting blocked. However, I got the same behavior as Henrik C as I was able to download the json.zip file through my browser with no issue.

During the course of my conversation with the external security rep he mentioned that on their end they saw requests that were for a different URL than the one mentioned in the error message we are seeing in TouchGFX. We tried white listing many addresses in an attempt to get the files to download through TouchGFX. We temporarily disabled the firewall and then I was able to download the packages, but according to the rep they didn't come from that URL contained in the TouchGFX error message.

After a couple days going back and forth with our external security we were able to waive the downloaded packages with our content filter.

Hopefully this information helps.

-Thank you.

Martin KJELDSEN
Principal III
November 6, 2019

Thanks, that's helpful! Glad it's working for you.

/Martin

VLau
Associate III
April 29, 2021

[Solved] Same problem. Red cloud sign with "Package server cannot be reached" message in Designer 4.16.1.

Tried 2 different networks tried reinstall Designer. I'm able to download package with my browser.

Romain DIELEMAN
ST Employee
April 29, 2021

Hi,

I gave a temporary fix in this post. Sorry for the inconvenience, we are working hard to fix this.

/Romain