Error : out of bounds - while Import cities

Hi, after the install of axelor, I am blocked with the following instant error when I try to import all cities :

Une erreur est survenue. Les villes/communes n’ont pas pu être importées. Veuillez vous référer au fichier d’erreur attaché pour plus de détails.
Index 11 out of bounds for length 11 at com.axelor.apps.base.service.imports.ImportCityServiceImpl.extractDataZipImport(ImportCityServiceImpl.java:413).

Then if I try with France only, the process start for a minute, then I get the following errors :

504 Gateway Time-out
nginx/1.18.0 (Ubuntu)

CONFIG :
Axelor v7.2.6
ubuntu
openjdk11
postgres12
tomcat 9.0.85
nginx/1.18.0,

Hi @fecarian
How did you tried to import cities? With automatic retrive or with uploaded zip?

https://download.geonames.org/export/zip/FR.zip

Also, did you created the country before import?

https://www.geonames.org/countries/

FR FRA 250 FR [France]

Yes it worked for France but I had to :

  1. disconnect firewall

  2. change the nginx.conf file timeout parameter

http {
    ...
    proxy_read_timeout 1200;
    proxy_connect_timeout 1200;

}
  1. Rename country « FRANCE » to « France »

But for « All countries / All countries » I still have this issue :

LOG ERROR :

Index 11 out of bounds for length 11 at com.axelor.apps.base.service.imports.ImportCityServiceImpl.extractDataZipImport(ImportCityServiceImpl.java:413)

I also have this error when I inspect the page infos with google dev


WebSocket connection to 'wss://MY_OWN_URL/axelor-erp-v7.2.6/websocket' failed:
Il se peut que la page Web à l'adresse **wss://MY_OWN_URL/axelor-erp-v7.2.6/websocket** soit temporairement inaccessible ou qu'elle ait été déplacée de façon permanente à une autre adresse Web.
ERR_UNKNOWN_URL_SCHEME

@fecarian if for some reason automatic retreive does not work, you should download the zip from the following link:

https://download.geonames.org/export/zip/FR.zip

And choose « manual » to upload.

1 « J'aime »

Ce sujet a été automatiquement fermé après 30 jours. Aucune réponse n’est permise dorénavant.