GreaterWMS / GreaterWMS

This Inventory management system is the currently Ford Asia Pacific after-sales logistics warehousing supply chain process . After I leave Ford , I start this project . You can share your vacant warehouse space, use it for those in need, and generate income
https://www.56yhz.com/
Apache License 2.0
3.71k stars 948 forks source link

[BUG] Cannot register Admin Network Exception #251

Closed pupank closed 1 year ago

pupank commented 1 year ago

Cannot register admin it says Network exception execption

Singosgu commented 1 year ago

change your baseurl and quasar build

pupank commented 1 year ago

thank you for the reply im sorry but its my first time run this system. how should i change quasar and base url? for baseurl i already changed it to my ip

Singosgu commented 1 year ago

GreaterWMS/templates/public/statics/baseurl.txt

asoral commented 1 year ago

I changed the base url too but still the same error

abdellaui commented 1 year ago

same here, changing baseurl doesnt help, see: https://github.com/abdellaui/GreaterWMS/blob/master/templates/public/statics/baseurl.txt

Singosgu commented 1 year ago

http://greaterwms.onrender.com:80/

dotruong1994 commented 1 year ago

I got the same problem, anyone has a solution yet?

abdellaui commented 1 year ago

@Singosgu any ideas?

Singosgu commented 1 year ago

@abdellaui you lost one '/'

abdellaui commented 1 year ago

@Singosgu look at https://github.com/abdellaui/GreaterWMS/commits/master

I tried all possible combinations, but it seems to not work... are you sure that the missing / was the reason? i tried everything. with custom domain and with onrender.com domain

Singosgu commented 1 year ago

@abdellaui It seems you don't know how to exploy

http://greaterwms.onrender.com/

or

https://greaterwms.onrender.com/

is ok.

abdellaui commented 1 year ago

@Singosgu thx for your help. i tried this, but seems to not work :/

Singosgu commented 1 year ago

you must use nginx

abdellaui commented 1 year ago

@Singosgu thank you a lot for helping me out. Do you know if render.com supports nginx? I updated my nginx.conf lilke this:

https://github.com/abdellaui/GreaterWMS/blob/master/nginx.conf

Singosgu commented 1 year ago

line 52 root /;

it must be GreaterWMS base folder

line 64 proxy_pass http://wms.davinci-consulting.net/; it is proxy_pass http://GreaterWMS/;

I don't find your ssl key and pem

So your nginx will not run

abdellaui commented 1 year ago

@Singosgu i removed all ssl/tls related code, so it should work without the keys, but it doesnt work :/

Singosgu commented 1 year ago

you should know how to use nginx and linux

bugprogram-git commented 1 year ago

use docker deploy and is not work

bugprogram-git commented 1 year ago

when i register to admin it execption network error

bugprogram-git commented 1 year ago

this docker image have some problem this is the docker-compose logs 2023-03-22 17:24:49,837 INFO RPC interface 'supervisor' initialized greaterwms_backend | 2023-03-22 17:24:49,837 CRIT Server 'unix_http_server' running without any HTTP authentication checking greaterwms_backend | 2023-03-22 17:24:49,837 INFO supervisord started with pid 13 greaterwms_backend | 2023-03-22 17:24:50,838 INFO spawnerr: can't find command 'daphne' greaterwms_backend | 2023-03-22 17:24:51,840 INFO spawnerr: can't find command 'daphne' greaterwms_backend | 2023-03-22 17:24:53,842 INFO spawnerr: can't find command 'daphne' greaterwms_backend | 2023-03-22 17:24:56,845 INFO spawnerr: can't find command 'daphne' greaterwms_backend | 2023-03-22 17:24:56,846 INFO gave up: greaterwms entered FATAL state, too many start retries too quickly

Singosgu commented 1 year ago

ok,we will fix it

bugprogram-git commented 1 year ago

I would like to know what the function of this baseurl.txt is. If my project is to be deployed on the public network, should this be changed to the ip and port of the public network?

Singosgu commented 1 year ago

no you can use domin

nug1e commented 1 year ago

ok,we will fix it

any update about this issue?

Singosgu commented 1 year ago

next week we will release 3.0

xiaobaitingtao commented 4 months ago

这个问题解决了吗?我使用域名,CF的15年的ssl证书,也试了内网地址,各种方法都试了,依然不行。@Singosgu

Singosgu commented 4 months ago

your problem is Nginx skill , not GreaterWMS

xiaobaitingtao commented 4 months ago

您的问题在于 Nginx 技术,而不是 GreaterWMS

我使用nginx proxy manager,我的反向代理没有问题。我没有使用你的nginx代码。依然报网络错误。

大家架设到公网上,都没有遇到此类问题吗?我架设好几遍。问题依旧。

Singosgu commented 4 months ago

那你Nginx代码截图发出来看一下