콘텐츠로 건너뛰기
Odoo 메뉴
  • 로그인
  • 무료 체험하기
  • 앱
    재무 관리
    • 회계
    • 청구서 관리
    • 비용 관리
    • 스프레드시트 (BI)
    • 문서
    • 전자 서명
    판매
    • CRM
    • 판매
    • POS 스토어
    • POS 레스토랑
    • 구독
    • 렌탈
    웹사이트
    • 웹사이트 빌더
    • 이커머스
    • 블로그
    • 포럼
    • 실시간 채팅
    • 온라인 학습 관리
    공급망
    • 재고 관리
    • 제조 관리
    • 제품 수명주기 관리 (PLM)
    • 매입
    • 유지관리
    • 품질
    인적자원 관리
    • 직원
    • 채용
    • 휴가 관리
    • 인사 평가
    • 인재 추천
    • 차량 관리
    마케팅
    • 소셜 마케팅
    • 이메일 마케팅
    • SMS 마케팅
    • 행사
    • 마케팅 자동화
    • 설문 조사
    서비스
    • 프로젝트
    • 작업 기록
    • 현장 서비스
    • 헬프데스크
    • 일정 관리
    • 일정 예약
    생산성
    • 메일 및 채팅
    • 전자 결재
    • IoT
    • VoIP
    • 지식 센터
    • WhatsApp
    타사 앱 Odoo 스튜디오 Odoo 클라우드 플랫폼
  • 인더스트리
    리테일
    • 서점
    • 의류 매장
    • 가구점
    • 식료품점
    • 철물점
    • 장난감 가게
    식음료 & 숙박업
    • 바 & 펍
    • 레스토랑
    • 패스트푸드
    • 게스트 하우스
    • 음료 유통업체
    • 호텔
    부동산
    • 부동산 중개업체
    • 건축 회사
    • 건설
    • 부동산 관리
    • 가드닝
    • 부동산 소유자 협회
    컨설팅
    • 회계 법인
    • Odoo 파트너
    • 마케팅 대행사
    • 법률 사무소
    • 인재 영입
    • 감사 및 인증
    제조 관리
    • 텍스타일
    • 메탈
    • 가구
    • 푸드
    • 양조장
    • 기업용 선물
    건강 & 피트니스
    • 스포츠 클럽
    • 안경점
    • 피트니스 센터
    • 웰니스 전문가
    • 약국
    • 미용실
    사업
    • 핸디맨
    • IT 하드웨어 및 지원 서비스
    • 태양 에너지 시스템
    • 제화업체
    • 클리닝 서비스
    • HVAC 서비스
    기타
    • 비영리 단체
    • 환경 에이전시
    • 광고판 임대
    • 사진
    • 자전거 임대
    • 소프트웨어 리셀러
    전체 인더스트리 찾아보기
  • 커뮤니티
    학습
    • 튜토리얼
    • 문서
    • 인증
    • 훈련
    • 블로그
    • 팟캐스트
    교육 역량 강화
    • 교육 프로그램
    • Scale-Up! 경영관리 게임
    • Odoo에 방문해보세요
    소프트웨어 신청
    • 다운로드
    • 버전 살펴보기
    • 릴리즈 내역
    협업
    • Github
    • 포럼
    • 행사
    • 번역
    • 파트너 등록
    • 파트너 대상 서비스
    • 회계 법인 정보 등록
    서비스 신청
    • 파트너 검색
    • 회계사 검색
    • 전문 상담 예약
    • 구현 서비스
    • 고객 정보
    • 고객 지원
    • 업그레이드
    Github 유튜브 트위터 링크드인 인스타그램 페이스북 스포티파이
    +1 (650) 691-3277
    데모 예약하기
  • 요금제
  • 고객 지원

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • 회계
  • 재고 관리
  • PoS
  • 프로젝트
  • MRP
All apps
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
모든 게시물 사용자 배지
태그 (모두 보기)
odoo accounting v14 pos v15
게시판 정보
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
모든 게시물 사용자 배지
태그 (모두 보기)
odoo accounting v14 pos v15
게시판 정보
도움말

Kept having popup of "Connection Lost" and "Connection Restored" and also kept being disconnected

구독

이 게시물에 활동이 있으면 알림 받기

신고된 질문입니다
serviceserver
8 답글
61996 화면
아바타
Nathan

Hello,

I'm currently using Odoo 12.0+e-20181025. At first, we didn't have that problem, but lately it has become more and more unstable. When it happened, I and my users can't connect to Odoo. I tried checking the connection to the server and found it was normal and stable. But we can't connect to Odoo application for a few minutes. Even after I restarted the server, it kept going like that. Only after a few minutes (between 7-12 minutes) it will return to normal again and usually will keep being normal throughout the day. But these couple of days, it started to happen more and more often. 

