콘텐츠로 건너뛰기
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
게시판 정보
도움말

XmlHttpRequestError in web-client when connecting via IP

구독

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

신고된 질문입니다
windowsv7
7 답글
32238 화면
아바타
Laurens

Foreword (Read for background info)

So first off, I am running my OpenERP server on a Windows Server 2003 machine. This Windows Server 2003 is a virtual machine hosted on the network. I can work on the web-client smoothly when connected remotely to the IP adress of the virtual machine, when working this way I never face any issues.

I can also access the web-client from my local machine when I'm either connected to the network, or connected by VPN, and enter the IP address + port in my webbrowser. Initially everything seemed to be working properly, but then I kept facing the same error-prompt.

A big white window reading: "XmlHttpRequestError". I noticed I sometimes encountered this error message in a certain menu, and another moment I wouldn't face that error in the same menu. After some extensive web-searching and testing I was able to deduce this is related to a proxy read time-out. Namely if the server, or web-client, takes too much time to process information/data - it will throw up this error-message instead.

Question

Solution to my problem: increase the proxy_read_timeout from the default 60 seconds to a higher value. It is well documented how to do this for Openerp 6.1, and linux Openerp 7 distro's; but I can't find any information whatsoever on how to do this in a windows environment.

I found out I need to add configuration line “proxy_read_timeout 300;” somewhere after the first string “location” in “/etc/nginx/sites-available/openerp” file.

Problem being I have no such location/ file under my OS. If anyone could explain me in which windows file I could make the necessary changes, I would very much appreciate that gesture. So far I've tried editting the openerp-server.conf and postgresql.conf file but my changes brought no change.

5
아바타
취소
Tomás Pascual

Hi Sir, In my case, disable antivirus avast was the problem. Configure a exception...

아바타
Med Said BARA
베스트 답변

Hi;

Just some ideas :

1_ Did you setup a Domain under windows 2003 server or not: If so, review your network configuration for each machine in the network (especially the default Gateway, DNS1,and DNS2)

2_ In your openerp-server.conf: Increase the following values: limit_time_cpu, limit_time_real.

3_ Postgres Optimization and Tuning:

  https://lists.launchpad.net/openerp-community/msg00762.html

  http://www.varlena.com/GeneralBits/Tidbits/annotated_conf_e.html

  http://linuxfinances.info/info/quickstart.html

  http://wiki.postgresql.org/wiki/Performance_Optimization

  http://www.varlena.com/GeneralBits/Tidbits/perf.html

Hardware resources for Host & Guest systems, The VM, Postgres, and physical network : Tips and Tricks

The hardware characteristics of your Host Machine, impact surely and deeply on the performance of your OpenERP server. (Refer to windows and VM systems requirements) Adjust the hardware resources to meet the minimum requirements (More will be better).

1_ Take care of the Host and guest Systems Requirements of the VM, for OpenERP and for Postgres.

2_ Don't install unnecessary components for your host and guest systems (e.g active directory ...)

3_ Avoid running unused and unnecessary services on your host and guest systems

4_ Avoid running the "Server application" and the "Database Engine" on the same machine.

5_ Run OpenERP on Linux (if possible)

6_ Remember that for Wifi connections: protections as WPA WEP ... Induce an overload ...

7_ Also for wired network: Access Filtering ( by IP or By MAC ...) induce an overload ...

All the above, taken partially or globally, can lead to "Time Out" issues.

The above is far to be an exhaustive list of recommendations !

You can find better and more on the Web.

It's just a contribution, cause we are all facing (from time to time) the same "Performances" issues.

Best regards.

4
아바타
취소
아바타
John
베스트 답변

Hello,

I've read your messages...I don't know how you work but have you already try to see paramerters of your server into the ".conf"? maybe it jump because one of your limit is passed out or something else?

I'am intersting by the solution.

hope it helps

1
아바타
취소
Laurens
작성자

@John: This is very much possible. A lot of the settings in my postgresql.conf file are unchecked when I look at it through Pgadmin's interface. I'm not sure which setting corresponds with what I'm trying to accomplish: increase the amount of time a page is permitted to load before a time-out. That is what I assume is causing the issue.

If you have some time, I'd appreciate it if you could take a look through my settings and let me know if you see anything odd. Respond whenever is convenient for you. No rush.

Part 1: http://i.imgur.com/URSkguk.png Part 2: http://i.imgur.com/qcbdm3E.png

John

Hello, I 've just ended to compare your files and mine, it's seems there arn't differences between both...But I am on ubuntu v12 ...your error is maybe due to an other problem. Or maybe other configurations settings...let's try to take a look of your .conf open erp server there are time settings there too...An other solution ll be to intall into an other vm and see if the problem reappears.

Laurens
작성자

I am running on Windows server 2003, which is why it is more difficult to find a solution to this issue. Documentation for OpenERP under windows is very sparse. Still, apart from this ocassional error it is running very smoothly for this small buisness, and I'm not inclined to switch to Ubuntu just because of this. (Although I know there are FAR more benefits. For sure.)