Is this normal and does anyone have a way to fix this? My users workload is quite big and we can't be having this interruption.

Thanks for reading and for the help.  

3
아바타
취소
Hilar Andikkadavath

Are you getting any error logs while happening the issue?

Nathan
작성자

No, no error log whatsoever. After restarting the service, everything is fine. Well, until it turned like that again that is.

zhanghao章浩

Odoo 13.0 (Community Edition)
commit 1e8ea4f5628878dbc667c27d4e76ab42d3f140ea

We have this problem too! with firefox and chrome 。




Monica Sena

Hi anyone found solution for odoo13. I have tried the all the above but it is not working

Top Tier Solutions Sdn Bhd

From what I gather, there are few causes for the connection lost, besides dwelling into conf file or network , it might be caused by other areas. Check odoo database, it might be the root cause.

Bernardo

hey @Nathan, can you describe what are your working specs? I've a Google compute engine instance with 1 vCPU and 1.75GB of memory and I keep getting this error. I cannot add more workers because my installation is a bitnami installation which is WSGI [based](https://community.bitnami.com/t/odoo-worker-and-longpolling-problem/65656/13?u=bermick) and cannot add workers

Thanks!

Thuy Truc

@Nathan did you solved this issue? I'm facing the same and stuck there for weeks.

I do not have enough karma to post comment, so I have to write my question as an answer!

Harri Matero

Same issue here Odoo 13e

When i'll create first product (inventory) in empty db i'll start receive this "connection lost" errors.

Delete product and errors disapeard.

This issue is tested more than 1 db's.


a7med.nor@gmail.com

can any one solve this issue ?

Niyas Raphy (Walnut Software Solutions)

https://www.youtube.com/watch?v=Q1c5XpG85OE

아바타
Muhammad Abdelhamed
베스트 답변

I've faced the issue while uploading photos and solved it by adding the following line under HTTP in nginx.conf 

client_max_body_size 5M;
2
아바타
취소
Andres Camilo Briñez Nuñez

This is the solution to load images and documentation in the modules: Inventory, Elearning etc. Thank you

amelsalah27@gmail.com

Thank you for this solution !

아바타
christian muland
베스트 답변

Enabling Multiprocessing

By default, Odoo is working in multithreading mode. For production deployments, it is recommended to change to the multiprocessing server as it increases stability, and make better usage of the system resources.

To enable multiprocessing you need to edit the Odoo configuration and set a non-zero number of worker processes. The number of workers is calculated based on the number of CPU cores in the system and the available RAM memory.

According to the official Odoo documentation to calculate the workers’ number and required RAM memory size, you can use the following formulas and assumptions:

Worker number calculation

Theoretical maximal number of worker = (system_cpus * 2) + 1

1 worker can serve ~= 6 concurrent users

Cron workers also require CPU

RAM memory size calculation

We will consider that 20% of all requests are heavy requests, and 80% are lighter ones. Heavy requests are using around 1 GB of RAM while the lighter ones are using around 150 MB of RAM

Needed RAM = number_of_workers * ( (light_worker_ratio * light_worker_ram_estimation) + (heavy_worker_ratio * heavy_worker_ram_estimation) )

If you do not know how many CPUs you have on your system, use the following grep command:

grep -c ^processor /proc/cpuinfo

Let’s say you have a system with 4 CPU cores, 8 GB of RAM memory, and 30 concurrent Odoo users.

30 users / 6 = **5** (5 is theoretical number of workers needed )

(4 * 2) + 1 = **9** ( 9 is the theoretical maximum number of workers)

Based on the calculation above, you can use 5 workers + 1 worker for the cron worker that is a total of 6 workers.

Calculate the RAM memory consumption based on the number of workers:

RAM = 6 * ((0.8*150) + (0.2*1024)) ~= 2 GB of RAM

The calculation shows that the Odoo installation will need around 2GB of RAM.

To switch to multiprocessing mode, open the configuration file and append the calculated values:

etc/odoo.conf or etc/odoo-server.conf then add

limit_memory_hard = 2684354560

limit_memory_soft = 2147483648

limit_request = 8192

limit_time_cpu = 600

limit_time_real = 1200

max_cron_threads = 1

workers = 5

sudo /etc/init.d/odoo-server restart

5
아바타
취소
Anthony Nelson

Thank you! Workers = 2 worked for me!

Vaibhav Tyagi

Hello Sir, I have just installed odoo 12 and i followed the steps mentioned above but I'm still receiving the same pop up. And i just have 1 user in my database yet I'm receiving the same popup. I would really appreciate if you could help me outcould you help me out

Beshoy Nabeih

@christian could you please explain the difference between limit_memory_hard,limit_memory_soft and theory behind calculation them.

thank you ....

아바타
Edouard Garnir
베스트 답변

Try this :    in the Odoo config, I changed only two parameters .. 

proxy_mode = True

workers = 3

This solved it for me .. 

Ed,


​

4
아바타
취소
tahirhan

thanks, it worked for me. In my case proxy_mode was True but workers variable was equal to 0 .

CARLOS ALBERTO GARCIA BRIZUELA

For me works too and error is gone in Odoo 13:

proxy_mode = True

workers = 2

Thanks!

아바타
Pete Charalampopoulos
베스트 답변

I have 28 workers on odoo 15 

48GB RAM, 16Core

all config done based on documentation and i keep getting disconnection errors

im a bit lost with this issue



- My fix was to disable redis.

1
아바타
취소
아바타
Kiware.co
베스트 답변

You probably no longer need this relationship but for anyone who needs it at this precise moment here it is:

Fisrt Step

proxy_mode = True
limit_memory_hard = # Calculate it method in official documentation
limit_memory_soft = # Calculate it method in official documentation
limit_request = 8192
limit_time_cpu = 600
limit_time_real = 1200
max_cron_threads = 2
workers = 2
Second Step


If you are using reverse proxy, check if your server is generating an HTTP 413 error (occurs when the request is larger than the server allows). Here's how you can fix it, depending on your web server:

  • Apache: Set the LimitRequestBody directive in either your httpd.conf file or a local .htaccess file. (https://stackoverflow.com/a/3719358/1688568)

  • Nginx: Set the client_max_body_size directive in nginx.conf (http://www.cyberciti.biz/faq/linux-unix-bsd-nginx-413-request-entity-too-large/)

  • IIS: Set the uploadreadaheadsize config setting (https://web.archive.org/web/20160204040121/http://blogs.msdn.com:80/b/jiruss/archive/2007/04/13/http-413-request-entity-too-large-can-t-upload-large-files-using-iis6.aspx)

1
아바타
취소
아바타
Niyas Raphy (Walnut Software Solutions)
베스트 답변

Hi,

You can check out this video explaining the same problem with steps to solve it:  https://www.youtube.com/watch?v=Q1c5XpG85OE


Nginx: https://www.youtube.com/watch?v=-hVYQd7A7PQ&t=138s

Odoo Worker:  https://www.youtube.com/watch?v=dQtIKmNdVgA&t=73s


Thanks

0
아바타
취소
아바타
Abdulmomen Kadhim Khlaif
베스트 답변

For me, the problem is solved by increasing the number of workers (were 0 and changed to 2), and changed the nginx configuration to have:

client_max_body_size 30M;
0
아바타
취소
아바타
Andreas
베스트 답변

Same here. I've just set up a new Odoo 13 (CE) server on Ubuntu 18.04 and Nginx as https proxy.

0
아바타
취소
Andreas

I followed the tips on https://www.odoo.com/de_DE/forum/hilfe-1/question/odoo-11-longpolling-502-bad-gateway-error-128242 which helped in my case.

토론이 재미있으신가요? 직접 참여해보세요!

지금 바로 가입하여 독점 서비스를 이용해보고 특별한 커뮤니티와 소통하세요!

가입
관련 게시물 답글 화면 활동
What would cause Odoo to crash and is there a way to automatically restart the service ? 해결 완료
service server
아바타
아바타
아바타
아바타
아바타
10
4월 21
18742
Openerp ver 7 service could not start give error "Peer authentication failed for user "root"
service server
아바타
아바타
1
3월 15
10144
Service Odoo 10 - Server odoo don't start properly
service server odoo
아바타
3
12월 18
5445
Opererp server crashing serveral time per day, Is there any way to start two openerp debian package in one Ubuntu server
service server ubuntu
아바타
0
3월 15
4939
HostNoc as My Go-To Server Provider – Sharing My Experience
server
아바타
0
6월 25
2
커뮤니티
  • 튜토리얼
  • 문서
  • 포럼
오픈 소스
  • 다운로드
  • Github
  • Runbot
  • 번역
서비스
  • Odoo.sh 호스팅
  • 고객 지원
  • 업그레이드
  • 맞춤 개발
  • 학습
  • 회계사 검색
  • 파트너 검색
  • 파트너 등록
회사 소개
  • 회사 소개
  • 브랜드 자산
  • 상담 문의
  • 인재 채용
  • 행사
  • 팟캐스트
  • 블로그
  • 고객 사례
  • 법적고지 • 개인정보
  • 보안
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo는 CRM, 이커머스, 회계, 재고, POS, 프로젝트 관리 등 기업의 모든 요구 사항을 충족하도록 설계된 오픈 소스 기반의 통합 비즈니스 앱 제품군입니다.

Odoo의 간편한 UI와 완벽하게 통합된 기능을 직접 확인해 보세요.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now