Thank you for taking the time to compare our configuration files. I have updated my answer above to include my openerp-server.conf parameters.

Thank you for taking an interest in my case.

John

Pratically the sames....actually the same except port and ip...but I maybe have an idea...I think the problem doesn't come from the openn erp or postgres time out but the transmission of the ip paquet maybe you should increase the size of the paquet/time or something like this...

아바타
Alejandro
베스트 답변

Something about this ?

I have the V7 on a dedicated server and a lot of times I'm getting the XmlHttpRequestError. I need to refresh the screen severeal times to get a good request.

1
아바타
취소
아바타
Laurens
작성자 베스트 답변

No, I haven't found the solution yet; but I've been continueing developpment remotely on the virutal machine. I have tried a couple of things, but none have seemed to fix it.

I have noticed that on some faster computers in the network the "XmlHttpRequestError" doesn't or barely shows up. On the older machines, and those using up more CPU %, the error is more frequent. I'm pretty sure it's related due to a timeout, and that the page fails to load when the processing is taking too long.

I really wish I could find the right setting to increase the proxy_read_time, but none of the articles and documentation I have come across describe how to alter this setting for OpenERP 7 under a Windows OS.

0
아바타
취소
아바타
Laurens
작성자 베스트 답변

I still have the same problem, though it is work-able. While working with cable connection, this error barely ever show up - only sometimes when loading large lists. When connected wirelessly, this will pop up a bit more often. I'm quite sure it's related to the time the page needs to load.

@John:

I'll paste the settings of my openerp-server.conf file here. I do not have enough space in a comment to list them there.

[options]

without_demo = False

unaccent = False

db_template = template1

db_password = xxxx

xmlrpcs = True

xmlrpcs_interface =

syslog = False

logrotate = True

xmlrpcs_port = 8071

test_report_directory = False

list_db = True

timezone = False

xmlrpc_interface =

test_file = False

smtp_password = False

secure_pkey_file = server.pkey

xmlrpc_port = 8069

workers = 0

log_level = info

xmlrpc = True

admin_passwd = xxxxx

smtp_port = 25

smtp_server = localhost

static_http_url_prefix = None

limit_request = 8192

test_commit = False

proxy_mode = False

demo = {}

dbfilter = .*

login_message = False

import_partial =

pidfile = None

db_maxconn = 64

osv_memory_count_limit = False

reportgz = False

osv_memory_age_limit = 1.0

netrpc_port = 8070

db_port =5432

db_name = False

debug_mode = False

netrpc = False

limit_time_real = 120

limit_memory_hard = 805306368

logfile = C:\Program Files\OpenERP 7\Server\server\openerp-server.log

csv_internal_sep = ,

limit_time_cpu = 60

pg_path =C:\Program Files\OpenERP 7\PostgreSQL\bin

limit_memory_soft = 671088640

static_http_enable = False

translate_modules = ['all']

smtp_ssl = False

server_wide_modules = None

netrpc_interface =

smtp_user = False

log_handler = [':INFO']

db_user =openpg

db_host =192.168.100.3

test_enable = False

max_cron_threads = 2

static_http_document_root = None

email_from = False

addons_path = C:\Program Files\OpenERP 7\Server\server\openerp\addons

secure_cert_file = server.cert

0
아바타
취소
아바타
MAK AUVIA
베스트 답변

I am running OpenERP v8 over mod_wsgi apache2.4 Ubuntu 14.04 and i had same problem.

The problem solved when i changed the KeepAliveTimeout in apache setting file /etc/apache/apache.conf

Change "KeepAliveTimeout 5" to "KeepAliveTimeout 10"

0
아바타
취소
아바타
Rebel
베스트 답변

I have the same problem under Windows 7, have you found the solution?

0
아바타
취소
Laurens
작성자

No, I haven't found the solution yet; but I've been continueing development remotely on the virutal machine. I have tried a couple of things, but none have seemed to fix it.

I have noticed that on some faster computers in the network the "XmlHttpRequestError" doesn't or barely shows up. On the older machines, and those using up more CPU %, the error is more frequent. I'm pretty sure it's related due to a timeout, and that the page fails to load when the processing is taking too long.

I really wish I could find the right setting to increase the proxy_read_time for OpenERP 7 under Windows

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

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

가입
관련 게시물 답글 화면 활동
How is the All-in-one Windows installer built from source?
windows v7
아바타
아바타
1
3월 15
6536
don't see all the modules in addons only the web modules in v7 windows
windows v7
아바타
아바타
1
3월 15
5373
PostgreSQL is not running after installing OpenERP 7 All-in-One on Windows 해결 완료
windows install v7
아바타
아바타
아바타
아바타
아바타
6
12월 23
31185
How to Install from source in windows? 해결 완료
windows install v7
아바타
아바타
1
1월 24
14718
How to update with OpenERP nightly builds under Windows 7?
windows v7 update
아바타
아바타
아바타
아바타
3
3월 15
12528
커뮤니티
  • 튜토리얼
  • 문서
  • 포럼
오픈 소스
  • 다운로드
  • 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